HTML → PDF API · POST /API/V1/PDF · CHROMIUM-EXACT
Push HTML. Pop a finished PDF.
PDFRelay turns HTML or any URL into pixel-perfect PDFs — invoices, contracts, reports — with one API call. Try it below, no signup needed.
SOURCE · HTML · MAX 100 KB4 KB
CTRL/⌘+ENTER TO RENDER · FREE · NO SIGNUP
RENDER A PROOF TO PREVIEW THE FRAME
A4 · 210×297 MMWATERMARKED — SIGN UP TO REMOVE
SPEC 01
Why teams switch
METERING
Flat per-document pricing
One document = one count. No per-megabyte credit math, no surprise multipliers on heavy files.
ENGINE
Chromium-exact rendering
Full CSS Grid, flexbox, custom fonts, page breaks — if Chrome prints it, we print it.
CACHE
Repeats are free
Identical renders are served from cache and never touch your quota. Idempotent by design.
PRIVACY
Transient by default
Documents are processed and gone. No stored PII, SSRF-hardened URL rendering, hashed API keys.
SPEC 02
Ship it in five lines
curl -X POST https://asdfg-bice.vercel.app/api/v1/pdf \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"html": "<h1>Invoice #1042</h1>", "options": {"format": "A4"}}' \
--output invoice.pdfFull request schema, options, and error codes in the API docs.
SPEC 03
Plans
SPEC 04
Compare the engines
Honest, feature-by-feature comparisons: PDFRelay vs PDFShift · PDFRelay vs DocRaptor · PDFRelay vs DIY Puppeteer