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

You can convert a webpage to PDF for free without an API key: open it in Chrome, choose Print, select Save as PDF, review the print preview, and save. For automated URL capture, Chrome Headless has a command-line PDF option; for local HTML or Python scripts, WeasyPrint is another route. The best choice depends on whether you need a one-off file or a repeatable workflow.

Choose the right no-key method

What you need Use What to know
Save one webpage occasionally Chrome’s Print dialog Lets you inspect the print layout and adjust available settings before saving.
Automate PDF capture of a URL Chrome Headless Runs from the command line and supports a capture timeout.
Convert local HTML or generate PDFs from Python WeasyPrint Offers a command-line interface and a Python API; unsupported CSS can produce warnings.
Use a different headless command-line tool wkhtmltopdf The project describes itself as using Qt WebKit; verify its maintenance and compatibility before adopting it for new work.

These options are not interchangeable rendering engines. They differ in setup, input workflow, and supported page behavior. The available documentation does not establish a controlled speed or fidelity winner, so test the tool against the pages you actually need to convert.

Save a webpage as a PDF in Chrome

For a single page, browser printing is usually the least involved option: it needs no API key, script, or separate conversion service. It is also useful when you want to check the result before keeping it.

  1. Open the webpage in Chrome and wait for the parts you need to appear.
  2. Open Print: press Ctrl+P on Windows or Linux, or Command+P on Mac.
  3. Select a PDF destination, such as Save as PDF, in the print dialog.
  4. Review the preview and available settings. Check page breaks, margins, and whether backgrounds or other important page elements appear as intended. The controls shown can vary by platform and browser version.
  5. Save the file and open it to verify the pages that matter.

On Android, Chrome’s documented route is More → Share → Print → Save as PDF; then choose where to save the file. Menu labels and available print controls can differ across versions and devices.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Sale
Epson Workforce ES-50 Compact & Lightweight Mobile Document Scanner
  • PORTABLE SCANNER FOR USE ON-THE-GO — The fastest and lightest mobile single-sheet-fed compact document scanner in its class¹
  • QUICK DOCUMENT SCANNING ― This Epson ultra-fast scanner scans a single page as quickly as 5.5 seconds²; Windows and Mac compatible
  • VERSATILE PAPER HANDLING ― Portable scanner scans documents up to 8.5 x 72 in; Also easily digitizes receipts and ID cards to make accounting, bookkeeping, and organizing simpler
  • INTUITIVE, HIGH-SPEED SOFTWARE — Epson ScanSmart Software³ is a smart tool allowing you to easily scan, review, and save; Stay organized easily with the help of this Epson scanner
  • EASY SETUP — USB-powered connect to your computer for quick and simple scanning; No batteries or external power supply required to operate portable document scanner; Standard Connectivity: USB 2.0

Why the PDF may not look like the screen

A webpage’s print layout can differ from its on-screen layout. A site may apply print-specific styling, and a long page may break across sheets in ways that are not obvious while scrolling. If a background, image, or section is missing, check the preview and the print settings available in your version of Chrome. Do not assume that changing a setting will make every site’s print layout match its screen design; inspect the saved file before relying on it.

Automate a URL-to-PDF conversion with Chrome Headless

Chrome Headless is the command-line choice when a script or scheduled task needs to print a URL without opening the ordinary browser window. The documented basic invocation is:

chrome --headless --print-to-pdf https://example.com/

Replace https://example.com/ with the page to capture. Run the command in an environment where Chrome is installed and available as chrome; depending on your installation, you may need to use the path to the Chrome executable. The command invokes Chrome’s PDF printing workflow rather than a third-party API.

Remove printed headers and footers

To omit the print header and footer, add --no-pdf-header-footer:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #2
Sale
Brother DS-640 Compact Mobile Document Scanner, (Model: DS640)
  • FAST SPEEDS - Scans color and black and white documents a blazing speed up to 16ppm (1). Color scanning won’t slow you down as the color scan speed is the same as the black and white scan speed.
  • ULTRA COMPACT – At less than 1 foot in length and only about 1. 5lbs in weight you can fit this device virtually anywhere (a bag, a purse, even a pocket).
  • READY WHENEVER YOU ARE – The DS-640 mobile scanner is powered via an included micro USB 3. 0 cable allowing you to use it even where there is no outlet available. Plug it into you PC or laptop and you are ready to scan.
  • WORKS YOUR WAY – Use the Brother free iPrint&Scan desktop app for scanning to multiple “Scan-to” destinations like PC, Network, cloud services, Email and OCR. (2) Supports Windows, Mac and Linux and TWAIN/WIA for PC/ICA for Mac/SANE drivers. (3)
  • OPTIMIZE IMAGES AND TEXT – Automatic color detection/adjustment, image rotation (PC only), bleed through prevention/background removal, text enhancement, color drop to enhance scans. Software suite includes document management and OCR software. (4)
