Skip to content
API RESTful PDF Processing

PDF API for
Developers

Generate, convert, merge, split, compress, protect and extract PDFs programmatically. Simple RESTful API with powerful features.

Generate PDF from HTML
curl -X POST https://api.xspdf.com/v1/generate \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "html": "<h1>Invoice</h1><p>Total: $99</p>",
    "format": "A4",
    "margin": "1cm"
  }'

Response: 200 OK

{ "pdf_url": "https://cdn.xspdf.com/..." }

Comprehensive PDF Operations

Everything you need to build document workflows. Simple REST API, powerful features.

PDF Generation

Create PDFs from HTML, templates, or dynamic data. Support for headers, footers, page numbers, and custom styling.

Document Extraction

Extract text, images, metadata, and tables from PDF files. Parse complex documents with precision.

File Conversion

Convert PDFs to images, Office documents, or convert images and documents to PDF format seamlessly.

Security & Protection

Encrypt, decrypt, password-protect, and digitally sign PDF documents. Full compliance support.

Document Manipulation

Merge, split, rotate, crop, compress, and reorganize PDF pages programmatically at scale.

Developer-Friendly

RESTful API with comprehensive documentation, code examples in multiple languages, and webhook support.

Simple Integration

Get started in minutes with our intuitive API. Code examples available in multiple languages.

Merge Documents

Combine multiple PDFs into a single document with a single API call.

Convert Files

Convert images, Office docs, and HTML to PDF. Or PDF to other formats.

Secure Documents

Add passwords, encryption, and digital signatures to protect your PDFs.

Simple, Transparent Pricing

Start free, scale as you grow. No hidden fees.

Starter

Perfect for small projects

$29 /month
  • 1,000 API calls/month
  • All PDF operations
  • Email support
  • 99.9% uptime SLA
  • Rate limit: 10 req/min
Get Started

Professional

For growing businesses

$99 /month
  • 10,000 API calls/month
  • All PDF operations
  • Priority support
  • 99.95% uptime SLA
  • Rate limit: 50 req/min
  • Webhook notifications
Start Free Trial

Enterprise

For large-scale operations

Custom
  • Unlimited API calls
  • All PDF operations
  • Dedicated support
  • 99.99% uptime SLA
  • Custom rate limits
  • Advanced analytics
  • On-premise deployment
Contact Sales
99.9%
Uptime SLA
<500ms
Average Response Time
50+
PDF Operations

Built for Modern Workflows

Trusted by developers at startups and enterprises to power mission-critical document workflows.

📄

Invoice Generation

Automatically generate invoices, receipts, and billing documents.

📊

Report Creation

Build dynamic reports with charts, tables, and custom branding.

✍️

Contract Management

Generate, sign, and manage legal documents securely.

🎓

Certificate Generation

Create personalized certificates, badges, and credentials.

Ready to Build with xspdf?

Join thousands of developers using xspdf to power their document workflows. Get started in minutes with our comprehensive API.

Get Your API Key