HTML to PDF Service

Do you need near-perfect and beautiful rendering of your HTML to a PDF file?

Do you need to do it from your own site, integrated into your application?

Create PDFs by writing HTML.

How it looks in your web browser is how it will look in the PDF. JavaScript is even supported, including graphing with D3.js.

Give it a try: convert an URL!

Want to see how the output looks before you get your own subscriber key? Try it out by converting a publicly-accessible HTML document.
Demo conversion is limited to 3 conversions per day per IP. Registered users have unlimited use of this tool.

How does it work?

You POST your HTML to the service, and it responds with a PDF within a few seconds. It's that simple!

PHP Example:
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, '');
curl_setopt($ch, CURLOPT_POST, 1);
// Tip: Be sure to use absolute URLs
// for images, css, and javascript resources.
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_HEADER, 0);
$pdfDocument = curl_exec($ch);
// Save or display the PDF in your application or site.

Registered users also have unlimited use of the link converter at the left.

Sign Up

Use it to generate invoices, reports, downloadable resources, anything where a PDF is useful!

Copyright © 2014 Strategic Code LLC.