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

Fast answer: open the .html file in Chrome, press Ctrl+P (Windows/Linux) or Command+P (Mac), choose Save as PDF as the destination, review the preview, and select Save. Chrome creates a separate PDF; your original HTML file is unchanged.

Convert a local HTML file to PDF on a desktop

The procedure below applies to a local file opened in Chrome, normally through a file:// address or by opening the file from your file manager. Keep the file open in the active Chrome tab before opening print preview.

  1. Open the HTML file. In Chrome, press Ctrl+O (Windows/Linux) or use your operating system’s Open with command, then select the .html file. Confirm that the page, images and styling look as expected.
  2. Open print preview. Choose File > Print, press Ctrl+P on Windows/Linux, or press Command+P on Mac.
  3. Choose the PDF destination. In the destination selector, select Save as PDF. If it is not immediately listed, open the destination list or choose a See more option, depending on your Chrome version and operating system.
  4. Set the page options. Review the preview and change the controls that are available in your dialog, such as paper size, orientation, margins, scale and page range. The preview is the best indication of how content will break across pages.
  5. Save the file. Select Save (or the dialog’s equivalent PDF action), choose a filename and folder, and confirm. Chrome writes the PDF to that location without replacing the HTML source.
System Print-preview shortcut Destination
Windows Ctrl+P Save as PDF
Linux Ctrl+P Save as PDF
macOS Command+P Save as PDF

Google’s Chrome help describes the same general flow: open the page, image or file, invoke Print, choose a destination and print settings, then print. The exact labels and available controls can vary by platform and Chrome release.

Make the PDF match the HTML layout

Check the preview before saving

Printing is a paginated layout, not a screenshot of the browser window. Look for headings stranded at the bottom of a page, columns that become too narrow, images split between pages, and content that runs beyond the paper edges. Change orientation, margins or scale until the preview is usable, then save.

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.
#1 Best Overall
Elebase USB to USB C Adapter for iPhone 18 Pro Max,USBC Car Charger Adapter
  • Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
  • Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
  • Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
  • Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
  • 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.

Wait for local resources

A local page can depend on images, stylesheets, fonts or scripts. Allow those resources to finish loading before opening Print. If the preview is blank or incomplete, return to the tab, reload if necessary, wait for the page to settle, and open preview again. Chrome’s official help does not guarantee that every local dependency will render in a printed PDF, so inspect the result rather than assuming the browser tab and PDF are identical.

Prepare print-specific CSS when you control the source

For predictable output, add a print stylesheet that hides navigation and other screen-only elements and sets sensible widths for paper. Keep the screen version and print version separate with an @media print rule. This is an HTML authoring technique, not a Chrome setting; preview remains the authority for the final pagination.

Choose page range and paper settings deliberately

Use a page range when you need only part of a long document. Select the paper size required by the recipient and use landscape when a wide table or code listing would otherwise be clipped. Scaling can solve an overflow problem, but excessive reduction makes text harder to read.

Rank #2
Anker USB-C Hub, 5-in-1 USB Hub for Laptops, 4K HDMI Multiport Adapter
  • 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
  • 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
  • Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
  • 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
  • What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.

Where Chrome saves the PDF

If the save dialog appears, the location and filename you choose determine the result. If Chrome saves without asking, check the browser’s configured download folder and its Downloads page. Chrome allows you to change the download location and to enable Ask where to save each file before downloading; the default folder differs by operating system and can be changed by a user or administrator.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • Search the filename you entered, including the .pdf extension.
  • Open Chrome’s Downloads page to see the recorded path or reveal the file in your system’s file manager.
  • If another program automatically opens PDFs, verify that the file was still written to disk before troubleshooting the conversion.

Or skip the browser setup

If the HTML is available at a public URL, ScreenshotNeo can capture that page through one API request and return PNG, JPEG, WebP or PDF output. It is not a local-file reader: publish the page at an address the service can reach, then use the API. See the ScreenshotNeo documentation for output and capture parameters.

ScreenshotNeo removes cookie-consent banners, newsletter popups and chat widgets before capture; bot checks, blank pages, timeouts, failed loads and cache hits are not billed, and each response identifies the page verdict and billing status. Its MCP server provides take_screenshot, get_page_info and capture_pdf tools for Claude, Cursor and other MCP clients.

cURL

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

Python

import requests
r = requests.get("https://api.screenshotneo.com/v1/shot", params={"access_key": "YOUR_API_KEY", "url": "https://stripe.com"}, timeout=90)
open("shot.webp", "wb").write(r.content)

