A DocRaptor alternative for PDFs from JSON

DocRaptor converts HTML and CSS you write into PDFs using the Prince engine, with strong print-CSS and accessibility support. Quire takes JSON instead, so there's no HTML or print CSS to maintain, and it costs far less per document at volume. Choose DocRaptor if you need your own HTML design, tagged accessible PDFs or Excel output.

How DocRaptor works

DocRaptor is a hosted HTML-to-PDF API (docraptor.com):

  • You send HTML and CSS. It converts them to PDF, or to XLS/XLSX, with the Prince engine (PrinceXML), which has supported paged media since 2003.
  • Print features: repeating headers and footers from CSS, mixed page sizes within one document, page floats, PDF forms and JavaScript.
  • Accessibility: automatic and CSS-based tagging for WCAG 2.0, Section 508 and PDF/UA (ISO 14289).
  • Operations: synchronous and asynchronous generation, unlimited watermarked test documents, optional hosting of finished documents at an unbranded URL, and libraries for many languages.

It’s a mature choice when you already have HTML and need the most faithful print rendering.

How Quire is different

Quire skips the HTML step entirely. Your app sends the data it already has:

from quirepdf import Quire

Quire().render(order).save("order.pdf")  # any JSON-like dict
  • No HTML, no print CSS. Quire picks a matching template (invoice, receipt, quote, credit note, statement, certificate) or lays any JSON out as a clean document. Page breaks, repeating table headers and page numbers are handled for you.
  • Typed input. Name a template and the TypeScript and Python SDKs check your data before you send it. The API rejects bad data with field paths, such as customer.name is required.
  • Built for code and agents: a CLI, and an MCP server so agents like Claude can render documents directly.
  • Fast: about 4 ms for a one-page document on the engine, because no browser or HTML layout runs.
DocRaptor Quire
You send HTML and CSS JSON
You maintain HTML templates and print CSS The JSON you send
Layout freedom Anything Prince can render Seven built-in layouts plus your colour; custom layouts are on the roadmap
Accessible (tagged) PDFs Yes: WCAG 2.0, Section 508, PDF/UA Not yet
Output PDF, XLS, XLSX PDF, PNG
Test documents Unlimited, watermarked Unlimited, watermarked
Agents Not listed MCP server (npx -y quirepdf-mcp)
Paid plans (monthly) $15 for 125, $29 for 325, $75 for 1,250, $149 for 5,000, $399 for 15,000, $1,000 for 40,000 $19 for 2,000, $49 for 10,000, $129 for 50,000
Cost per 1,000 at the top self-serve plan $25 ($1,000 for 40,000) $2.58 ($129 for 50,000)

Prices from DocRaptor’s plans and ours, checked October 2026.

When DocRaptor is the better choice

  • You need your own HTML design, or you’re converting HTML you already have.
  • You need tagged, accessible PDFs for compliance. DocRaptor supports PDF/UA; Quire doesn’t yet.
  • You need Excel output or interactive PDF forms.
  • You need advanced print CSS, such as mixed page sizes in one document or page floats.

When Quire is the better choice

  • The documents are built from your own data (invoices, receipts, statements, reports) and you’d rather not maintain HTML for them.
  • You generate thousands of documents a month. 5,000 PDFs cost $149 a month on DocRaptor; 10,000 cost $49 on Quire.
  • Code or an AI agent generates the documents and benefits from typed input and field-level errors.

Try it

pip install quirepdf
npx quirepdf-cli login [email protected]

The Python guide has a complete example, and the playground renders your JSON in the browser.