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 HTML
Live preview
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 30 August 2026. Written and fact checked by the Sitepdf team.
Document generation APIs compared, with the pricing each vendor actually publishes
Every figure below was re-read off the vendor pricing page on 30 August 2026, five weeks after the first reading. Four of the six template merge rows had changed, which is unusual: in this category prices normally sit still for months. Where a vendor publishes no number we say so rather than repeating a figure from a comparison site. 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. We went back to Adobe own documentation on 14 August 2026 and wrote down exactly what Adobe does and does not publish, including how a document transaction is counted per operation.
| Service | Engine | Published pricing, re-read 30 August 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 Developer tier of 500 shared credits a year. Startup $1,750 a year for 5,000 credits. Business $4,500 a year for 15,000 credits. A Volume tier above that is custom. Re-read 30 August 2026, when the credit allowances on both paid tiers had changed | Teams that want one credit pool shared across several Foxit APIs, including eSign, which bills 5 credits an envelope against the same balance |
| Docmosis | Word or LibreOffice template merge | Now publishes the self-hosted ladder it used to withhold. Cloud $49, $64 or $78 a month at the 4,000 pages setting, the tiers differing by users and environments rather than volume. Self-hosted Tornado is a perpetual license at $3,795 (1 converter, 50 templates), $6,695 (4 converters), $9,995 (8 converters) and $17,145 (unlimited), with 12 month renewals at $1,518, $2,678, $3,998 and $6,858. Docmosis-Java is priced identically. The page states its own pricing was updated 1 June 2026 | High-volume batch merge, and regulated teams that must self-host with a known one-off cost rather than a quote |
| Carbone | Merge from DOCX, XLSX, PPTX, ODT or HTML | Now quoted in US dollars, with two tiers added since our last reading. Free, Essential $29, Essential Plus $95, Advanced $159, Advanced Plus $295 and Advanced Ultra $595 a month, each about 10 percent less billed annually. On-premise Fit $1,500 a year, Unlimited from $2,940. An AWS Marketplace ladder bills per document at $0.15 for the first 100, $0.08 to 1,000, $0.03 to 10,000 and $0.008 above that (re-read 30 August 2026) | Word, Excel and PowerPoint output from one engine, and EU data residency |
| Conga Composer | Salesforce-native template merge | Nothing published. The pricing page is still a lead form, re-checked 30 August 2026: it describes an intent to give clear cost details and shows no figure | Salesforce revenue teams where an admin, not an engineer, owns the template |
| Docusign Gen for Salesforce | Salesforce-native merge to Word or PDF | No longer published by Docusign. The $20 per user a month figure circulating on comparison sites appears on no Docusign page we could find on 30 August 2026, so it is not reprinted here. Docusign's own plans page lists Gen for Salesforce only in the feature table for Enhanced plans, marked Contact sales. The eSignature tiers it does publish are $11 a month Personal, $30 and $45 per user a month, and Gen requires one of them underneath | 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. If you are comparing the HTML rendering half of this market on cost rather than on engine, the PDF API pricing comparison normalizes twelve of those vendors to the same 10,000 document a month workload. And if you have not yet settled on an API at all, the document automation software comparison covers the whole category including the no-code assembly tools this table leaves out, with the four different meters vendors bill on.
What changed between 24 July and 30 August 2026
We re-read every rate card on this page on 30 August 2026. Four of the six template merge vendors had changed something, and two of the changes move in opposite directions, which is the interesting part.
Docmosis started publishing the number it used to withhold. In July, self-hosted Tornado was sold as a perpetual license with no amount printed. It now carries a full four tier ladder, $3,795, $6,695, $9,995 and $17,145, with 12 month renewals against each, and the cloud tier resolved from a vague "from $49" into three named plans at $49, $64 and $78 that differ by users and environments rather than by page allowance. Its pricing page dates itself to 1 June 2026. Note the URL moved too: docmosis.com/pricing.html now returns 404 and the page lives at /pricing/.
Docusign went the other way. The $20 per user a month figure for Gen for Salesforce, which is repeated across most comparison articles about this category, appears on no Docusign page we could find. Docusign's own plans page lists Gen only inside the feature table for Enhanced plans, marked Contact sales. We have removed the figure rather than keep printing something we cannot source, which is the same rule we apply to every row here.
Carbone re-denominated into US dollars and added two tiers. Essential Plus at $95 and Advanced Plus at $295 now sit between the plans that existed in July, and an AWS Marketplace route bills per document from $0.15 down to $0.008 at volume. Annual billing takes roughly 10 percent off.
Foxit moved its credit allowances substantially. Startup went from 3,500 to 5,000 credits at the same $1,750 a year, and Business now shows 15,000 credits at $4,500, with a custom Volume tier above it. That changes the shape of the ladder enough that our previous note about a cliff between the two paid tiers no longer describes it, so we have removed that too.
Conga still publishes nothing, and its pricing page still describes an intention to provide clear cost details without providing any. That is a null result and we are reporting it, because a category page that only records movement quietly implies the vendors it does not mention were checked and found unchanged. They were checked. Two of them had not moved.
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.
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.
One vertical worth calling out separately: law firms. The products sold into legal drafting are a different set of vendors with a different meter, and most of them will not tell you the price without a call. We mapped that market, including which two of eight publish a rate card, on legal document automation software.
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.
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, the security guide covers what a review board will ask before you can buy any of this, and accessible PDF generation covers the other question that arrives with public sector buyers, whether the documents you produce are readable by assistive technology.
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). A fifth exists wherever the output has to arrive on paper, a statement or a statutory notice handed to a print and mail API, and the per piece economics of that leg are worked out in our direct mail API pricing comparison. 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.
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.
Questions about this job
What is document generation software?
How does automated document generation work?
Can the document generation API return both PDF and DOCX?
How do I choose the best document generation software for my organization?
How much does a document generation API cost?
How is document generation different from e-signature or OCR tools?
Does a document generation API keep a copy of what it produced?
Index
More PDF and archiving tools
- Convert HTML to PDF
- Webpage to PDF
- Save webpage as PDF
- URL to PDF API
- Website archiving
- Monitor website changes
- Screenshot API
- React to PDF
- Java PDF library
- C# PDF library
- Python PDF generation
- HTML to PDF Node.js
- Laravel HTML to PDF
- Vue to PDF
- Next.js PDF generator
- Angular to PDF
- Markdown to PDF API
- Django HTML to PDF
- Blazor HTML to PDF
- Spring Boot HTML to PDF
- Airtable to PDF
- Rails HTML to PDF
- PDF generator API
- Website archiving software
- Legal document automation software
- Document automation software
- Bulk HTML to PDF
- Accessible PDF generation
- ADA compliance audit cost
- 508 compliance testing
- PDF remediation
- VPAT and ACR
- PDF accessibility checker
- Wayback Machine alternative
- Best HTML to PDF API
- DocRaptor alternative
- Puppeteer alternative
- Wkhtmltopdf alternative
- PDFShift alternative
- Urlbox alternative
- PDFCrowd alternative
- Api2Pdf alternative
- Browserless alternative
- APITemplate alternative
- CraftMyPDF alternative
- PDFMonkey alternative
- dompdf alternative
- Gotenberg alternative
- GrabzIt alternative
- Adobe PDF Services API
- PDF SDK pricing
- HTML to image API pricing
- CloudConvert alternative
- CloudConvert pricing
- Direct mail API pricing
- E-signature API pricing
- Sparticuz Chromium Lambda cost
- Browserbase pricing
- Aspose PDF pricing
- PDF API pricing
- How it works
- Features
- Pricing
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.