Search 85 tools...

Ctrl K
Guides
5 min read
•
Published October 3, 2026
(Updated: October 16, 2026)

How to Save a Webpage Link as a PDF Document

Paste a link and get the page as a PDF with selectable text. Here is how the server-side rendering works, what each option does, and which pages can’t be saved.

DocsEngine Editorial Team
Last reviewed October 16, 2026
Illustration of a browser window showing https://example.com/article, with an arrow to two A4 PDF pagesURL to PDF renders the page in Chromium on our server.

Key Takeaways & Executive Summary

  • URL to PDF is a server tool: our server opens the link in headless Chromium and prints it to a PDF with selectable text.

  • JavaScript runs, the page is scrolled to load lazy images, common cookie banners are hidden, and analytics and ad trackers are blocked.

  • You choose the page format (A4 by default), the device width, the orientation, the margins and whether backgrounds are printed.

  • Only public pages work: the server’s browser has no login or cookies, and each conversion gets 90 seconds.

  • The PDF is deleted right after you download it, or 10 minutes after processing if you don’t.

Table of Contents

    How to save a webpage as a PDF (quick answer)

    Step-by-step: convert a URL to PDF

    What happens on the server

    Options explained

    URL to PDF or your browser’s Print to PDF?

    Limitations and what to use instead

    Privacy: what happens to your link and PDF

    Frequently Asked Questions

    Sources

    How to save a webpage as a PDF (quick answer)

    Step-by-step: convert a URL to PDF

    What happens on the server

    Options explained

    URL to PDF or your browser’s Print to PDF?

    Limitations and what to use instead

    Privacy: what happens to your link and PDF

    Frequently Asked Questions

    Sources

How to save a webpage as a PDF (quick answer)

Copy the page’s address, paste it into URL to PDF and click Convert to PDF. Our server opens the page in a headless Chromium browser, waits for it to load, and prints it to a PDF you can download.

Unlike most DocsEngine tools, this one runs on our server, because the page has to be fetched and rendered by a browser engine. The link is sent over HTTPS, and the PDF is deleted right after you download it, or 10 minutes after processing if you never do.

Step-by-step: convert a URL to PDF

The defaults, A4 pages at desktop width with backgrounds on, suit most articles, so for a quick save you can go straight to step 4.

  1. Copy the full address of a public page, starting with https:// or http://.
  2. Open URL to PDF and paste it on the Enter Webpage URL tab. If you have the link saved in a .txt or .url file, use Upload Link / Document File instead.
  3. Under Rendering & Layout, pick a Page format and a Device emulation width, and adjust Orientation and the switches if needed.
  4. Click Convert to PDF and wait while the server loads the page; heavy pages take longer.
  5. Download the PDF. The server deletes it after the download.

What happens on the server

The server uses Playwright to control headless Chromium, the open-source engine behind Chrome, in a fresh session. Because it is a real browser, JavaScript runs, so pages that build their content with scripts are captured after the scripts have run.

It waits up to 28 seconds for the page to load and up to 6 more seconds for network activity to settle. Then it scrolls down the page, up to 25,000 pixels, so images that load only when scrolled into view are fetched, waits for web fonts and stops animations. Common cookie banners are hidden, and analytics and ad trackers are blocked.

Finally, Chromium prints the page with Playwright’s page.pdf() function. Playwright notes that this uses a site’s print styles by default; URL to PDF switches to the screen styles, so the PDF looks more like the page in your browser. The output has real, selectable text and vector graphics, not a screenshot.

If Chromium fails on a page, the server falls back to a simpler render without JavaScript, which can look plainer than the live page.

Four steps: you paste a public URL, our server opens it in headless Chromium, Chromium prints a PDF, and you download it
How URL to PDF works. Pages behind a login can’t be captured, because the server’s browser has no cookies or session.

Options explained

The Background graphics & colors switch maps to Chromium’s print-background setting, which Playwright documents as off by default. URL to PDF turns it on by default, so colored sections and dark themes are kept.

Device emulation sets the size of the browser window, the same idea as Playwright’s device emulation. Responsive sites change their layout with the width, so the same link can give quite different PDFs on Desktop and Mobile.

