Changelog · October 10, 2026
Save any web page as a PDF
The page as a document you can send.
By Roger Campos · Last updated: October 2026
TL;DR
Send a URL to POST /pdf and get the whole page back as a PDF: rendered in a real browser with its JavaScript run, scrolled through first so images that load on scroll are on every sheet, with text you can select, links that work and the page's headings as bookmarks. pdf_options choose the paper (A4, Letter, Legal, Tabloid, A3, A5), the orientation, margins and scale, whether backgrounds print, and whether the page's print stylesheet or its on-screen look is used; single_page puts the whole page on one long page instead of sheets. It costs 1 credit whichever options you use, and calls no model.
Free plan, no credit card. 1,000 credits a month.
The PDF comes back Base64-encoded, with an X-Result-Url link to the file that needs no API key and lasts the 30 days the result is kept. It is also an operation of /scrape, off the same page visit as the rest, and the capture_pdf tool of the MCP server.
curl -X POST https://urlpipe.dev/pdf \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com", "sync": true, "pdf_options": {"paper_size": "letter"}}'Endpoints
The endpoints on this page
- Save any web page as a PDF
Paste a link and get the whole page as one continuous PDF that looks like the site — rendered in a real browser, so JavaScript, web fonts and lazy-loaded images are all there, with its headings as bookmarks.
Try it free - Everything about a URL, from one visit
Paste a link and get a screenshot of the page, its title, description and share image, the main content as Markdown and the console errors it threw — all from the same page load.
Try it free
FAQ
Frequently asked questions
1 credit a call, the same as a screenshot, whichever options you use. A repeat within the cache window is free.
By default, yes: the page is printed the way a browser prints it. Send media screen in pdf_options to print it as it looks on screen.
Try it on the free plan.
Free plan, no card. Confirm your email and your API key is live — you'll be making real requests in minutes.