chrome --headless --print-to-pdf --no-pdf-header-footer https://example.com/

Set a maximum wait

Chrome Headless documents --timeout to limit how long capture waits. For example, a 5-second maximum wait can be expressed as:

chrome --headless --print-to-pdf --timeout=5000 https://example.com/

A timeout is a maximum wait, not proof that the page has finished rendering. A page that fills in content after its initial load may need a different wait strategy, and time-dependent JavaScript can affect what appears. Chrome’s documentation also describes virtual-time budgeting for such scripts. Test a representative page before using a command across a batch, and verify that its important content appears in the resulting PDF.

Convert local HTML or use Python with WeasyPrint

WeasyPrint provides a command-line interface and a Python API, so it can fit projects that already work with local HTML or Python. A documented Python example converts a URL and writes a PDF:

from weasyprint import HTML

HTML('https://weasyprint.org/').write_pdf('/tmp/file.pdf')

Change the URL and destination to suit your page and output location. For a local file, WeasyPrint’s HTML interface can also be used with a filename, for example:

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.
Rank #3
Sale
Epson Workforce ES-400 II High-Speed Color Duplex Desktop Document Scanner
  • FAST DOCUMENT SCANNING — Document scanner with feeder allows you to speed through stacks with a 50-sheet Auto Document Feeder (ADF); Efficient office scanner to help you scan more productively
  • INTUITIVE, HIGH-SPEED SOFTWARE — Quickly scan with this desktop document scanner; Epson ScanSmart Software lets you easily preview scans, email files, upload to the cloud, and more; Plus, automatic file naming saves even more time
  • SEAMLESS INTEGRATION — Easily incorporate your data into most document management software with the included TWAIN driver; Office document scanner integrates seamlessly with business workflows
  • EASY SHARING — Duplex scanner allows you to scan straight to email or popular cloud storage2 services like Dropbox, Evernote, Google Drive, and OneDrive for simple storage and sharing
  • SIMPLE FILE MANAGEMENT — Scanner allows the creation of searchable PDFs with Optical Character Recognition (OCR) and convert scans to editable Word or Excel files effortlessly; Designed for home and office document scanning
from weasyprint import HTML

HTML(filename='input.html').write_pdf('output.pdf')

Its command-line workflow can convert an HTML input to a PDF as well. If your project depends on a particular styling detail, inspect the result and any warnings rather than assuming every CSS property is supported in the same way as a browser.

Account for resources, cookies, and authentication

Converting a local HTML file does not automatically make its linked images, stylesheets, or fonts available: the converter still needs to be able to locate and fetch those resources. Check that paths resolve in the conversion environment and that the rendered PDF includes them.

WeasyPrint’s documented default HTTP client does not support advanced features such as cookies or authentication. A custom URL fetcher can address some cases, but authenticated sites may require additional setup. If a page only displays its content after sign-in or consent, confirm how the converter receives the required state before treating the output as complete.

Handle HTML and CSS as untrusted input carefully

WeasyPrint’s project documentation warns against processing untrusted HTML or CSS without considering security. A service that accepts arbitrary user input should assess the risks of fetching external resources and processing hostile content, and should isolate conversion work appropriately. Do not treat a local conversion library as automatically safe just because it runs on your own machine.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #4
Canon Canoscan Lide 300 Scanner (PDF, AUTOSCAN, Copy, Send)
  • Scanner type: Document
  • Connectivity technology: USB
  • With Auto Scan Mode, the scanner automatically detects what you're scanning
  • Digitize documents and images

What about wkhtmltopdf?

wkhtmltopdf is another command-line option, and its project describes it as an open-source tool using Qt WebKit. That identifies its rendering engine, but does not establish current compatibility with every modern site. The project’s indexed homepage is older than the Chrome and WeasyPrint documentation considered here, so check its current maintenance status, installation support, and output on your target pages before starting a new dependency on it.

For a new workflow, choose based on your input and environment: Chrome Headless when you want Chrome’s URL printing from a command line, or WeasyPrint when its CLI or Python API suits your HTML pipeline. Do not choose solely on assumed speed or perfect CSS fidelity; no controlled comparison establishes either.

Check the PDF and troubleshoot common failures

Before relying on a converted file, open it and check the pages or elements that matter. The HTML-to-PDF step can succeed while the result still has an unwanted page break, missing image, or incomplete dynamic content.