SettingWhat it doesWhen to change it
Page formatA4 pages (default), US Letter pages, US Legal pages, or One continuous page (no page breaks)Letter or Legal for US paper; the continuous option puts the whole page on one tall sheet instead of separate pages
Device emulationOpens the page in a Desktop (1440 × 960, default), Tablet (768 × 1024) or Mobile (390 × 844) windowTablet or Mobile to get a site’s narrower layout
OrientationPortrait (default) or Landscape pagesLandscape for wide tables and dashboards
Edge to edgeOn (default): no page margins. Off: a small white margin around each pageTurn off if you plan to print and want a border
Background graphics & colorsOn (default): prints background colors and images. Off: backgrounds are left outTurn off for a plainer document on white
Avoid cutting through contentOn (default): tries not to split tables, figures and images across pagesTurn off if it leaves large gaps at the bottom of pages

URL to PDF or your browser’s Print to PDF?

Most browsers can save the page you are viewing as a PDF from the print dialog. That runs on your device with your own login, so it is the better choice for pages behind a sign-in, such as account statements or an intranet.

URL to PDF helps when you want a clean result from a link without adjusting print settings: it scrolls to load lazy images, hides common cookie banners and keeps backgrounds by default. If you have the page as an HTML file rather than a live link, use HTML to PDF, which runs in your browser but does not run the page’s JavaScript.

Limitations and what to use instead

Because a server-side browser loads the page for you, some pages can’t be captured, or not fully:

  • Public pages only: the address must start with http or https, and localhost and private network addresses are blocked.
  • No logins: each conversion starts in a fresh browser without cookies or a session, so pages behind a sign-in or paywall show their logged-out version.
  • Each conversion has 90 seconds; very slow or heavy pages can fail.
  • Very long pages: scrolling stops at 25,000 pixels, so lazy images further down may stay empty. With One continuous page, the single page is at most 32,000 pixels tall, so the end of a very long page can be cut off.
  • Videos, maps and other interactive parts are printed as they look at that moment, or may come out blank.
  • Page breaks are decided by Chromium. Avoid cutting through content helps, but a long table or a tall image can still be split.

Privacy: what happens to your link and PDF

URL to PDF is one of the few DocsEngine tools that runs on our server rather than in your browser.

Processed on our server

The link, or the link file you upload, is sent over HTTPS. The uploaded file is deleted as soon as processing finishes, and the PDF right after you download it, or 10 minutes after processing if you never download it. The page itself is fetched by our server, so the website sees a request from our server, not from your device. Avoid converting private share links that contain access keys, since anyone who opens such a link can see the content.

RENDERED ON OUR SERVER
Save a webpage as a PDF

Paste a public link and get a PDF with selectable text, rendered in headless Chromium on our server and deleted after download.

Frequently Asked Questions

Your browser is signed in and has cookies; the server’s browser has neither. Pages behind a login or paywall show their public version, so use your browser’s own Print to PDF for those.

Choose One continuous page (no page breaks) under Page format to put the whole page on one tall PDF page instead of separate sheets. Check the result, especially for very long pages.

Yes. Chromium prints real text, so you can search, select and copy it. To get a plain text file, run the PDF through PDF to Text.

No. Only public http and https addresses are accepted; localhost and private network addresses are blocked.

It is deleted right after you download it, or 10 minutes after processing if you never download it. An uploaded link file is deleted as soon as processing finishes.

Sources

  1. Playwright: page.pdf() (Playwright)
  2. Playwright: Emulation (Playwright)
TAGS:
#url to pdf
#webpage to pdf
#save webpage as pdf
#convert website to pdf
#link to pdf
#save article as pdf
#url to pdf online free
Table of Contents

    How to save a webpage as a PDF (quick answer)

    Step-by-step: convert a URL to PDF

    What happens on the server

    Options explained

    URL to PDF or your browser’s Print to PDF?

    Limitations and what to use instead

    Privacy: what happens to your link and PDF

    Frequently Asked Questions

    Sources

    How to save a webpage as a PDF (quick answer)

    Step-by-step: convert a URL to PDF

    What happens on the server

    Options explained

    URL to PDF or your browser’s Print to PDF?

    Limitations and what to use instead

    Privacy: what happens to your link and PDF

    Frequently Asked Questions

    Sources

FEATURED UTILITY
URL to PDF

Free, no sign-up. Runs on our server: your file is deleted as soon as processing ends, and the result right after you download it (or after 10 minutes).

Share this guide