Website to PDF API

Turn any web page into a PDF, by API

Render any URL to a clean, print-ready PDF in one request — real Chromium, exact layout. Perfect for invoices, reports, dashboards, and archiving, with no headless browser to babysit.

Quickstart

One request returns a ready-to-use PDF:

curl "https://api.snapraven.app/v1/pdf?url=https://yoursite.com/invoice/123&format=A4&key=sr_live_..." \
  --output invoice.pdf

Parameters

ParameterDescription
url Required. The page to render to PDF.
format A4, Letter, Legal, or A3. Default A4.
landscape true for landscape orientation. Default false.
printBackground Include background colors & images. Default true.

FAQ

What does the PDF API do?

Give it any public URL and it returns a clean, print-ready PDF of that page — rendered by a real headless Chromium, so it looks exactly like the page does in a browser.

What is it good for?

Invoices and receipts hosted as web pages, reports, dashboards, documentation, articles, and archiving — anything you want as a portable, shareable PDF.

Can I set the paper size?

Yes. Choose A4, Letter, Legal, or A3, and switch to landscape when you need wide content like tables or dashboards to fit.

Do background colors show up?

By default yes — printBackground is on, so brand colors and images are preserved. Turn it off for a lighter, ink-friendly document.

Can I convert many pages at once?

Yes. From the dashboard, paste a list of URLs in Bulk PDF and download all of them in a single ZIP.

Generate your first PDF

Get your free API key