Compare

Best HTML to PDF API in 2026, compared

Nine ways to turn HTML into a PDF, from hosted APIs to Chromium on your own server. Pick by the job you have. oJo fits when your own HTML template is filled with data from code or an AI agent.

Updated 26 October 2026

Pick by your job

Your own HTML saved as a template, filled with JSON from code or an AI agent
oJo
Data rendered and stored in the EU
oJo, PDFMonkey or PDFShift
A drag-and-drop editor for people who do not write HTML
CraftMyPDF, PDFMonkey or APITemplate.io
PDF/A, PDF/UA or print profiles
DocRaptor
A region you choose for each account
APITemplate.io or CraftMyPDF
HTML or a URL in, a PDF out, nothing saved
PDFShift or Api2Pdf
Free, on your own servers
Gotenberg, or oJo Self-Host for internal use
Headless Chrome without a server to run
Cloudflare Browser Run

At a glance

ServiceEngineYour own HTMLSaved templates with dataHosted linkOfficial MCP serverData location
oJoChromiumYesYes, HandlebarsYesYes, remote with OAuthEU
APITemplate.ioNot statedYesYes, Jinja2 and visual editorsYesNoUS, EU, Singapore or Australia
PDFShiftChromiumYesYes2 daysYes, remoteFrance
DocRaptorPrinceYesNoPaid add-onNoUS
PDFMonkeyChrome-basedNo, saved templates onlyYes, Liquid and a builder1 day to unlimitedNoEU
CraftMyPDFNot statedNo, editor templatesYes, drag-and-dropExpiring linkNoUS, EU, Singapore or Australia
Api2PdfChrome, wkhtmltopdf, LibreOfficeYesNo24 hoursYes, remoteNot stated
GotenbergChromium, LibreOfficeYesNoNo, you store the fileNoWhere you run it
Cloudflare Browser RunChromeYesNoNo, you store the fileYes, URL to PDFCloudflare’s network

The same request on oJo

Save the template once. Each render after that is one call with the data that changes, from your code or from Claude and ChatGPT over MCP. The response holds a hosted link to the PDF.

curl -X POST https://api.ojo.so/v1/pdf/template \
  -H "Authorization: Bearer <your API key>" \
  -H "Content-Type: application/json" \
  -d '{
    "templateId": "b7e0…41d9",
    "modify": {
      "invoice": { "number": "INV-2026-0142" },
      "customer": { "name": "Acme Inc." }
    }
  }'
Response
{
  "pdfUrl": "user-content.example/4f2a91c3/9c1e70b2d5a84f3e.pdf",
  "pages": 1,
  "credits": 1
}
The rendered invoice INV-2026-0142 from Initech Cloud to Acme Inc., page 1
invoice.pdf, rendered from the Invoice template.

Questions

What does one credit buy?

One PNG, or one PDF of up to 20 pages. A 7-page report is one credit. A 45-page one is three.

Does oJo make PDF/A or PDF/UA files?

Not yet. PDF/A-3 is on the e-invoice waitlist. For PDF/UA, tell us which documents need it.

Can I use oJo from Zapier, Make or n8n?

Yes, with their HTTP request step and your API key: see the n8n, Zapier and Make guides. There is no oJo app in their catalogues yet.

Can I bring a Figma or Canva design?

Export it as a PDF or an image and ask your AI agent, connected to oJo over MCP, to rebuild it as a template. Check the preview, then save it. See Template from a PDF or image.

Where is my data?

oJo renders and stores templates and files in the EU.

Can I run oJo on my own servers?

Yes, with oJo Self-Host, free for personal and internal business use under the Sustainable Use License. Selling it as a service needs hosted oJo.

Can I take my templates with me?

Yes. They are plain HTML and Handlebars, and GET /v1/template/:id returns them with your API key.

How we compared

Features were read from each vendor’s own pages on 26 October 2026 and change over time, so check the vendor’s site before you decide. Send corrections to [email protected].

Save a template. Fill it with data from anywhere.

30 free credits. No card.

Transit ADA and Title VI Report for September 2026, page 1 of 3
Certificate of completion for Ada Lovelace, Data Engineering
Product card for Portable Bluetooth Speaker
Invoice INV-2026-0142 for Acme Inc., page 1 of 1
Job posting for Senior Full Stack Developer
Invoice GS-2026-0318 for Acme Europe B.V., page 1 of 2
Product card for Electric Standing Desk
Product card for Fitness Smartwatch Pro
Best HTML to PDF API in 2026, compared - oJo