DocGen

HTML from your script or agent → PDF

Invoices, receipts, reports. One API. No Chromium to babysit.

50 free conversions a month.

Printed invoice document on a desk

For document pipelines, not websites

When AI or a cron job already made the HTML, you just need a PDF — not a browser farm.

No headless Chrome

In-process HTML+CSS→PDF. One binary, no Puppeteer tax.

Scripts & agents welcome

POST HTML, get PDF. Built for automation and AI-generated documents.

Invoice & receipt ready

Tables, page breaks, @page — the print layouts you actually ship.

One API

Sign in, grab a key, POST HTML. That’s the whole product.

curl -X POST "$APP/api/v1/pdf" \
  -H "Authorization: Bearer dk_live_..." \
  -H "Content-Type: application/json" \
  -d '{"html":"<h1>Invoice</h1>","engine":"tiger"}' -o invoice.pdf

Same API, more formats

Every format draws from the same monthly conversion pool.

  • /api/v1/epub · /mobi · /azw3EPUB, MOBI and AZW3 ebooks from the same HTML
  • /api/v1/markdownMarkdown (GFM) to HTML, ready to feed into a PDF or an ebook

Three PDF engines

All three turn HTML + CSS straight into PDF: no browser, and no page JavaScript is run. They differ in how much CSS and pagination they handle.

Page from a sample invoice rendered by Tiger

Tiger All plans

Fast default for simple invoices and receipts. The lightest CSS support.

Page from a sample invoice rendered by Lion

Lion Pro

Built for paged documents: fuller CSS than Tiger, steadier tables across pages, page numbers and headers, CJK text.

Page from a sample invoice rendered by Wolf

Wolf Pro

Print-grade typesetting with the most complete CSS pagination, for the strictest layouts.

Compare engines side by side →

Signed in, you can edit HTML and CSS and preview the PDF in the dashboard — watermarked, and not counted toward your usage. Open the dashboard →

Simple pricing

Pay only when you outgrow free. Cancel anytime via your subscription.

Free

$0.00/mo
  • 50 conversions / month, all formats
  • 5/min rate limit
  • 256 KB request body
  • Tiger engine

Frequently asked questions

Does DocGen run JavaScript?

No. None of the three PDF engines runs page JavaScript; script tags are skipped. Send the finished HTML: fill templates, compute totals and render charts to images before you call the API.

Do I need to install Chrome or Puppeteer?

No. DocGen turns HTML and CSS into PDF without a browser, on our side or yours. Your code only needs an HTTP client such as curl, fetch or requests.

What does the free plan include?

50 conversions a month shared by every format, request bodies up to 256 KB, 5 requests a minute, and the Tiger engine. Pro ($14.99 a month) removes the monthly cap, raises the limits to 4 MB and 120 requests a minute, and adds the Lion and Wolf engines.

Do you store my HTML or the files you generate?

No. The HTML, CSS or Markdown you send, the page fetched from a url, and the PDF or ebook we return exist only for the request; there is no document library. For your account we keep a monthly count of conversions and bytes.

Which formats can I generate?

PDF, EPUB, MOBI and AZW3 from HTML, and HTML from Markdown. For a PDF or ebook from Markdown, call /api/v1/markdown first, then send the HTML on.

Can I convert a web page by URL?

Yes, for PDF: send url instead of html. It must be a public http(s) address; private and loopback addresses are refused, redirects are not followed, and the fetched page counts toward your request size limit.

What happens when I hit a limit?

The API answers 429 with quota_exceeded or rate_limit_exceeded and a Retry-After header in seconds. Failed conversions don't count toward your monthly total, and are never retried or moved to another engine.

Are PDFs from the API watermarked?

No, on every plan. Only the preview in the dashboard is watermarked, and previews don't count toward your usage.