DocRaptor
An API for converting HTML, CSS, and JavaScript into high-quality PDF and Excel documents.
Uptime
99.99%
Experience
Over 15 Years
Client Libraries
7+
About DocRaptor
DocRaptor provides a robust, hosted API for generating PDF and Excel documents from web content. It supports multiple rendering engines, including Prince, WeasyPrint, and wkhtmltopdf, to ensure broad compatibility with modern CSS and JavaScript standards. The service is designed for high-volume, mission-critical applications with features like synchronous and asynchronous document creation, detailed error logging, and official client libraries for popular languages (Ruby, Python, PHP, Node.js, Java, C#). DocRaptor is SOC 2, GDPR, and HIPAA compliant, making it suitable for enterprises in regulated industries. Common use cases include generating financial statements, invoices, shipping labels, real estate reports, and marketing materials.
Output Formats & Rendering
File Types
PDF, PDF/A, XLS, XLSX
Pdf Rendering Engines
Prince, WeasyPrint, wkhtmltopdf
Excel Rendering Engine
LibreOffice
Pdf Profiles
PDF/A-1b, PDF/X-1a
Developer Features
Document Creation
Synchronous & Asynchronous Modes
Client Libraries
Ruby, Python, PHP, Node.js, Java, C#, Go
Sandbox
Free watermarked test documents via 'test' parameter
Hosting
Host CSS/JS assets with DocRaptor for easy access
Security & Compliance
Soc 2
SOC 2 Type II compliant
Gdpr
Fully GDPR compliant
Hipaa
HIPAA compliant accounts available on request
Data Retention
Configurable data retention policies