Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To convert a webpage URL to a PDF, open the page in a browser, choose Print, select Save to PDF (or Microsoft Print to PDF), review the preview, and save the file. The exact labels differ by browser and device. If the URL already ends in a PDF file, download that PDF instead of printing the page that links to it.

First, identify what the URL contains

“Convert a URL to PDF” can mean two different operations:

  • Webpage URL: the browser renders the current HTML page, images and styles into a printable PDF.
  • Existing PDF URL: the link already points to a PDF. Download or open that file directly; do not create a second PDF of the surrounding webpage. Chrome documents using Save Link As for PDF links (Google Chrome Help).

A printed webpage is a snapshot, not an interactive copy. Menus, videos, forms, animations and some scripts will not work in the resulting file.

Convert a webpage URL to PDF on a desktop

Microsoft Edge (Windows or Mac)

  1. Open the URL in Edge and wait until the page has finished loading.
  2. Open the menu (three dots) and choose Print, or press Ctrl+P on Windows or Command+P on Mac.
  3. Choose a PDF destination, such as Save to PDF or Microsoft Print to PDF.
  4. Set the page range, orientation, paper size and margins. Turn Background graphics on when colors, images or shaded sections are missing.
  5. Decide whether to include headers and footers. These can add the URL, date and page number.
  6. Check every page in the preview, click Print or Save, select a folder, give the file a recognizable name and confirm.

Edge can print only selected content and offers Immersive Reader as a less cluttered route on supported sites. Microsoft notes that Immersive Reader is not available for every webpage. See Microsoft’s Edge printing instructions for the current controls.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Firefox (Windows, Mac or Linux)

  1. Open the webpage, then choose File > Print or press the platform’s print shortcut.
  2. In the print dialog, select Save to PDF in the Destination drop-down. Mozilla’s Firefox Help specifically instructs users to select this destination to save the shown preview.
  3. Adjust pages, orientation, scale, margins, headers and footers as needed.
  4. Click Save, choose a folder and verify the PDF opens correctly.

Firefox’s documented workflow is described in Mozilla Support’s “How to print web pages in Firefox” (updated August 22, 2024).

Chrome and other Chromium browsers

  1. Open the URL and press Ctrl+P (Windows/Linux) or Command+P (Mac), or select Print from the browser menu.
  2. Set the destination to Save to PDF.
  3. Choose pages, paper size, orientation, margins, scale, and whether to print backgrounds.
  4. Click Save and select the output folder.

Chrome-based browsers use similar dialogs, but wording and available options can vary with the operating system and installed printers.

Make the PDF look like the page you need

Fix missing colors or images

Enable Background graphics (or an equivalent setting). A site’s CSS may deliberately hide backgrounds in print media, so the preview—not the live tab—is the reliable indication of what will be saved.

Rank #2
1 Second Auto Size Scanner PDF JPG 16MP Resolution Portable Document Scanner for Converting and Editing
  • LIGHTWEIGHT AND FOLDABLE STRUCTURE: Foldable design (30x6x8cm) and lightweight (1000g) make it portable for travel or home use. Compact shape fits perfectly on your workbench without taking up much space
  • SIMPLE CONNECTION: Works with USB connection without the need for additional programs for quick installation. Simple controls make it easy to operate both beginners and regular users with regular size papers
  • QUICK DOCUMENT PROCESSING: Automatically scan suggestions one page per second, greatly increase productivity. Ideal for workplaces, schools, legal/financial areas where large capacity is required
  • TEXT CONVERSION TECHNOLOGY: Smart OCR function works in over 200 languages, changes scanned files to editable text for easy storage and editing Seamless digital conversion of paper documents improves workflow
  • EXCELLENT IMAGEING: Equipped with a 16MP clear camera, this portable document scanner produces crisp, accurate images of documents and keeps important content intact. Perfect for striking scans of contracts, receipts and books

Remove navigation and advertisements

Use the browser’s reader or simplified view when offered, or print only a selected section. Edge’s Immersive Reader can produce a cleaner result on supported pages. Reader modes can also remove material you intended to keep, so compare the preview with the original.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Control page breaks

Try portrait for narrow text and landscape for wide tables. Reduce or increase scale, change margins, and set a page range to avoid printing an entire site. If a heading is stranded at the bottom of a page, a small scale or margin adjustment often moves it with the following paragraph.

Capture content loaded on scroll

Scroll through the page first so lazy-loaded images and sections have a chance to appear, then print. A page that requires clicking “Load more” may need those controls activated before opening print preview.

Handle login-protected pages

Stay signed in while printing and confirm that private information is not included accidentally. Browser print creates a local file, but sharing that file can expose the same content visible to your account.

Save a URL as PDF on a phone

iPhone or iPad Safari

  1. Open the webpage in Safari.
  2. Tap the page menu or Share. The position of Share depends on whether Safari uses the top or bottom tab layout.
  3. Tap Markup.
  4. Tap Done, then choose Save File To.
  5. Name the PDF, select iCloud Drive or an on-device folder, and tap Save.

This is Apple’s documented sequence in “Annotate and save a webpage as a PDF in Safari on iPhone.”

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Android Firefox

  1. Open the page in Firefox for Android.
  2. Tap the three-dot menu, then Share.
  3. Select Save as PDF, then tap Download.
  4. Find the file in the Downloads folder or Firefox’s Downloads list.

Mozilla documents this exact flow for Firefox for Android; other Android browsers may use different menus. See Mozilla’s Android instructions (updated May 3, 2023).

When browser printing is not enough

