Generate PDF documents from HTML or templates
Fast, scalable, and reliable PDF and image generation for developers and businesses.
- HTML to PDF API
- Templates for invoices & more
- Image/Screenshot API
- No code Zapier integration
- Write to PDF API
- Privacy focused

Convert HTML to PDF
Generate high quality PDF documents using your own HTML. Simply provide a URL or HTML and let us do the work. Supports custom fonts and JavaScript.
# Generate a PDF document from HTML
{
"source": "HTML or URL here...",
"format": "A4",
"name": "Daily Report"
}
Build faster with templates
Ready to go templates for invoices, packing slips, shipping labels and more. Post JSON and get a PDF document back. No document design to worry about!

Send via email
Emailing your PDF document at the time of creation is trivial. Supply an email address in your API request and we will send the generated PDF as an attachment.
# Generate and email PDF document
{
"source": "https://my-site.com/invoice.html",
"email": {
"to": "accounts@my-customer.com",
"subject": "July Invoice"
}
}
Automate with no code
Save time and streamline your workflow by eliminating manual processes. Docamatic's integration with Zapier allows you to auto generate PDFs without writing any code!
