Generate PDF documents from HTML or templates

Docamatic is a simple API for generating high quality PDF documents.

  • Convert HTML to PDF
  • Templates for invoices & more
  • Zapier integration
  • Privacy focused
  • Image generation
  • Send via email

Free plan allows 50 PDF documents per month.

Invoice PDF Document

Convert HTML to PDF

Generate high quality vector PDF documents using your own HTML. Simply provide a URL or raw HTML and let us do the work. Our rendering engine supports CSS3, custom fonts and JavaScript.

See HTML to PDF demo
# Convert HTML to PDF document
{ "source": "Raw HTML or URL here...", "format": "A4", "media": "print", "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 us a message if you require a custom template.

See templates
Document Templates Screenshot

Send via Email

Emailing your PDF document or image at the time of creation is trivial. Supply an email address in your API request and we will send it as attachment.

# Send PDF document as email attachment
{ "source": "", "email": { "to": "", "subject": "July Invoice" } }

Keep track of your API requests

Monitor API usage and see the status of your webhooks from a simple dashboard.

Docamatic API Usage Dashboard


Docamatic makes the process of generating PDF documents or images from your application a breeze.

HTML to PDF Conversion

Generate high quality PDF documents. Supports CSS3, custom fonts and JavaScript. To keep things simple the HTML to PDF API only has one mandatory parameter: the URL or raw HTML to be converted.

Document Templates

Create professional PDF documents fast. Just post JSON and get a PDF document or image back. Templates for invoices, packing slips, labels, dynamic tables and more. Contact us for custom templates.

Image Generation

Generate dynamic images using our screenshot API. A versatile tool that can be used to generate document previews, ecommerce banners, social media visuals and website screenshots!

Send via Email

Send your PDF documents via email at time of creation from the same API request! View delivery status from dashboard.

QR & Barcodes

Need a QR or barcode for your PDF document? No problem. Our API can generate 20+ barcode types.

Zapier Integration

Automate and integrate document generation with your existing workflow. Docamatic connects to over 2,000 apps via Zapier.

Hike Logo


We looked for a long time for a simple but effective API to allow us to generate high quality PDF documents without having to write a large amount of clunky CSS. Docamatic is the perfect solution, it was super easy to implement, works great and the support is second to none!

Kieran Headley
Kieran Headley
Co-Founder, Hike
DropCommerce Logo


Before Docamatic, we were always having formatting issues with our custom invoices. Using their API and templates, we've been able to completely forget about invoices and focus on our core business.

Allastair Barron
Patrick Kelly
CEO, DropCommerce

Start generating PDF documents in minutes

No credit card required - free plan allows 50 PDF documents per month.

Get API Key