PDF Generator API
api-2026-hero-still

Best PDF Generation APIs in 2026

Last updated: 28 September 2026. Prices verified on vendor pricing pages on 28 September 2026, monthly billing, in the currency each vendor publishes.

Almost every PDF generation API can turn a template and some JSON into a PDF. The differences show up later: who edits the templates once the developer moves on, what the bill looks like at ten or a hundred times the volume, how the API behaves when a batch job fires two hundred requests at once, and whether it can run somewhere other than the vendor’s cloud.

This comparison covers ten hosted and self hosted PDF generation APIs, plus four tools that appear in the same searches but solve a different problem. Every tool was measured against the same six criteria, fixed before any vendor was tested, and our own product is held to the same standard as the others.

Short answer: which PDF generation API should you use?

For cheap HTML to PDF conversion, use PDFShift. For print grade layout, use DocRaptor. For the lowest template API price, use Typsetter or PDFMonkey. For filling existing PDF forms, use DocSpring. For Word templates, use Carbone. If your own customers must edit templates inside your product, or you need on premises hosting, use PDF Generator API.

Comparison at a glance

APIBest forFree way inFrom, per monthTemplate editorHosting
PDF Generator APIEmbedding a template editor for your own customers14 day trial€8Visual, embeddable for end usersCloud, dedicated, on premises
TypsetterLow cost, high volume PDFs from code100 PDFs a month, watermarked$29Visual, for your teamCloud (EU)
PDF-API.ioSmall volumes from Zapier100 PDFs a month$18Visual, for your teamCloud
CarboneTemplates written in Word or LibreOffice100 documents a month€29Word templates, embeddable studio on higher plansCloud (EU), private cloud, self hosted
PDFMonkeySmall teams on a tight budget20 documents a month€5Visual, for your teamCloud (EU)
APITemplate.ioRegional hosting and no code tools50 documents a month$24Visual, for your teamCloud, four regions
DocSpringFilling existing PDF forms14 day trial$49Visual, embeddableCloud (US, EU), on premises on request
DocRaptorPrint grade HTML and CSS rendering5 documents a month$15NoneCloud
PDFShiftSimple HTML to PDF at scale50 credits a month$24NoneCloud (EU)
GotenbergSelf hosting with no licence costFree, open sourceYour infrastructureNoneSelf hosted Docker

How these APIs were compared

Six criteria were fixed before testing started, so the result could not be tuned afterwards: generation speed, pricing model, template editor, SDKs and integrations, deployment options, and rate limits. Prices come from each vendor’s public pricing page. Features come from vendor documentation. Where a figure is not published, the table says so instead of estimating it. There is no overall score, because a weighted total always ends up reflecting the author’s weights. You get the facts per criterion and a clear “best for” line per tool.

The template editor is rated on a simple scale: code only, a developer editor with preview, a visual editor for your own team, or a visual editor you can embed for your own customers. That last level matters more than it sounds, because it decides whether template changes keep landing on your developers.

The data behind this comparison

Most “best PDF API” roundups rank tools with no usage data behind them. The figures below are first party numbers from PDF Generator API’s own product analytics, not vendor estimates.

  • 9,400+ developers have shipped a live API integration on the platform.
  • 46 percent of all those integrations went live in the last 12 months, so developer adoption is accelerating, not flat.
  • The platform has been generating documents in production since 2012.

Methodology: figures from PDF Generator API product analytics, covering activity through September 2026. “Live API integration” counts unique developers making their first API call.

1. PDF Generator API

PDF Generator API is a hosted document generation platform with a drag and drop template editor that you can embed, white labelled, inside your own application. You design a template once, merge JSON into it through the REST API, and get back a PDF. The same platform handles web forms, e signatures, accessible PDF/UA output and EN 16931, XRechnung and Factur-X e invoices.

