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

Create 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 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": "https://my-site.com/invoice.html", "email": { "to": "accounts@my-customer.com", "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

Features

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

HTML to PDF Conversion

Finally! Generate high quality vector PDF documents that look like your original HTML. Supports CSS3, custom fonts and JavaScript.

Document Templates

Post JSON and get a PDF document or image back. Templates for invoices, packing slips, labels and more. Contact us for custom templates.

Image Generation

Generate dynamic images using our screenshot API. Convert raw HTML or a URL to a PNG file.

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

Hike

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
Barron Transport Logo

Barron Transport

We generate thousands of shipping labels and hundreds of reports every month with the Docamatic API. Integration was easy and the support is great. Docamatic allowed us to remove old PDF libraries from our application and streamline our codebase.

Allastair Barron
Allastair Barron
Director, Barron Transport

Start generating PDF documents in minutes

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

Get API Key