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

Fastest method: open the page in Microsoft Edge, press Ctrl+P, review the preview, choose a PDF destination, and save. Firefox offers a similar Save to PDF workflow, while Microsoft Print to PDF is a Windows print-dialog fallback when a browser does not show a PDF destination.

Convert a webpage to PDF in Microsoft Edge

Edge’s print workflow is the simplest way to turn ordinary HTML pages and web-app documents into a PDF on Windows 10. It prints the rendered page rather than exposing the underlying HTML source, so what you see in the preview is what you should expect in the saved file.

  1. Open the HTML content in Edge. This can be a public webpage, a local .html file, or a web application document.
  2. Open printing. Press Ctrl+P. You can also open the Edge menu and choose Print, or right-click the page and choose Print.
  3. Inspect the preview before saving. Scroll through long documents and check page breaks, clipped columns, images, and blank pages.
  4. Set the layout options you need. Depending on the Edge version and available printer settings, adjust paper size, orientation, margins, scale, headers and footers, and background graphics. Microsoft documents scale choices such as fitting content to the printable area, actual size, and a custom percentage.
  5. Select a PDF destination. Choose the PDF option shown in the Printer or Destination list, then select Print or Save.
  6. Name the file and choose a folder. Confirm the location, save, and open the resulting PDF to verify it.

Make the preview match the page

Websites often use CSS that is optimized for a screen, not paper. If colors, panels, or charts disappear, enable Background graphics in the print settings. If text runs off the right edge, try a smaller scale or landscape orientation. If the result is too small to read, use a larger scale and accept additional pages.

Headers and footers can add the page title, URL, date, or page numbers. Turn them off for a clean document or on when the source and capture date matter. Always judge the preview rather than assuming the browser will paginate a responsive layout exactly as it appears on screen.

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

Print only selected HTML

To convert just part of a page, select the required text or images first. Right-click the selection and use the context-menu print command when it is available. The preview should show the selected material instead of the entire page. This is useful for an article section, table, or invoice embedded in a larger application.

Use Immersive Reader for a cleaner article

For supported websites, Edge’s Immersive Reader can remove surrounding navigation, advertising, and other page furniture before printing. Open the page in Immersive Reader, then start the normal Ctrl+P workflow. Availability depends on the website, and complex web applications may not support it.

Save HTML as PDF with Firefox

Firefox is a practical alternative when Edge’s preview or destination list is unavailable.

Rank #2
Dell Latitude 3190 11.6" HD 2-in-1 Touchscreen Laptop Intel N5030 1.1Ghz 4GB Ram 128GB SSD Windows 11 Professional (Renewed)
  • 1.1 GHz (boost up to 2.4GHz) Intel Celeron N5030 Quad-Core
  • 4GB DDR4 System Memory; 128GB Solid State Drive
  • 11.6" HD (1366 x 768) Multi-Touch Display
  • Combo headphone/microphone jack - Noble Wedge Lock slot - HDMI; 2 USB 3.1 Gen 1
  • Windows 11 Pro
  1. Open the webpage or HTML file in Firefox.
  2. Open the page’s print workflow from the browser menu or with Ctrl+P.
  3. Review the print preview and adjust the available page settings.
  4. In the destination drop-down, choose Save to PDF.
  5. Choose a filename and folder, then save the document.

Open the saved file afterward. Check that links, images, page breaks, and any required background colors are present; a browser can render the same CSS differently from another browser.

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

Use Microsoft Print to PDF as a Windows fallback

If neither browser offers a usable PDF destination, the Windows system print dialog may list Microsoft Print to PDF. A Microsoft Q&A community answer posted January 12, 2021 describes selecting that printer, choosing Print, and then supplying a filename and location. Treat this as a fallback description rather than a promise that every current Edge screen has the same labels.

  1. Start printing from the browser or application.
  2. Open the system print dialog if the browser provides a Print using system dialog option.
  3. Select Microsoft Print to PDF from the printer list.
  4. Choose Print, select the destination folder, enter a filename, and save.

If the printer is missing, Windows may have the optional feature disabled or the print subsystem may need repair. Use the browser’s own Save to PDF destination if it is available; otherwise repair the Windows printer feature before retrying.

Rank #3
Dell Latitude 5420 14" FHD Business Laptop Computer, Intel Quad-Core i5-1145G7, 16GB DDR4 RAM, 256GB SSD, Camera, HDMI, Windows 11 Pro (Renewed)
  • 256 GB SSD of storage.
  • Multitasking is easy with 16GB of RAM
  • Equipped with a blazing fast Core i5 2.00 GHz processor.

Which Windows 10 method should you choose?

Method Best use Important controls Limitations
Microsoft Edge print Most one-off webpage and web-app conversions Preview, scale, headers and footers, background graphics, selected content, system dialog Labels and available destinations vary with the Edge and Windows print setup
Firefox print preview Saving a page when Firefox is your working browser or Edge preview fails Preview and Save to PDF destination Rendering and pagination can differ from Edge
Microsoft Print to PDF System-level fallback when a browser PDF destination is unavailable Windows printer selection and save dialog Community-supported procedure; not a browser-specific guarantee

