PDF Rendering API
Render HTML to PDF with a real print engine
A PDF rendering API backed by a modern browser engine. It draws the same flexbox, grid, web fonts, and print CSS your pages already use, then paginates correctly. The hosted alternative to operating a headless browser fleet yourself.
Render a page or raw HTML
Give it a URL to render or send HTML directly. Either way you get a faithful PDF with backgrounds, fonts, and layout intact.
curl -X POST https://api.pdfpipe.xyz/v1/pdf \
-H "Authorization: Bearer $PDFPIPE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://example.com/report/42",
"options": { "format": "A4", "printBackground": true }
}' --output report.pdfRendering fidelity that actually matches the browser
Modern CSS
Flexbox, grid, custom properties, and print media queries render the way they do on screen.
Fonts and assets
Web fonts and images load before the page is drawn, so nothing renders half-styled.
Correct pagination
break-before, break-after, and break-inside are respected so content lands on the right page.
Why not render it yourself
- A headless browser fleet means cold starts, memory leaks, and crashes under load.
- Serverless functions rarely fit a full Chromium binary.
- Concurrency, timeouts, and recycling are an ongoing operational tax.
- A rendering API absorbs all of that and bills per document.
Frequently asked
What is a PDF rendering API?
A hosted service that renders HTML and CSS to PDF using a real browser print engine, exposed over a single HTTP endpoint. You send markup or a URL and receive the rendered PDF.
How is rendering different from a PDF library?
Libraries that draw PDFs by hand do not run a browser, so they miss modern CSS, web fonts, and JavaScript-rendered content. A rendering API uses the browser engine, so what you see is what you get.
Can it render a live URL?
Yes. Pass a public URL and it loads, lays out, and renders that page to PDF, with private-network requests blocked for safety.
Is this a chromium as a service option?
Effectively yes: you get browser-grade rendering without provisioning, scaling, or patching any browser instances yourself.
Which PDF API do you need?
These pages cover related search intents. Pick the one that matches what you are building.
500 free documents a month, flat pricing after that, and a live playground you can try without signing up.