PDFPipe

HTML to PDF API

Convert HTML to PDF with one API call

Post an HTML string or a URL and get back a real PDF: vector text, your fonts, your CSS, and page breaks that land where they should. No Chromium to bundle, no print pipeline to babysit, no servers to keep warm.

Send HTML, get a PDF

The whole integration is one request. Authenticate with a bearer token, send your markup, and stream the PDF straight to your user or storage.

bash
curl -X POST https://api.pdfpipe.xyz/v1/pdf \
  -H "Authorization: Bearer $PDFPIPE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"html":"<h1>Invoice 1024</h1>","options":{"format":"A4"}}' \
  --output invoice.pdf

Why an API beats a local renderer

Nothing to install

No headless Chrome, no wkhtmltopdf binary, no 200 MB of dependencies in your image or function bundle.

Production grade

Rendering runs on infrastructure built for it, with isolation against malicious HTML when template data comes from your users.

Predictable cost

You pay per document, not per server you keep running just in case traffic spikes.

It handles the hard parts

  • Waits for web fonts and images before drawing, so output matches your design.
  • Honors break-inside: avoid so tables and cards do not split across pages.
  • Supports headers, footers, page numbers, page size, margins, and scale.
  • Accepts a raw HTML string, a public URL, or a saved template plus JSON data.

Frequently asked

Is this a PDF API or a PDF as a service?

Both. PDFPipe is a hosted PDF API (also called PDF as a service): you call one HTTPS endpoint and never run a renderer yourself. There is nothing to deploy or scale on your side.

Can it work as a PDF converter API?

Yes. It converts HTML or a URL into PDF. Point it at a rendered page URL, or send the HTML directly, and it returns the converted PDF.

How do I generate or create a PDF from my backend?

Send a POST to /v1/pdf with your HTML and options from any language that can make an HTTP request. The response body is the PDF. There is no SDK requirement, though Node and Python SDKs exist.

What is the free tier?

500 documents a month at no cost and no card required, so you can ship to production before paying anything.

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.