There is no documented controlled comparison establishing that one method always produces better fidelity, speed, or PDF quality. For an important document, compare the preview and inspect the saved file for the content that matters to you.

Troubleshoot missing content, bad pagination, or a failed preview

The PDF is missing colors, images, or panels

  • Return to the preview and enable Background graphics.
  • Confirm that the images have finished loading before opening print.
  • Try the other browser; Edge and Firefox may apply different print CSS rules.
  • If the page contains ads or navigation you do not want, try Immersive Reader when the site supports it.

Text is cut off or too small

  • Use Fit to printable area or reduce the custom scale slightly to prevent clipping.
  • Switch to landscape for wide tables and dashboards.
  • Use a larger scale when readability is more important than page count.
  • Check every page of a long document; a single bad page break can hide a row or heading.

Blank pages or unexpected page breaks appear

  • Inspect the preview for an oversized element, wide table, or CSS page-break rule.
  • Try a different scale, orientation, or paper size.
  • Reload the page and wait for late-loading content before printing again.
  • For a web application, print a smaller section or use its own export command if one is provided.

Edge’s print preview will not open

Microsoft’s Edge troubleshooting guidance recommends retrying the print action and restarting Edge. Close other Edge windows, reopen the page, and press Ctrl+P again. If the preview still fails, try Firefox or the Windows system print dialog. A missing built-in PDF viewer can also be involved in preview-failure scenarios.

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

The PDF destination or Microsoft Print to PDF is missing

  • Look for a Print using system dialog option and check the Windows printer list.
  • Restart Edge and Windows, then retry.
  • Use Firefox’s Save to PDF destination if you need the file immediately.
  • If Microsoft Print to PDF is absent from Windows, repair or re-enable that optional printer feature through Windows settings or system administration tools.

The file saves but will not open

  • Confirm that the saved filename ends in .pdf and that the save operation completed.
  • Try opening it in another PDF reader or browser to rule out a viewer-specific problem.
  • Print the page again after restarting the browser if the file is zero bytes or visibly incomplete.

Convert HTML to PDF without setting up a browser

For repeatable captures, automation, or pages that need consent banners and overlays removed, ScreenshotNeo provides a website screenshot API and MCP server. It can return PNG, JPEG, WebP, or PDF from one GET request. Before capture it accepts cookie or consent banners as a visitor 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 as clean shots, and the response identifies the outcome with X-Page-Verdict and X-Billed headers.

cURL

The API endpoint returns the requested format based on the parameters you send. This example saves a PDF response; replace the target URL and add your API key.

Rank #4
15.6 Inch Laptop Computer, N4020, 4GB DDR4 RAM, 128GB eMMC,with Windows 11
  • EFFORTLESS EVERYDAY PERFORMANCE: Powered by Intel Celeron N4020 processor and Windows 11 Home system, delivering reliable, low-power efficiency for daily tasks like document editing, email, online classes, and web browsing
  • 15.6-INCH FULL HD DISPLAY: Enjoy immersive visuals on the 15.6" FHD (1920x1080) anti-glare screen with micro-edge bezels. Delivers clear details and comfortable viewing for long study sessions, working on spreadsheets, and video playback
  • RESPONSIVE MULTITASKING & STORAGE: Built with 4GB LPDDR4 RAM and 128GB eMMC storage for smooth daily essential use. Expand your storage by up to 1TB via the integrated TF card slot to easily store movies, photos, and working files
  • ADVANCED CONNECTIVITY: Outfitted with 2x Full-Featured Type-C ports for data transfer, fast charging, and dual-monitor output, alongside 2x USB 3.2 Gen1 ports and a 3.5mm audio jack for complete peripheral compatibility
  • LIGHTWEIGHT & SILENT OPERATION: Slim and portable for effortless travel or commuting. Features a 1MP HD webcam for remote meetings, 38Wh battery with 45W Type-C fast charging, and a fanless silent design for peaceful work environments.
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.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://stripe.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://stripe.com', format: 'pdf' });
const res = await fetch(`https://api.screenshotneo.com/v1/shot?${q}`);
if (!res.ok) throw new Error(`HTTP ${res.status}`);
const data = Buffer.from(await res.arrayBuffer());
require('fs').writeFileSync('page.pdf', data);

See the ScreenshotNeo documentation for PDF paper size, margins, landscape mode, page ranges, waits, custom CSS and JavaScript, authentication headers, cookies, timezone and geolocation, blocked resources, caching TTLs, signed links, asynchronous jobs, webhooks, bulk capture, and the usage API. The service also supports full-page captures with lazy images loaded, CSS-selector element capture, dark mode, device presets, retina scale, transparent backgrounds, and HTML/CSS-to-image workflows.

When the API is a better fit

  • Repeatability: Use the same URL and options from a script or CI job instead of relying on a desktop preview.
  • Dynamic pages: Wait for a selector, a delay, or network idle before rendering.
  • Privacy and access: Send custom headers, cookies, user agents, or an Authorization header when the page requires them.
  • Agent workflows: Claude, Cursor, and other MCP clients can use ScreenshotNeo’s take_screenshot, get_page_info, and capture_pdf tools.
  • Cost control: Cache with a TTL you choose and verify billing status from the response headers.

