Skip to content

§ Document generation API

Document Generation API: Automated PDF Document Generation Software

Most document generation APIs merge a Word template with JSON. Sitepdf does the other thing: it renders the HTML your application already produces, or a live URL, in managed Chromium and returns the PDF. Below is an honest map of both approaches, what every major vendor actually publishes for pricing, and how to tell which one your team should buy.

  • Early access, launching soon
  • No card required
  • Your HTML stays yours

§ Live demo

Runs in your browser. Nothing is uploaded.

Your PDF is downloading. Want this as one API call, with the page archived too?

§ Short answer

A document generation API turns structured data into a finished document over HTTP. The category splits into two engines that share one name. Template merge services (Adobe Document Generation, Foxit, Docmosis, Carbone, Conga, Docusign Gen) take a Word or LibreOffice template plus a JSON payload and return PDF or DOCX. HTML rendering services (Sitepdf, DocRaptor, PDFMonkey, PDFShift) take HTML and CSS you control and render it in a browser engine. The rule of thumb: if a non-developer edits the document text, buy template merge. If engineering owns the document, the output is PDF only, and design fidelity matters, buy HTML rendering. Sitepdf sits in the second camp and adds the thing neither camp does by default, which is keeping every generated document as a timestamped, retrievable record rather than deleting it on a retention clock.

Last updated July 2026. Written and fact checked by the Sitepdf team.

§ 00

Document generation APIs compared, with the pricing each vendor actually publishes

Every figure below was read off the vendor pricing page on 24 July 2026. Where a vendor publishes no number we say so rather than repeating a figure from a comparison site. That matters here more than in most categories: two of the busiest threads on the Adobe developer forum are people asking what Adobe Document Generation costs, because Adobe does not print a price.

Service Engine Published pricing, read 24 July 2026 Genuinely best for
Adobe Document Generation API Word template plus JSON Free tier of 500 document transactions a month. Paid tiers are not published, contact sales only Enterprises already standardized on Word and Microsoft tooling, and procurement that wants a household-name vendor
Foxit Document Generation Word template plus JSON Free 500 credits a year. Startup $1,750 a year for 3,500 credits. Business $4,500 a year for 150,000 credits Teams that want one credit pool shared across several Foxit PDF APIs. Note the cliff: there is no mid tier
Docmosis Word or LibreOffice template merge From $49 a month at the 4,000 pages a month setting. Self-hosted Tornado sold as a perpetual license, amount not published High-volume batch merge, and regulated teams that must self-host
Carbone Merge from DOCX, XLSX, PPTX, ODT or HTML Free tier. Essential $29, Advanced $159, Advanced Ultra $595 a month. On-premise from $1,500 a year Word, Excel and PowerPoint output from one engine, and EU data residency
Conga Composer Salesforce-native template merge Nothing published. The pricing page is a lead form Salesforce revenue teams where an admin, not an engineer, owns the template
Docusign Gen for Salesforce Salesforce-native merge to Word or PDF From $20 per user a month, and it requires a Docusign eSignature plan on top Documents whose whole purpose is to be signed
DocRaptor HTML rendering (Prince engine) 5 free a month. $15 for 125, $29 for 325, $149 for 5,000, $1,000 for 40,000 Print-grade pagination on long documents, where Prince beats a browser
PDFMonkey HTML template rendered in Chrome Free 20 documents. 5 euros for 300, 15 euros for 3,000, 300 euros for 60,000 a month No-code stacks, with native Zapier, Make, n8n and Bubble steps
Sitepdf HTML rendering, your markup or a live URL Free in-browser converter. $29 a month planned at launch, API in early access Engineering-owned PDFs that have to stay auditable after they are sent

One number you will see repeated across the web and will not see here: a per-transaction price for Adobe. The widely quoted five cents per document transaction does not appear anywhere on Adobe current pricing page, so we will not print it as fact. Adobe does publish its hard limits, which are more useful anyway: 25 requests per minute on the free tier, 100 on enterprise, a 100MB file cap and a 10MB JSON cap for Document Generation.

§ 01

The one decision that actually matters: who edits the document?

Every other question in this category is downstream of one thing. Ask who changes the wording when it needs to change.

If the answer is Legal, Finance, Sales Ops, or anyone who does not open a code editor, you want template merge. Someone opens a .docx, edits clause 7.3, saves it, and the next document generated says the new thing. No ticket, no deploy, no engineer. That single property is why Conga, Docmosis and Adobe own the phrase "document generation software" and why they deserve to.

If the answer is engineering, template merge starts working against you. The template becomes a binary artifact sitting in a vendor dashboard or a Salesforce record, outside version control. Nobody can diff it, nobody reviews it, and six months later the question "who changed the contract template and when" often has no answer. Rendering HTML puts the document back where your team already works: in the repository, in code review, in staging before production.

§ 02

Where template merge genuinely wins

We sell the other approach, so take this as a list of reasons not to buy from us.

  • The output has to be editable. A contract that gets redlined needs DOCX out. HTML renderers cannot do that at all. Not slowly, not badly: not at all.
  • A business user owns the content. Covered above, and it is decisive.
  • The trigger lives inside Salesforce. If the workflow is a rep clicking a button on an Opportunity, Conga and Docusign Gen hand you record access, field-level permissions and audit inside the platform. Rebuilding that against a generic REST API means building the Salesforce half yourself.
  • Long regulated documents with hundreds of conditional clauses. Insurance policies and loan agreements maintained by compliance rather than engineering are a template-merge problem.
  • You need Word, Excel and PowerPoint from one engine. Carbone and Apryse Fluent do this. We do not.

§ 03

Where rendering your own HTML wins

