The best API for creating PDF and Excel files

Send HTML, JS, and CSS, and get back beautiful, high quality documents at scale.

Start your Free Trial
PDF Conversion API
Client logos Client logos square

Our HTML to PDF API is used by companies big and small


Unmatched Scale & Reliability

From small businesses to the Fortune 100, you can rely on DocRaptor

Uptime Guaranteed

We back our API with a 99.999% uptime guarantee. If you need reliability, DocRaptor is the service you can trust.

Any Size Document

We have no limits on document input or output size (and all documents cost the same, regardless of their size).

Infinite Throughput

Need thousands of documents per second? Our infrastructure can handle any throughput requirements.

Uniquely Powerful PDF Generation

Only DocRaptor provides an API with these advanced styling and layout capabilities

Easy Headers & Footers

Instead of adding PDF headers and footers via a separate HTML file, DocRaptor headers and footers are part of your document HTML. And easily show (or hide) different headers and footer for different pages.

CSS Flexbox

DocRaptor lets you make PDFs with advanced CSS layout tools, including flexbox. You won't need to learn new tools or radically adjust your HTML or CSS to get a nice looking PDF.

Mixed Layouts & Sizes

Unlike competitors, DocRaptor lets you control the style, sizing and layout modes of individual pages in your document. In addition to selecting pages, you can style left and right pages differently, or the first and last pages.

Fine-Tune Page Breaks

Our rendering engine was built specifically for making PDFs and we fully support CSS3 Paged Media. This allows much greater control over page breaks, especially when dealing with tables and images.

Tagged PDFs

Create more accessible PDFs by using PDF profiles PDF/A-1a, PDF/A-3a, or PDF/UA-1. Tagged PDFs optimize the reading experience for assistive technology such as screen readers.

...and more!

Add crop marks, specify PDF bookmarks, or create standards-compliant documents. DocRaptor is the PDF converter with the most advanced features and the highest quality PDFs.

Security & Privacy

Document Retention Settings

Documents can be deleted immediately upon generation and retrieval, or stored longer so our support team can assist with you debugging and styling implementation.

Encrypted at Rest

All document input and output is encrypted when not in use by the conversion processes. We care deeply about maintaining the privacy of your information.

EU Standard & Certification

With hundreds of European customers, we strongly support Privacy Shield and other EU standards.

Development & Support

Debugging Help

Making the perfect document can be tricky. Our support team is happy to help debug your style or implementation problems and our documentation is the best in the industry.

Code Examples & Libraries

Libraries and code examples are available in every major language, including C#, Java, JavaScript, jQuery, .NET, Node, PHP, Python, Rails, Ruby, and more.

Free Test Documents

Every account includes unlimited watermarked test documents for easier setup, styling, and testing.