Symptom Likely cause What to try
The PDF is missing content that appears later on the webpage The page renders content asynchronously, or the capture wait ended before that content appeared. For Chrome Headless, adjust the wait approach or timeout for the page, then verify a representative output before automating a batch.
Page breaks, margins, or backgrounds look wrong The printed layout differs from the screen layout, or a print setting is not what you expected. Use Chrome’s preview and available print controls, save a new file, and inspect it rather than judging only from the webpage.
A WeasyPrint PDF lacks styles, images, or fonts A resource path may not resolve, a remote resource may be unavailable, or a CSS property may be unsupported. Check the resource locations and converter warnings; compare the rendered pages with the intended layout.
A WeasyPrint conversion cannot access a signed-in page The default HTTP client does not support cookies or authentication. Consider whether a custom URL fetcher fits the case, or use a workflow that can provide the necessary authenticated state.
A headless command does not run The Chrome executable may not be installed under the command name chrome or may not be on the command path. Use the executable path for your installation and confirm that the command can launch Chrome in the environment running the job.
The PDF exists but differs from what a visitor sees Print styling, delayed page content, or site-specific behavior changed the captured result. Compare the output with the live page, check when the missing content loads, and test the selected conversion route on that page.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Performance, reliability, and cost

The browser print dialog is a practical choice when a person can review each file. Headless capture and library-based conversion are better suited to repeatable jobs, but automation shifts the work to setup, page readiness, resource access, and output verification. A timeout can cap a Chrome Headless wait; it cannot guarantee the page has become complete by that point.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Best Value
Sale
ScanSnap iX2500 Wireless or USB High-Speed Document Scanner, Black
  • OUR MOST ADVANCED SCANSNAP. Large touchscreen, fast 45ppm double-sided scanning, 100-sheet document feeder, Wi-Fi and USB connectivity, automatic optimizations, and support for cloud services. Upgraded replacement for the discontinued iX1600
  • CUSTOMIZABLE. SHARABLE. Select personalized profiles from the touchscreen. Send to PC, Mac, mobile devices, and clouds. QUICK MENU lets you quickly scan-drag-drop to your favorite computer apps
  • STABLE WIRELESS OR USB CONNECTION. Built-in Wi-Fi 6 for the fastest and most secure scanning. Connect to smart devices or cloud services without a computer. USB-C connection also available
  • PHOTO AND DOCUMENT ORGANIZATION MADE EFFORTLESS. Easily manage, edit, and use scanned data from documents, receipts, photos, and business cards. Automatically optimize, name, and sort files
  • AVOIDS PAPER JAMS AND DAMAGE. Features a brake roller system to feed paper smoothly, a multi-feed sensor that detects pages stuck together, and skew detection to prevent paper damage and data loss

The documented routes above do not require a screenshot or PDF API key, and this article does not claim a particular conversion speed, batch capacity, or output-fidelity score. Those depend on the page and environment; test representative pages, especially those with delayed content, authentication, or complex styling. The software routes described here do not state a conversion fee, but any costs associated with your computer, hosting, or other infrastructure are separate from an API price.

Or skip the browser setup

ScreenshotNeo is a website screenshot API and MCP server. Its API requires an access key, so it is not a no-key alternative to the browser and local-tool methods above. It can return PNG, JPEG, WebP, or PDF; see the ScreenshotNeo documentation for the PDF request format. The following one-call example saves a webpage screenshot as WebP; it is an image example, not a PDF conversion command:

curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp

ScreenshotNeo says it accepts cookie and consent banners like a visitor and removes more than 60 known consent platforms, newsletter popups, and chat widgets before capture; each of those steps can be turned off. Bot checks or CAPTCHAs, blank pages, timeouts, failed loads, and cache hits are not billed, and responses report the page verdict and billing status in headers. Its MCP server provides take_screenshot, get_page_info, and capture_pdf tools for Claude, Cursor, and other MCP clients.

The Free plan includes 1,000 screenshots a month with no card; paid plans start at $5 for 3,000, and every feature is available on every plan. See ScreenshotNeo, or sign up free for 1,000 screenshots a month with no card.

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

Frequently Asked Questions

Can I convert HTML to PDF without an internet connection?

A local HTML file can be converted offline if the chosen tool and all required page resources are already available locally. A webpage URL or remotely hosted images and stylesheets require network access.

Does saving a webpage as PDF create a scanned document?

No. The print workflow produces a PDF from webpage content; it is not the same as scanning a paper page into an image-based PDF.

Does Chrome’s scanned-PDF OCR privacy statement apply to webpage printing?

No. Chrome Help’s statement that OCR for scanned PDFs runs on-device without sending data to Google or third parties refers to OCR when opening scanned PDFs, not to every webpage print or PDF workflow.

Quick Recap

Bestseller No. 4
Canon Canoscan Lide 300 Scanner (PDF, AUTOSCAN, Copy, Send)
Canon Canoscan Lide 300 Scanner (PDF, AUTOSCAN, Copy, Send)
Scanner type: Document; Connectivity technology: USB; With Auto Scan Mode, the scanner automatically detects what you're scanning
$75.00

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.

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