Free tool · website to PDF
URL to PDF
Enter the address of a web page and download it as a PDF. The page is opened in a real browser and printed with the paper size and margins you choose. No extension, no sign-up.
Website to PDF in three steps
- Enter the URL of the page, for example
example.com/blog/post.https://is added if you leave it out. - Choose the layout: paper size (A4, Letter, Legal or A3), portrait or landscape, margins, and whether to print the page’s print version or the page as shown on screen.
- Create the PDF, check the preview and download it.
The page is loaded in Chromium with JavaScript, so content that scripts build is included. Cookie banners are hidden where our blocker recognises them, and ads are blocked if you tick Block ads.
Several pages or one long page
A normal PDF splits the page into sheets of the chosen paper size, as a printer would. With Whole page on one long PDF page, you get the complete page on a single page as wide as the paper and as tall as the content (up to 200 inches). That suits receipts, long articles and pages you want to archive in one piece.
Limits
| Limit | Value |
|---|---|
| Time per PDF | about 12 seconds to load and print the page; slower pages are stopped |
| Pages | at most 30; longer documents end after page 30 |
| Pages you can open | public http and https pages; no logins, no private network addresses |
Very heavy pages may not finish in time. With the API you can tell the browser not to wait for every resource (wait_until=domcontentloaded).
Save a web page as PDF in your browser
| Browser | How |
|---|---|
| Chrome, Edge | Ctrl+P (⌘+P on Mac) → Destination “Save as PDF” |
| Firefox | Ctrl+P (⌘+P) → Destination “Save to PDF” |
| Safari | File → Export as PDF |
| Any device | This tool, or the PDF API for many pages |
Convert URLs to PDF automatically
The screenshotbase API does the same from your code: one GET request with format=pdf returns the PDF. It adds options the tool leaves out, such as custom margins per side, page ranges, scaling and a filename for the download. See the PDF generator API.
Frequently asked questions
How do I convert a URL to PDF?
Is the PDF stored anywhere?
Why does the PDF look different from the page in my browser?
Can I convert a page that needs a login?
Can I convert HTML to PDF?
How many PDFs can I create for free?
PDF API
Create PDFs from your code
GET /v1/take with format=pdf prints any web page in a real browser and returns the PDF: paper size, orientation, margins, print or screen styles, page ranges, or the whole page on one long page.
/v1/take documentation PDF generator API All documentation
300 free requests every month, and each PDF counts as one. No credit card required.
GET https://api.screenshotbase.com/v1/take?url=https://example.com&format=pdf
# Response: the PDF (application/pdf)
curl -G "https://api.screenshotbase.com/v1/take" \
--data-urlencode "url=https://example.com" \
-d format=pdf \
-d pdf_paper_format=A4 -d pdf_margin=15mm \
-H "apikey: YOUR-API-KEY" \
-o page.pdf