HTML to PDF conversion API

Most realistic, high-quality HTML to PDF conversion API service for developers!

Google Chrome engineNo need your own serverMaintainable online serviceEasy to use


 
OPTIONS:

Browser Based PDF Engine

It's the most realistic PDF conversion solution, which supports modern HTML, CSS, and JavaScript

Raw HTML Support

Don't have an URL or don't want to expose it publicly? We support raw HTML also!

Asynchronous request

Using callback URL get conversion result asynchronously once it's done

Advanced Options

From custom page size, margins, header & footer, and more. We have a lot of parameters you can use to modify the conversion result

Just send the following HTTP request to get the PDF:

https://api.html2pdf.app/v1/generate?url=https://example.com&apiKey={your-api-key}
Choose the plan that's right for your business, or start with free 250 credits per month!
Each 5MB chunk of the generated document is equal to 1 credit, so for example, 15MB generated document will cost 3 credits.
If you need a custom pricing plan please contact us at: info@html2pdf.app
curl -X POST https://api.html2pdf.app/v1/generate \
-H 'Content-Type: application/json' \
-d '{
  "html": "http://www.example.com",
  "apiKey": "your-api-key",
  "landscape": true,
  "format": "A4"
}'