Strengths

  • Embeddable editor. Your own customers can create and change their templates inside your product, so template requests stop reaching your developers. Available from the Basic plan.
  • Deployment choice. Shared cloud in four regions (US, UK, EU, Australia), a dedicated deployment, or a full on premises installation.
  • Certifications. ISO 27001:2022 certified, HIPAA and GDPR compliant, which shortens enterprise security reviews.
  • Eight official SDKs (PHP, JavaScript, Java, Ruby, Rust, Python, Go, C#), plus Zapier, Make, n8n and an MCP server for AI agents.

Limitations

  • The embeddable editor is not on the entry plans. Plans start at €8 a month for 50 documents, but embedding the editor needs the Basic plan, €88 a month for 5,000 documents. At 1,000 documents a month we cost €52, more than PDFMonkey, Typsetter or APITemplate.io.
  • No permanent free plan, only a 14 day trial and a sandbox.
  • Credits are counted per block of five pages, so long documents use more than one credit. Dedicated and on premises prices are not published.

Rate limits: 30 to 240 requests per minute depending on plan. Price: €8 a month for 50 credits, €26 for 250, €52 for 1,000, €177 for 15,000, €621 for 250,000; about 17 percent less on annual billing.

Best for: SaaS platforms whose customers need their own templates, and regulated or enterprise teams that need dedicated or on premises hosting.

2. Typsetter

Typsetter is a young hosted API built on Typst, a modern typesetting engine, rather than on a headless browser. Templates are designed in a drag and drop editor or written in Typst code, filled from JSON, and returned as PDF. It is hosted in Germany.

Strengths

  • Low price at every volume. $29 a month for 3,000 PDFs, $99 for 15,000, $499 for 200,000.
  • Published rate limits per plan, from 10 requests a minute on the free plan to 300 on Scale.
  • CSV batch generation, scheduled jobs and webhooks are included.

Limitations

  • Typst is a niche template language, so fewer developers know it than HTML and CSS.
  • Only a Node.js SDK today; Python, PHP and Go are announced.
  • No security certifications and no embeddable editor. Cloud only.

Best for: developers who want cheap, fast, high volume PDFs and are happy to learn Typst.

3. PDF-API.io

PDF-API.io is a small Swiss service with a visual drag and drop editor and an HTML editor, aimed at freelancers, small businesses and Zapier users.

Strengths

  • Cheap entry point. A free plan with 100 PDFs a month, and $18 a month for 2,000.
  • Both a visual editor and an HTML editor, plus QR codes, barcodes and form fields. You can upload your own PDF as a background on the Pro plan.

Limitations

  • Hard ceiling. The largest plan tops out at 10,000 PDFs a month for $114, and generation simply stops when you reach your limit.
  • No SDKs, Zapier is the only integration, and requests are synchronous only, capped at 60 per minute.

Best for: small businesses generating a few thousand documents a month from Zapier.

4. Carbone

Carbone merges JSON into templates you write in Word, LibreOffice, Excel, PowerPoint or HTML, and can output PDF or the original Office formats. It runs as a French hosted cloud API, in a private AWS cloud, or on your own servers, with an open source core.

Strengths

  • Office in, Office out. The widest choice of template and output formats in this list.
  • Cheap to self host. A free community edition, or an enterprise licence from €1,500 a year.
  • Seven official SDKs, Zapier, Make and n8n, and an MCP server.

Limitations

  • Templates are designed in Word with Carbone tags, so non developers still need to learn the tag syntax. The embeddable Studio is a preview and data binding tool, not a drag and drop designer, and starts at €159 a month.
  • Usage is metered per megabyte of data, so documents with large images can count several times.
  • No certification of its own yet; SOC 2 is expected by the end of 2026.

Price: €29 a month for 1,000 documents, €95 for 5,000, €295 for 100,000. Best for: teams whose templates already live in Word or Excel. We compare it in more depth in Carbone alternatives.

5. PDFMonkey

PDFMonkey is an EU hosted service that generates PDFs from HTML and Liquid templates or from a visual builder.

Strengths

  • Lowest entry price here. €5 a month for 300 documents, €15 for 3,000, with top up packs of 1,000 documents for €5.
  • Hosted in Paris, with Zapier, Make, n8n and Workato connectors.

Limitations

  • States openly that it holds no SOC 2 or ISO 27001 certification.
  • No embeddable editor, cloud only, and generation timeouts are as short as 30 seconds on the cheaper plans.

Best for: small teams and no code builders who want an editor for very little money. Full comparison: PDFMonkey vs PDF Generator API.

6. APITemplate.io

APITemplate.io generates PDFs and images from a visual editor or HTML templates, with endpoints in Frankfurt, US East, Singapore and Australia.

Strengths

  • Regional data residency, including the EU, and a completed SOC 2 Type II audit.
  • Good value in the middle: $89 a month for 12,000 PDFs. Six official SDKs and the main no code platforms.

Limitations

  • No embeddable editor and no on premises option.
  • Payloads are capped at 4 MB and 100 seconds, and there is no published price above 25,000 documents a month.

Best for: teams that need PDFs and images, regional hosting and no code tools at up to about 25,000 documents a month. Full comparison: APITemplate.io vs PDF Generator API.

7. DocSpring

DocSpring fills existing PDF forms and generates PDFs from HTML templates. It also offers an embeddable form and an embeddable template editor.

Strengths

  • Best at existing forms. Upload a government or insurance PDF, and its fields are detected for you.
  • Embeddable editor, SOC 2 Type II, HIPAA with a BAA, and an EU region. Nine official SDKs.

Limitations

  • Expensive per document. $99 a month for 1,000, then $0.05 to $0.25 per extra PDF depending on plan.
  • Rate limits and timeouts are not documented.

Best for: insurance, health and fintech teams filling forms they did not design. Full comparison: DocSpring vs PDF Generator API.

8. DocRaptor

DocRaptor converts HTML, CSS and JavaScript into PDF and Excel files using the Prince engine, known for accurate print layout.

Strengths

  • Print grade CSS. Paged media, footnotes, tables of contents and precise page breaks.
  • SOC 2 Type II and HIPAA on all paid plans, with clearly documented limits.

Limitations

  • Costly at volume. $75 a month for 1,250 documents, about $1,250 for 50,000.
  • No template management of any kind; developers own every layout.

Best for: developers producing long, complex documents that must print perfectly. Full comparison: DocRaptor vs PDF Generator API.

9. PDFShift

PDFShift converts HTML or a URL into PDF or images using Chromium. It is hosted in France.

Strengths

  • Simple and cheap. $24 a month for 2,500 conversions, $39 for 5,000, $149 for 50,000.
  • High throughput: 250 conversions a minute and 50 in parallel. HIPAA with a BAA, and an MCP server.

Limitations

  • No templates and no editor. You build and maintain the HTML yourself.
  • One credit covers up to 5 MB of output, so large files cost more than one credit.

Best for: developers converting their own HTML at scale. Full comparison: PDFShift vs PDF Generator API.

10. Gotenberg

Gotenberg is an open source Docker container that converts HTML, URLs, Markdown and Office files to PDF using Chromium and LibreOffice.

Strengths

  • Free and fully under your control. Documents never leave your infrastructure.
  • Very widely used, with more than 88 million Docker pulls, and handles Office files as well as HTML.

Limitations

  • No templating, no data merge and no editor.
  • Scaling, security patches and uptime are your job, with no vendor support.

Best for: engineering teams that want a self hosted conversion engine and will build the template layer themselves.

You will also see these, but they solve a different problem

Four names come up in the same searches. They are good at what they do, but they are not hosted PDF generation APIs, so putting them in the table above would compare unlike things.

  • Docxtemplater is a JavaScript library that fills Word, PowerPoint and Excel templates. It does not produce PDF itself, so you add LibreOffice or a conversion service. The core is open source; paid modules cost €500 to €9,000 a year with unlimited documents. Choose it if you want Office output inside your own Node stack.
  • Apportunix Document Creator is a report and layout designer for Microsoft Dynamics 365 Business Central, from €43 a month per environment regardless of volume. Choose it if all your documents come out of Business Central.
  • Compart DocBridge is an enterprise customer communication suite for high volume print and digital correspondence, with AFP, PCL and PDF/UA output and on premises or Kubernetes deployment. Pricing and trials go through sales. Choose it if you are an insurer, bank or utility replacing a legacy print platform.
  • Nutrient, formerly PSPDFKit, is a full PDF SDK for viewing, annotating and editing inside your application, priced on request. Choose it when users need to work inside the PDF, not just receive it.

What 100 to 50,000 documents a month cost

Headline prices are hard to compare because every vendor counts differently. Here is the cheapest published way to cover each volume, on monthly billing, including published overage rates. The four volumes are common plan sizes across this market, from a side project to high volume production. Documents are assumed to be five pages or fewer and under 1 MB.

API100 a month1,000 a month5,000 a month50,000 a monthHow usage is counted
PDF Generator API€26€52€88€355Per block of 5 pages
TypsetterFree (watermarked)$29$49$299Per PDF
PDF-API.ioFree$18$54Not offeredPer PDF, hard cap
CarboneFree€29€95€219Per 1 MB of data
PDFMonkey€5€11€29€300Per document
APITemplate.io$24$24$89QuotePer PDF
DocSpring$61.50$99$249About $2,500 or quotePer PDF
DocRaptor$15$75$149About $1,250 or quotePer document
PDFShift$24$24$39$149Per 5 MB of output
Gotenberg$0 plus infrastructure$0 plus infrastructure$0 plus infrastructure$0 plus infrastructureSelf hosted

The cheapest conversion APIs cost a fraction of the template platforms at every volume. That gap is real, and it is also incomplete: a conversion API still needs someone to build and maintain every template in HTML. For most teams that engineering time is the largest line in the real total, which is the trade we looked at in our build versus buy analysis.

How to choose

  • Your developers own the templates and always will. PDFShift for cost, DocRaptor for complex print layout, Gotenberg if it must run on your servers for free.
  • Your own customers need to edit their templates. You need an embeddable editor: PDF Generator API, or DocSpring if you mostly fill existing forms.
  • Your templates already live in Word. Carbone, or Docxtemplater if you want a library rather than an API.
  • Documents must never leave your infrastructure. Gotenberg, Carbone on premises, or PDF Generator API on premises if you also want the editor.
  • You want the lowest bill for a template API. PDFMonkey below 5,000 documents, Typsetter above.
  • Your workflow lives in no code tools. APITemplate.io, PDFMonkey or PDF-API.io.
  • Everything comes out of Business Central. Apportunix.

Frequently asked questions

What is the best PDF generation API in 2026?

It depends on who edits the templates. For developer owned HTML, PDFShift is the cheapest and DocRaptor the most precise. For a low cost template API, Typsetter and PDFMonkey. If your customers must edit templates inside your product or you need on premises hosting, PDF Generator API.

Is there a free PDF generation API?

Gotenberg is free and open source but self hosted. Among hosted APIs, Typsetter and PDF-API.io give 100 free PDFs a month, Carbone 100 documents, PDFShift 50 credits, APITemplate.io 50 and PDFMonkey 20.

What are the best Carbone alternatives?

If you like Carbone’s Word templates but want a hosted visual editor, look at PDF Generator API or PDFMonkey. For a library that keeps Word templates, Docxtemplater. For the lowest price per document, Typsetter.

Which PDF API can I embed so my users edit their own templates?

PDF Generator API and DocSpring both offer an embeddable editor. Carbone offers an embeddable Studio component on its Advanced plans, but templates are still designed in Word.

Which PDF APIs can run on premises?

Gotenberg and Docxtemplater are self hosted by design. Carbone and PDF Generator API offer on premises licences, DocSpring on request, and Compart DocBridge supports on premises and Kubernetes.

Which PDF generation APIs are ISO 27001 or SOC 2 certified?

PDF Generator API is ISO 27001:2022 certified. DocRaptor, DocSpring and APITemplate.io report SOC 2 Type II audits. PDFMonkey, Typsetter and PDF-API.io publish no certification.

How much does a PDF generation API cost?

At 100 documents a month, several hosted APIs are free and paid plans run from about $5 to $60; PDF Generator API costs €26. At 1,000 documents a month, hosted APIs range from about $18 to $99. At 50,000, from about $149 for pure conversion to more than $2,000 for per document pricing. The table above shows each vendor at four volumes.

Should I build PDF generation myself?

A first endpoint on Puppeteer or Gotenberg takes a weekend. Maintaining templates, scaling and security for years is where the cost sits. Our build versus buy analysis prices both paths.

Try it on your own documents

The fairest test is your own invoice or contract. Start a 14 day trial of PDF Generator API, compare plans and pricing.

Interested in Document Automation?

Meet Michal Liska. He is our pre-sales engineer and operations manager. He is the best person to help you achieve your goals and answer any questions you might have.

Book a meeting with Michal ›

Michal Liska