URL to PDF API
URL to PDF API: Convert a URL to PDF and Save Any Link as a PDF
POST a link, get back a document. The Sitepdf API turns any URL into a pixel perfect PDF with one call, and stores a timestamped snapshot of the page in the same request. No headless browsers to run, ever. Convert a URL to PDF with the tool below before you write a line of code.
- Early access, launching soon
- No card required
- Your HTML stays yours
Live demo
Runs in your browser. Nothing is uploaded.
Your HTML
Live preview
Your PDF is downloading. Want this as one API call, with the page archived too?
One endpoint, the whole job
Everything is one call to /v1/render. Give it a url, or raw html if you already have the markup, and it returns the finished PDF. Options cover the real world: page size and orientation, margins, header and footer templates, wait_for a selector so client rendered content is on screen, and archive=true to keep a dated snapshot of what was rendered.
Under it all is managed Chromium, kept patched, warmed and scaled by us. Your CSS and web fonts render the way they do in the browser, because it is the browser.
The second thing the call returns
Every other URL to PDF service hands you the file and forgets the page. Sitepdf can also hand you the record: the response includes an archive id and capture timestamp, and the snapshot stays retrievable under your account for the life of your retention window. Invoices, confirmations, published prices, regulated disclosures: the document for your user, the audit trail for whoever asks later.
Want to see the output quality first? The free in-browser converter uses your own browser's engine on pasted HTML, no signup, and the how it works page walks the full request and response.
Built to replace your Puppeteer fleet
If you currently run headless Chrome yourself, you know the bill: memory leaks, zombie processes, emoji and font packages, render drift after every Chrome release, and the 3am page when the pool wedges. The API replaces the fleet with a flat, predictable per render cost. The math is on the pricing page, and our library vs API breakdown runs the honest comparison.
curl https://api.sitepdf.com/v1/render \
-H "Authorization: Bearer $SITEPDF_KEY" \
-d url="https://example.com/order/8412/confirmation" \
-d format=A4 \
-d orientation=portrait \
-d wait_for=".order-summary" \
-d archive=true
{
"pdf_url": "https://api.sitepdf.com/v1/documents/doc_1kd83.pdf",
"pages": 2,
"rendered_in_ms": 2140,
"archive": {
"id": "arc_v7x20",
"captured_at": "2026-07-11T08:02:44Z",
"retrieve_url": "https://api.sitepdf.com/v1/archives/arc_v7x20"
}
}
The API is in early access; this is the documented call shape it opens with. Full request and response walkthrough.
Questions about this job
Is the URL to PDF API live today?
How fast is a render?
What happens if a page fails to load?
Do I need the archive, or can I just get the PDF?
Index
More PDF and archiving tools
- Convert HTML to PDF
- Webpage to PDF
- Save webpage as PDF
- Website archiving
- Monitor website changes
- Screenshot API
- React to PDF
- Java PDF library
- C# PDF library
- Python PDF generation
- HTML to PDF Node.js
- Laravel HTML to PDF
- Vue to PDF
- Next.js PDF generator
- Angular to PDF
- Markdown to PDF API
- Django HTML to PDF
- Blazor HTML to PDF
- Spring Boot HTML to PDF
- Airtable to PDF
- Rails HTML to PDF
- PDF generator API
- Website archiving software
- Document generation API
- Legal document automation software
- Document automation software
- Bulk HTML to PDF
- Accessible PDF generation
- ADA compliance audit cost
- 508 compliance testing
- PDF remediation
- VPAT and ACR
- PDF accessibility checker
- Wayback Machine alternative
- Best HTML to PDF API
- DocRaptor alternative
- Puppeteer alternative
- Wkhtmltopdf alternative
- PDFShift alternative
- Urlbox alternative
- PDFCrowd alternative
- Api2Pdf alternative
- Browserless alternative
- APITemplate alternative
- CraftMyPDF alternative
- PDFMonkey alternative
- dompdf alternative
- Gotenberg alternative
- GrabzIt alternative
- Adobe PDF Services API
- PDF SDK pricing
- HTML to image API pricing
- CloudConvert alternative
- CloudConvert pricing
- Direct mail API pricing
- E-signature API pricing
- Sparticuz Chromium Lambda cost
- Browserbase pricing
- Aspose PDF pricing
- PDF API pricing
- How it works
- Features
- Pricing
Early access
Get on the early-access list
The API opens to the list first, in order. Early access locks the planned launch rates for 12 months. No card required, launching soon.