HTML to PDF API
The API for Converting HTML to PDF Documents
With APITemplate.io, it’s easy to create PDF documents from reusable HTML templates with a side-by-side web editor.
Design beautiful PDF documents with HTML, CSS & Javascript and generate PDF with JSON data and REST API using your favorite programming language.

Design beautiful PDF documents with HTML, CSS, Javascript and JSON
A Side-by-side HTML Editor and Preview

Steps to Generate PDF Documents from an HTML Template
with A Simple REST API
With our PDF generation API, you can design an HTML template with the template editor and create dynamic PDFs via a simple REST API.
The followings are the step to generate a PDF document from an HTML template with the CURL command. To generate a new PDF, we just send a POST request.
The followings are the 4 steps:
HTML Template with Jinja2 Template Language
The dynamic data(JSON) will be passed in the {{ variable }} tag, it’s a special syntax of Jinja2 to render variables in the HTML template. You can learn more about the Jinja2 template language here
Style the layout with CSS
Prepare the JSON data
Run the CURL command
PDF Generation with Zapier, Integromat or Airtable
Besides API integration, we also integrate with No-code platforms for you to automate PDF creation. You can generate PDFs easily with Zapier, Integromat, N8n, and UiPath. Additionally, you can generate PDFs in bulk with our Airtable integration.
*Integration with other platforms can be achieved using the platform’s HTTP/HTTPS component.
Customer Reviews
See what our customers have to say
New features are regularly added, and reasonable custom requests are honoured within days.

It has been the perfect fit for us as we grow our Oxford summer school.


This is a great tool to use, both affordable, and the support service turnaround time is second to none!
Defintely worth the subscription!

It meets all our requirements and requests for changes/improvements can be discussed directly with Jacky 1:1.
Thanks and greetings from Germany

We are building a digital solution in an antiquated industry, which means we need to communicate data to our partners in the format that they are accustomed to (pdf forms).
APITempate makes it easy for us to do this!

If you are struggling with PDF's, like I was, check 'em out!

Using the template editor is a bit of a learning curve, but the support team is very responsive and helpful.

Support is also fast and responsive.
Great vendor!