Node.js

const q = new URLSearchParams({ access_key: 'YOUR_API_KEY', url: 'https://stripe.com' });
const res = await fetch(`https://api.screenshotneo.com/v1/shot?${q}`);

The examples use the documented request shape and a WebP filename; select PDF output and the corresponding filename when making a PDF capture, as described in the documentation. Every feature is included on every plan. The Free plan includes 1,000 shots per month with no card; paid plans start at $5 for 3,000 shots. Yearly billing provides two months free.

Rank #3
Sale
Anker USB C Hub, 7in1 Multi-Port USB Adapter, 4K@60Hz USBC to HDMI Splitter
  • Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
  • Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
  • Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
  • Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
  • What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.
Plan Included shots Price
Free 1,000/month $0, no card
Starter 3,000 $5
Growth 15,000 $15
Pro 60,000 $39
Scale 250,000 $99
Business 1,000,000 $249

Start with 1,000 free screenshots a month—no card required.

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

Troubleshooting Chrome’s local HTML-to-PDF conversion

The preview is blank or missing content

  • Return to the HTML tab and wait for images, stylesheets, fonts and scripts to finish loading.
  • Reload the file, then reopen Print preview.
  • Check whether the file references resources with paths that work from its local folder. A broken local path will also produce missing content in the PDF.
  • If the page depends on a script or network request that does not run in the local context, use a version of the document that embeds the needed assets or serve it from a local web server before printing.

The PDF layout differs from the tab

Use the preview to adjust orientation, margins, paper size and scale. A responsive page can choose a different layout for print, and content that fits a wide monitor may not fit portrait paper. Reduce unnecessary width in the source or choose landscape rather than shrinking text until it is unreadable.

“Save as PDF” is not listed

Open the destination list fully and check any additional destinations. On work or school computers, an administrator can manage print-preview settings and available destinations, including the Save as PDF destination. If the browser is managed, contact the administrator rather than attempting to bypass policy.

Rank #4
Sale
UGREEN USB to USB C Adapter Combo 4-Pack, 10Gbps USB C Converter Space Gray
  • Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
  • Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
  • Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
  • Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
  • Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft

I cannot find the saved file

Check the path shown in the save dialog, Chrome’s Downloads page and the configured download folder. If Chrome is set to ask for a location, the dialog may have opened behind another window or been canceled before the file was written.

Images or fonts look wrong

Confirm that the local references resolve, wait for all resources to load, and inspect several pages in preview. A font unavailable to Chrome or an image that requires an external request may be substituted or omitted. Embedding assets or using paths relative to the HTML file can make the source more portable.

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

The PDF has unexpected page breaks

Adjust margins, scale and paper size first. Then revise the document’s print CSS, especially large fixed-height elements, wide tables and headings that are forced to remain with following content. Reopen preview after each meaningful change.

Best Value
Anker USB C Hub, 5-in-1 USBC to HDMI Splitter with 4K Display
  • 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
  • Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
  • Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
  • HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
  • What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Converting a local HTML file on Android

Android uses a different interface from desktop Chrome. Google’s documented route is More > Share > Print, then choose Save as PDF and select a storage location. The desktop shortcut keys do not apply. The documented mobile steps do not establish a separate workflow for opening arbitrary local HTML files, so treat local-file support as device- and app-dependent; if the file does not open in Chrome, transfer it to a desktop for the procedure above.

Practical checks before you distribute the PDF

  • Open the saved PDF in a viewer and inspect the first, middle and last pages.
  • Verify that links, code, tables and images are present and readable.
  • Confirm the paper size, orientation and page count meet the recipient’s requirements.
  • Compare the PDF against the HTML at the intended zoom; do not rely on the browser tab alone.
  • Keep the original HTML and its asset folder so you can regenerate the PDF after edits.

FAQ

Does saving as PDF modify my HTML file?

No. Chrome writes a new PDF and leaves the source file in place.

Can I print only selected pages?

Yes. In print preview, use the available page-range control instead of printing the entire document.

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.

Why does an organization-managed Chrome behave differently?

Enterprise policy can restrict printing and destinations. A managed browser may therefore omit or disable Save as PDF even when the same Chrome version on an unmanaged device offers it.

Frequently Asked Questions

Does saving as PDF modify my HTML file?

No. Chrome writes a new PDF and leaves the source file in place.

Can I print only selected pages?

Yes. Use the page-range control in print preview.

Why does an organization-managed Chrome behave differently?

Enterprise policy can restrict printing and available destinations, including Save as PDF.

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.