ScreenshotNeo has a free plan with 1,000 screenshots per month and no card required. Paid plans start at $5 for 3,000 shots; every feature is included on every plan. Create a free ScreenshotNeo account to get started.

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.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Checks to perform before sharing a PDF

  • Open the file and confirm the first and last pages are present.
  • Check tables, code blocks, charts, and images at normal zoom.
  • Verify that page numbers, headers, footers, and the source URL are included or removed as intended.
  • Search the PDF for a distinctive heading to make sure text is selectable when that matters.
  • For sensitive pages, check that private content was not loaded from another account or left in a browser header or footer.

Frequently asked questions

Can I convert a local HTML file on Windows 10?

Yes. Open the file in Edge or Firefox, then use the same print-preview workflow. Relative images, fonts, and styles must be available at the paths referenced by the local document.

Best Value
Sale
15.6 Inch Win 11 Laptop Computer, N4020, 4GB DDR4 RAM, 128GB Storage
  • WINDOWS 11 | STABLE PERFORMANCE: Powered by Intel Celeron N4020 processor and Windows 11 system, this laptop delivers stable performance for everyday computing tasks. It supports web browsing, online learning, document editing, email communication, and basic office work with optimized power efficiency, providing a practical and reliable experience for essential daily use for daily use.
  • 15.6” FHD IPS DISPLAY: Features a 15.6-inch Full HD IPS display with narrow bezels, offering wider viewing angles and clearer image details compared to standard panels. The improved screen-to-body ratio enhances visual experience for study, reading, document work, and video playback, making it suitable for both productivity and entertainment use.
  • 4GB DDR4 + 128GB eMMC STORAGE: Equipped with 4GB DDR4 memory and 128GB eMMC storage for everyday basics such as browsing, documents, email, and online learning platforms. The built-in TF card slot supports storage expansion up to 1TB, giving you more flexibility for files, photos, videos, and daily documents. TF card not included.
  • CONNECTIVITY & PORTS: Includes 1× TF card slot, 2× USB 3.2 Gen1 ports, and 2× full-featured Type-C ports (USB 3.2 Gen1). The Type-C ports support data transfer, charging, and video output, enabling flexible connection with external devices such as monitors, storage, and peripherals for daily work and study use.
  • LIGHTWEIGHT DESIGN | ONLINE COMMUNICATION: Designed with a slim, portable profile, this laptop is easy to carry for school, commuting, and travel. A built-in 1MP front camera supports online classes, video meetings, remote communication, and everyday conferencing. The 3300mAh battery works with the low-power system design to support practical daily use, while thermal optimization helps maintain quieter operation during extended tasks.

Does printing create a PDF of the page source code?

No. Browser printing captures the page as rendered. It does not preserve the original HTML, CSS, scripts, or server-side data as editable source.

Why does a PDF contain fewer pages than the browser view?

Print CSS, scale, paper size, and hidden screen-only elements can change pagination. Use the preview and adjust those settings before saving.

Can I preserve clickable links?

Many browser PDF workflows retain hyperlinks, but the result depends on the browser and page. Test a link in the saved file when link behavior is important.

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

Quick Recap

Bestseller No. 1
HP 14' HD Laptop, Windows 11, Intel Celeron Dual-Core Processor Up to 2.60GHz, 4GB RAM, 64GB SSD, Webcam, Dale Pink (Renewed)
HP 14" HD Laptop, Windows 11, Intel Celeron Dual-Core Processor Up to 2.60GHz, 4GB RAM, 64GB SSD, Webcam, Dale Pink (Renewed)
14" diagonal, 1366x768 resolution, HD BrightView LED, Glossy NON-TOUCH Display
$249.99
Bestseller No. 2
Dell Latitude 3190 11.6' HD 2-in-1 Touchscreen Laptop Intel N5030 1.1Ghz 4GB Ram 128GB SSD Windows 11 Professional (Renewed)
Dell Latitude 3190 11.6" HD 2-in-1 Touchscreen Laptop Intel N5030 1.1Ghz 4GB Ram 128GB SSD Windows 11 Professional (Renewed)
1.1 GHz (boost up to 2.4GHz) Intel Celeron N5030 Quad-Core; 4GB DDR4 System Memory; 128GB Solid State Drive
Bestseller No. 3
Dell Latitude 5420 14' FHD Business Laptop Computer, Intel Quad-Core i5-1145G7, 16GB DDR4 RAM, 256GB SSD, Camera, HDMI, Windows 11 Pro (Renewed)
Dell Latitude 5420 14" FHD Business Laptop Computer, Intel Quad-Core i5-1145G7, 16GB DDR4 RAM, 256GB SSD, Camera, HDMI, Windows 11 Pro (Renewed)
256 GB SSD of storage.; Multitasking is easy with 16GB of RAM; Equipped with a blazing fast Core i5 2.00 GHz processor.
$294.98

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.