Self-hosted PDF engine · public beta

Generate PDFs from JSON and HTML, fast.

Generate invoices, contracts, labels and reports without running a headless browser. Deploy the API on your infrastructure or try the engine in your browser.

No headless browser Runs on your servers Signing included
InvoicesContractsShipping labelsTicketsCertificatesStatementsReportsForms
Benchmarks · 7 renderers · same 500-item invoice

Faster, lighter, cheaper to run.

Time per invoice10.2× faster52.73 ms vs 536.87 ms in Gotenberg
CPU per invoice10.3× less CPU51.97 ms of CPU vs 534.96 ms in Gotenberg
Peak memory22× less RAM25.7 MiB vs 573.2 MiB in Gotenberg, 817.7 in Browserless
Median time per invoice HTTP round trip with PDF download · lower is better
  1. PressJet JSON52.73 ms
  2. PressJet HTML108.21 ms
  3. jsPDF133.56 ms
  4. Gotenberg536.87 ms
  5. Browserless804.84 ms
  6. dompdf902.41 ms
  7. WeasyPrint2,419.25 ms
  8. react-pdf2,524.93 ms
Medians of 21 HTTP requests per engine, one logical CPU, 1 GiB limit, same invoice data. Hover a bar for its value. Method, raw data and table view →
How it works

Your data in. A finished PDF out.

  1. 1
    t = 0Your app sends data or HTML

    An order, a customer record, or the page you already print.

    JSON · HTML
  2. 2
    in memoryPressJet lays it out

    Pages, fonts, tables, page numbers and barcodes. No browser starts.

    Rust engine
  3. 3
    t = 52.73 msThe PDF is ready

    A 17-page, 500-item invoice, median over HTTP. Download, store or email it.

    PDF · PDF/A · PDF/UA
  4. 4
    when you need itSigned and sealed

    Signers get a link, sign on their phone, everyone gets the sealed copy.

    Optional

What will you build?

Not sure yet? Here is what teams make with PressJet. Each card opens a working example.

Generate PDFs from an agent. Codex used 53% fewer output tokens in our four-task study.

Without PressJet, a coding agent writes PDF code by hand and guesses at page breaks. With the PressJet MCP server it calls one tool, checks the result and is done.

Measured with
Agent alonewrites PDF code
  1. Make an invoice PDF for Corsa Logistics
  2. Writing invoice.py with a PDF library
  3. Hand-coding the table, totals and page breaks
  4. Running python invoice.py
  5. Totals fell alone on page 2
  6. Editing the layout and running again
  7. invoice.pdf
Output tokens2,441
Session time19.9 s
Agent + PressJet MCPcalls tools
  1. Make an invoice PDF for Corsa Logistics
  2. authoring_guide
  3. render_document invoice.json
  4. check_document → 0 warnings
  5. invoice.pdf · 1 page, checked
Output tokens1,497
Session time14.1 s
Illustration of one invoice session. Token and time figures are the study's means over 20 sessions per side.
Output tokens−38.7%2,441 → 1,497 per export
Session time−29.0%19.9 s → 14.1 s
Total input−11.7%120,178 → 106,155 tokens
PDFs passing20/20Every PressJet PDF passed its checks
What each task cost, alone vs with PressJet The agent alone is the full gray bar. The orange bar is what it needed with PressJet.
Invoicealone−39%
Reportalone−47%
Data sheetalone−47%
Contractalone−20%
Agent alone = 100%With PressJet
Four fixed tasks, five repetitions each, Nov 29, 2026. Input includes cache reads. Read the study →
MCP server and Claude Code plugin
Agents validate, render, preview, merge and sign PDFs locally. Nothing leaves your workspace while rendering.
authoring_guidecheck_documentrender_documentpreview_pagesmerge_pdfssign_pdf
Command
/plugin install pressjet --marketplace tonysantana1492/pressjet
Also in the MCP Registry as dev.pressjet/pressjet for any MCP client.
PressJet Preview for VS Code
Live preview as you save, jump from a page to its source, and stop the server from the command palette.
Playground · runs in your browser

Bring your own invoice.

Drop an HTML invoice, press Render and watch the clock. PressJet runs here as WebAssembly, so your file never leaves this page.

Stress test

Press Render PDF to test this batch on your device.

RENDER CLOCKREADY
Render clock SLOW FAST 0.0 MILLISECONDS
JSON sample · page 1 Sample invoice This page was rendered by PressJet from the JSON sample: two addresses, purchase order, eight line items, discount, sales tax, deposit and a page counter in the footer. Each page of the batch gets its own customer and numbers.
Repeating table headerEmbedded logoPage counterTotals that add up
First page of the sample invoice INV-1042 from North Quay Supply, rendered by PressJet A4 · 8 line items

Why teams switch.

500-item invoice PressJet Headless browserGotenberg, Browserless PDF librariesjsPDF, react-pdf, dompdf, WeasyPrint
Median time52.73 ms537–805 ms134–2,525 ms
Peak memory25.7 MiB573–818 MiB47–174 MiB
Needs Chrome runningNoYesNo
JSON templates and HTMLBothHTMLCode or HTML, by library
Median time, 500-item invoice
PressJet52.73 ms
Headless browser537–805 ms
PDF libraries134–2,525 ms
Peak memory
PressJet25.7 MiB
Headless browser573–818 MiB
PDF libraries47–174 MiB
Needs Chrome running
PressJetNo
Headless browserYes
PDF librariesNo
JSON templates and HTML
PressJetBoth
Headless browserHTML
PDF librariesCode or HTML

Generate your first PDF.

Try a sample locally or deploy the API for your application.