Basic conversion needs no extra software. Optional PDF services can help afterward with merging, compression or editing. Adobe describes browser print-to-PDF and additional Acrobat workflows in its website-to-PDF guide. Smallpdf discusses conversion and follow-up editing, merging and compression in its URL-to-PDF article. Uploading a page to an online service sends its content to an external provider, so check the service’s privacy terms before using confidential or regulated material; no specific retention guarantee is established here.

Or skip the browser setup

ScreenshotNeo converts a URL to a PDF through one request, which is useful for scheduled jobs, server-side workflows and repeatable output. Before capture it accepts cookie or consent banners and removes more than 60 known consent platforms, newsletter popups and chat widgets; each cleanup step can be disabled. Bot checks or CAPTCHAs, blank pages, timeouts, failed loads and cache hits are not billed, and the response identifies the result with X-Page-Verdict and X-Billed headers. Its MCP server provides take_screenshot, get_page_info and capture_pdf tools to Claude, Cursor and other MCP clients.

Use the ScreenshotNeo documentation for all parameters. The following calls use the supplied API endpoint and return a PDF when format=pdf is included.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

cURL

curl -G "https://api.screenshotneo.com/v1/shot" 
  -d access_key=YOUR_API_KEY 
  --data-urlencode url=https://example.com 
  -d format=pdf 
  -o page.pdf

Python

import requests

r = requests.get(
    "https://api.screenshotneo.com/v1/shot",
    params={
        "access_key": "YOUR_API_KEY",
        "url": "https://example.com",
        "format": "pdf",
    },
    timeout=90,
)
r.raise_for_status()
open("page.pdf", "wb").write(r.content)

Node.js

const q = new URLSearchParams({
  access_key: 'YOUR_API_KEY',
  url: 'https://example.com',
  format: 'pdf'
});
const res = await fetch(`https://api.screenshotneo.com/v1/shot?${q}`);
if (!res.ok) throw new Error(`${res.status} ${res.statusText}`);
const fs = await import('node:fs/promises');
await fs.writeFile('page.pdf', Buffer.from(await res.arrayBuffer()));

For PDFs, ScreenshotNeo supports paper size, margins, landscape mode and page ranges. Other controls include full-page rendering with lazy images loaded, waiting for a selector, delay or network idle, custom CSS and JavaScript, cookies, headers, user agent, authorization, timezone and geolocation, blocking selected requests or resource types, and caching with a chosen TTL. You can also capture one element by CSS selector, click an element first, hide selectors, resize images, use a transparent background, submit asynchronous jobs with signed webhooks, capture up to 100 URLs per bulk call, and query usage through its API. Parameter names used by other screenshot APIs also work, easing migration.

Plans include 1,000 shots per month free with no card; paid plans start at $5 for 3,000 shots. Higher plans are Starter $5/3,000, Growth $15/15,000, Pro $39/60,000, Scale $99/250,000 and Business $249/1,000,000; yearly billing provides two months free, and every feature is on every plan. Create a free ScreenshotNeo account to start.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Troubleshooting checklist

The PDF is blank

  • Wait for the page to finish loading and dismiss overlays before printing.
  • Reload while online and confirm the content is visible in the print preview.
  • For automated capture, wait for a meaningful selector or network idle rather than using an immediate screenshot.

Images, colors or backgrounds are missing

  • Enable Background graphics.
  • Scroll through the page to trigger lazy images.
  • Check whether the site intentionally hides elements in print CSS.

The layout is cut off

  • Switch between portrait and landscape.
  • Reduce scale or margins and inspect the preview.
  • Print a narrower page range or selected section.

The output contains a cookie banner, popup or chat box

Close the element before using the browser dialog, use a reader view where available, or hide it with custom CSS in an automated workflow. ScreenshotNeo removes supported consent banners, newsletter popups and chat widgets before capture.

The browser saves an HTML file instead of a PDF

Return to the print dialog and change the destination to Save to PDF or Microsoft Print to PDF. If the URL itself is a PDF, use the link’s download command instead.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The automated request fails

  • Encode the URL correctly, especially query strings and ampersands.
  • Check that the API key is present and kept server-side.
  • Increase the wait strategy for JavaScript-heavy pages and use a 90-second client timeout.
  • Inspect HTTP status and ScreenshotNeo’s X-Page-Verdict and X-Billed headers to distinguish a failed load from a successful capture.

Which method should you choose?

Need Best starting point Why
One occasional webpage on a computer Browser Print > Save to PDF No additional software; immediate visual preview.
iPhone Safari Share > Markup > Save File To Apple’s built-in documented workflow.
Android Firefox Share > Save as PDF Mozilla’s documented mobile sequence.
Existing PDF link Download the PDF Preserves the publisher’s original PDF instead of re-rendering it.
Repeatable, server-side or AI-agent capture ScreenshotNeo API and MCP access, cleanup controls, PDF options and usage-aware billing.

Frequently asked questions

Does converting a URL require paid software?

No. Desktop browser print dialogs and the documented iPhone and Firefox for Android workflows handle basic conversion without a separate app.

Will links in the PDF remain clickable?

Often, browser-generated PDFs retain hyperlinks, but behavior depends on the browser, page code and PDF viewer. Verify important links after saving.

Can I convert a private webpage?

Yes, if the browser or capture service can authenticate, but protect the resulting file and review where any online service sends or stores page content.

Why does the PDF differ from the live page?

PDF output uses print rendering. Responsive layouts, print-specific CSS, blocked backgrounds, unloaded lazy content and interactive elements can all change the result.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.