The flip side is just as concrete.

  • The document already exists as a web page. Invoices, statements, receipts, order confirmations, dashboards. You have the HTML. Re-authoring it as a Word template creates a second copy that will drift from the first.
  • Design fidelity. Flexbox, grid, web fonts, SVG, charts, your existing brand CSS. A Word template cannot express a designed report, and everyone who has tried to force it knows the feeling.
  • Templates in version control. Diffs, review, staged rollout, per-environment testing, and a real answer to who changed what.
  • One deterministic engine. Word and LibreOffice do not lay out identically, which is a live source of support tickets in merge-based systems. A single managed Chromium build renders the same everywhere.

If your stack is already pointed this way, the framework guides go deeper: Laravel, Next.js, Django, Spring Boot and Rails.

Plenty of teams end up running both, and that is a reasonable answer rather than a failure to decide: template merge for contracts that get negotiated, HTML rendering for the system-generated invoices and statements your product emits by the thousand.

§ 04

What the whole category treats as an afterthought

Read the docs for Adobe, Foxit, Docmosis and Carbone and you will notice something they share: the render is stateless. Data goes in, a file comes back, and the service forgets it happened. The generated document is treated as output, not as a record.

The two HTML-rendering vendors that do store documents charge for the privilege, which tells you how the category prices memory. PDFMonkey keeps generated files for one day on Free and Starter and seven days on Pro, with unlimited retention starting on its 60 euro plan. DocRaptor sells document hosting as a separate add-on product.

That is backwards for anyone whose documents matter after they are sent. If a customer disputes an invoice in March, the question is not whether you can generate a fresh PDF today. It is what the document said when it went out, and whether you can produce it. Sitepdf answers that by making the archive part of the same call: set archive=true and the render is kept as a timestamped snapshot you can retrieve by id later. The website archiving page covers the record-keeping side in full, and the security guide covers what a review board will ask before you can buy any of this.

§ 05

Automating the generation itself

Choosing an engine is half the project. The other half is what fires it. In practice there are four patterns: on-event (checkout completes, so render the receipt), on-demand (a user clicks Download), batch (month end, render 40,000 statements), and scheduled (every Monday, render and email the report). Each has a different failure mode, and the guide on how to automate PDF generation walks through all four with the specific things that break in each. For the month-end case, bulk HTML to PDF covers concurrency and retries, and scheduled PDF reports covers the recurring pipeline. If your trigger lives in a no-code tool, generating PDFs from Zapier, Make and n8n is the practical path.

Before you commit to a vendor, run the numbers rather than the list price. Billing models in this category are not comparable at face value: Adobe counts one document transaction per API call regardless of output length, Carbone counts one document per megabyte of injected data so a 2.3MB payload bills as three, and Foxit sells credits by the year. Normalizing these into cost per thousand documents is the only way to compare them, and it routinely changes the ranking.

The API shape early access unlocks. Send the HTML your app already renders, or a URL, and keep the record in the same call.
curl https://api.sitepdf.com/v1/render \
  -H "Authorization: Bearer $SITEPDF_KEY" \
  -F url=https://app.example.com/invoices/8812 \
  -F format=Letter \
  -F archive=true

{
  "pdf_url": "https://api.sitepdf.com/v1/documents/doc_4b7q1.pdf",
  "archive": {
    "id": "arc_7f2xd",
    "captured_at": "2026-07-24T16:31:44Z",
    "retrieve_url": "https://api.sitepdf.com/v1/archives/arc_7f2xd"
  }
}

The API is in early access; this is the documented call shape it opens with. Full request and response walkthrough.

§ 06

Questions about this job

What is document generation software?
Document generation software produces a finished, populated document from a template and a structured data source, without anyone retyping anything. A service takes two inputs, the template and a data payload, and returns one output, a formatted PDF or Word file. The template can be a Word document with merge tags or the HTML your application already renders.
How does automated document generation work?
Your system sends a request containing the data for one document, usually as JSON, plus a reference to the template. The service merges the two, lays the result out, and returns a file or a URL to it. In HTML-based systems your application renders the page first and the API converts that page, which means the layout is whatever a browser would show.
Can the document generation API return both PDF and DOCX?
Template-merge services usually can, because they start from a Word file. Adobe and Foxit both return PDF or DOCX from the same request. HTML-rendering services, including Sitepdf, return PDF only. If you need an editable Word file at the end of the workflow, that alone should decide your vendor category.
How do I choose the best document generation software for my organization?
Answer three questions in order. Who edits the document text, a business user or an engineer? Does the output need to be editable, or is PDF enough? Does the trigger live inside a platform like Salesforce, or inside your own code? Those three answers narrow the field to two or three vendors before you ever compare prices.
How much does a document generation API cost?
Published entry pricing ranges from about $15 to $49 a month for low volume, with Foxit selling annually from $1,750. Two of the biggest vendors publish nothing: Adobe lists only a free tier of 500 transactions a month, and Conga shows a lead form. Compare on cost per thousand documents, since vendors count documents by call, by page or by payload size.
How is document generation different from e-signature or OCR tools?
Document generation creates a document from data. E-signature takes an existing document and collects legally binding signatures on it. OCR goes the opposite direction, reading text and fields out of a document that already exists. They chain together in that order, and most teams end up buying at least two of the three.
Does a document generation API keep a copy of what it produced?
Usually not, or not for long. Adobe, Foxit, Docmosis and Carbone are stateless render pipelines. PDFMonkey deletes files on a retention clock that starts at one day, and DocRaptor sells hosting as a separate product. Sitepdf keeps a timestamped snapshot of any render when you pass archive=true, retrievable by id.

§ Early access

Get on the early-access list

The API opens to the list first, in order. Early access locks the planned launch rates for 12 months. No card required, launching soon.

Render + archive, one API