PDF API for
Developers
Generate, convert, merge, split, compress, protect and extract PDFs programmatically. Simple RESTful API with powerful features.
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
- 1,000 API calls/month
- All PDF operations
- Email support
- 99.9% uptime SLA
- Rate limit: 10 req/min
Professional
For growing businesses
- 10,000 API calls/month
- All PDF operations
- Priority support
- 99.95% uptime SLA
- Rate limit: 50 req/min
- Webhook notifications
Enterprise
For large-scale operations
- Unlimited API calls
- All PDF operations
- Dedicated support
- 99.99% uptime SLA
- Custom rate limits
- Advanced analytics
- On-premise deployment
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