close
DocRaptor HTML TO PDF API

See what DocRaptor can do

We make the impossible easy! Below are example documents highlighting some of DocRaptor's HTML to PDF API's unique functionality, including: page-level styling and orientation, footnotes, CSS-based headers/footers, and more.

Financial Statement

As the most advanced HTML-to-PDF API and the only one backed by Prince, we make complex documents easy.

Image
Different Page Orientations
We're the only API that can vary orientations and headers.
Image
Google Charts & Highcharts
You can delay the rendering until JavaScript is finished.
Image
Advanced CSS Support
Including columns, flexbox, transforms, filters, and more.
Image
Page Numbers
Add page counts wherever you want with CSS.
Image
Password Protection
Hint: the password is "password" ;)

Registration Form

If you'd prefer to register for DocRaptor via a PDF form, this is the document for you! You can submit the form online or print and mail it in.

Image
PDF Form Conversion
Convert HTML into PDF forms with a single line of CSS
Image
Form Submission
Add submit buttons so forms can post directly to your website
Image
CSS Flexbox Support
Our flexbox support lets you easily build forms and other complex layouts
Image
Accessible PDFs
Ensure screen reader compatibility and compliance with WCAG/Section 508 by providing accessible, tagged PDFs

Printed Brochure

This example highlights the DocRaptor and Prince functionality for printed documents. In this case, a segment from a commercial real estate brochure.

Image
Image
CMYK & Automatic Conversion
The only API to support CMYK and color profiles.
Image
Crop & Cross Marks
Automatically include and place print marks.
Image
TIFF Images
Unlike browser-based engines, we support TIFF.
Image
Google Maps
Easily include Google Maps Static Images.

Invoice

This is the actual code we use for the DocRaptor invoice we send to our awesome customers.

Image
Full Bleed
Need cropmarks? Those are easy too!
Image
SVG Embed
The logo is an SVG <img> tag. <svg> works too!
Image
CSS3 Support
Here, rotations. Need shadows or rounded corners? Easy!
Image
Custom Fonts
In this case: Myriad Pro. But Google and Adobe fonts too!
Image
PDF Footer
Move any content into headers or footers, across pages!

Travel Magazine

Here we use a multi-pass, post-rendering JavaScript loop and advanced CSS to ensure a perfect layout, even with unknown, dynamic content.

Image
Image
Post-Rendering JavaScript
We optimize font sizes and left vs. right page styling by making multiple JavaScript passes.
Image
Top or Bottom Floats
Elements, like these callout sections, can be floated to the top of columns or pages.
Image
CSS Custom Properties
Use CSS variables to simplify your code and make repsonsive documents.
Image
CSS Calculations
Full support for CSS calc() functionality, including CSS custom properties.

Cookbook

This yummy recipe showcases some of DocRaptor and Prince's text and paragraph management abilities.

Image
Automatic Footnotes
Insert and position footnotes with float: footnote
Image
Widow & Orphan Control
Minimum lines before or after page and column break
Image
Text Substitution
As easy as prince-text-replace: "'" "’";
Image
Automatic Page References
Add page and chapter counts to links, like [see Page 19]

eBook

We've got many customers that use DocRaptor to generate eBooks on the fly. Here's some of the most important features for them!

Image
Image
Table of Contents
Dynamic and linked.
Image
Internal Links
Link to any place in your document.
Image
Watermarking
On some pages or on every page.
Image
Document Security
Passwords, encryption, metadata.

Ready to get started? Try DocRaptor for free with unlimited test documents.