Some links on this page are affiliate links: if you buy through them we may earn a commission, at no extra cost to you.
To save only part of a webpage as a PDF, first decide what “selected” means: select text or images on the page and print that selection, or save only certain page numbers after the browser creates its print layout. In Microsoft Edge, select the content, right-click and choose Print, then choose a PDF destination. In Firefox, open print settings, choose Save to PDF, and enter the output pages you want. Always inspect the preview because a webpage can paginate differently from its screen view.
Choose the kind of selection you need
Browsers use the word selection for two different jobs. Choosing the right one prevents you from exporting the wrong content.
Selection of webpage content
This means selecting text or images in the original HTML page before printing. It is useful when you want one article section, a table excerpt or a quotation without the rest of the page. Edge supports printing the text or images you have highlighted.
Quick wins for a faster PC:
Repair Windows errors before they cause bigger problemsFix Now →Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Clear out junk files and repair common Windows errorsFree Scan →Selection of printed pages
This means allowing the browser to lay out the entire page, then keeping only pages from that layout—for example pages 2–3 or pages 1, 4 and 7. It does not select an HTML element. A long navigation block, an image or a changed font can move the section onto different PDF pages.
#1 Best Overall
- EDIT text, images & designs in PDF documents. ORGANIZE PDFs. Convert PDFs to Word, Excel & ePub.
- READ and Comment PDFs – Intuitive reading modes & document commenting and mark up.
- CREATE, COMBINE, SCAN and COMPRESS PDFs
- FILL forms & Digitally Sign PDFs. PROTECT and Encrypt PDFs
- LIFETIME License for 1 Windows PC or Laptop. 5GB MobiDrive Cloud Storage Included.
Save selected text or images in Microsoft Edge
- Select the content. Drag over the text or images you want. Keep the selection continuous when possible; separate selections may not print as one clean block.
- Open the selection’s menu. Right-click the highlighted area and choose Print. Edge’s support guidance describes this selection-print workflow.
- Check the preview. Confirm that the preview contains the selected material rather than the whole page. Look for missing images, tables, headings, footnotes and unexpected blank pages.
- Choose a PDF destination. In the printer or destination list, select the available PDF option, such as Save as PDF or Microsoft Print to PDF, depending on your operating system.
- Adjust layout controls. Set portrait or landscape orientation, paper size, margins and scale. If the selection is clipped, try landscape, narrower margins or a smaller scale.
- Save the file. Pick a name and folder, then open the resulting PDF to verify that links, images and page breaks survived.
Exact labels can differ by Edge version, operating system and locale. If the right-click menu has no print command for the selection, use the normal print dialog and test whether a Selection option appears.
Save selected pages from the print layout
- Open print preview. Use your browser’s print command (for example, the browser menu or Ctrl/Cmd + P).
- Choose the PDF destination. Select Save to PDF, Save as PDF or the equivalent PDF printer.
- Inspect page thumbnails. Count the pages in the preview. Do not assume that the page number shown by the website matches the PDF page number.
- Set the page range. In the Pages field choose a custom range. Edge supports ranges and comma-separated values such as
2-3or1,4,7; Firefox provides a Pages control for the same purpose. - Save and verify. Open the PDF and check its first and last pages. If a heading is cut off, return to preview and change margins, scale or orientation.
Page ranges act after print layout. They cannot isolate a paragraph that happens to share a printed page with unrelated material. For that case, select the content itself or use a reader-style view.
Firefox: Save to PDF and Simplified format
Firefox’s print dialog includes Save to PDF and a Pages control. Select the destination, enter the pages to retain, review the preview and save. Firefox may also offer Simplified format. This can remove navigation and other clutter for a reading-focused PDF, but it is not available for every page and can change the appearance or omit layout elements.
The Tool Desk
Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →Outbyte PC Repair FREERepair Windows errors before they cause bigger problemsFix Now →Use simplified output when readability matters more than visual fidelity. Use the original print rendering when the page’s tables, branding, diagrams or links must remain in their site-like arrangement. Mozilla notes that web pages can appear differently on paper, so the preview is the authority.
Chrome and reader-style views
Chrome’s Reading mode can make an article easier to print when it is available. Google cautions that Reading mode may not work as expected on some pages. It can remove navigation and advertisements, but it may also alter tables, images, interactive examples or page order.
Rank #2
- EDIT text, images & designs in PDF documents. ORGANIZE PDFs. Convert PDFs to Word, Excel & ePub.
- READ and Comment PDFs – Intuitive reading modes & document commenting and mark up.
- CREATE, COMBINE, SCAN and COMPRESS PDFs
- FILL forms & Digitally Sign PDFs. PROTECT and Encrypt PDFs
- 1 Year License for 1 Windows & 2 Mobile (Android and/or iOS) devices.
- Open the page’s available Reading mode or reader-style view.
- Confirm that the text, images and tables you need are present.
- Print the reader view to a PDF destination.
- Use the page-range field if you need only certain output pages.
If Reading mode changes the content too much, close it and print the original page instead.
When built-in printing is not enough
Try a simplified or reader view
A reader view is useful for an article surrounded by menus, related links and comments. It is less suitable for dashboards, design mockups, maps and pages where positioning is part of the meaning.
Free tools Windows power users keep installed
One-click scans. No signup required.
Use a browser extension cautiously
The Mozilla Add-ons listing for Webpage To Pdf file describes full-page, article-only and selected-content modes. That listing establishes that the extension is offered; it is not independent proof of its security, quality or current compatibility. Before installing any extension, check its current permissions, publisher, update history and privacy policy. Remove it if it requests access unrelated to exporting pages.
Copy the content into a document
For a short, text-only excerpt, copying the selection into a document and exporting that document can produce a cleaner result. This is a manual reconstruction, however: it may lose links, source styling, image credits and accessibility metadata.
Improve the PDF before saving
- Margins: Narrow margins create more usable space but can cause clipping on printers or viewers.
- Scale: Reduce scale when wide tables overflow; increase it only after checking that no content is cut off.
- Orientation: Landscape is often better for spreadsheets and comparison tables; portrait suits normal articles.
- Background graphics: Enable them when color coding or diagrams carry meaning. Disable them for a smaller, ink-saving document.
- Headers and footers: Turn them off when browser URLs, dates or titles would distract from the selected content.
- Links: Open the saved PDF and test important links. Some print paths preserve clickable links while others render only visible text.
Troubleshooting selected-content exports
The PDF contains the whole webpage
You probably used the normal print command rather than the selection-print command. In Edge, select the text or images first, right-click the selection and choose Print. If that option is unavailable, use reader mode or an extension that explicitly supports selected-content export.
Rank #3
- Convert over 50 document file formats.
- Preview your files from Doxillion before converting them.
- Use batch conversion to convert thousands of files at once.
- Enjoy an easy-to-use, intuitive interface with a Drag and Drop file option.
- Burn your converted or original files directly to disc.
The selection is blank or incomplete
Dynamic pages can replace content after you select it. Wait for images and embedded widgets to finish loading, select again, and preview. If the content is inside an embedded frame, browser printing may treat it as a separate document; open the frame directly when the site permits.
Recommended Free Tools
Images, tables or colors are missing
Check whether the print dialog suppresses background graphics. Try the original page instead of simplified format, switch orientation for wide tables and reduce scale. Some interactive or lazy-loaded elements do not have a printable representation.
The page numbers do not match what you expected
Print layout depends on paper size, margins, fonts and browser version. Count the preview pages after all settings are applied, then enter the resulting numbers in the custom range field.
A page break splits a heading or table row
Change scale or margins, switch orientation, or print a smaller selection. Browser print CSS controls breaks and cannot always keep a complex element together.
The PDF is huge or slow to open
Disable unnecessary background images, select only required pages and avoid printing video posters or large galleries. If a site loads content only after scrolling, scroll through the needed area before printing.
Rank #4
- EDIT text, images & designs in PDF documents. ORGANIZE PDFs. Convert PDFs to Word, Excel & ePub.
- READ and Comment PDFs – Intuitive reading modes & document commenting and mark up.
- CREATE, COMBINE, SCAN and COMPRESS PDFs.
- FILL forms & Digitally Sign PDFs. PROTECT and Encrypt PDFs.
- 1 Year License for 1 Windows & 2 Mobile (Android and/or iOS) devices.
The browser has no PDF destination
On systems without a built-in PDF destination, install or enable the operating system’s PDF printer. Do not buy a physical printer for this workflow; the browser can create a PDF file directly when a PDF destination is available.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Automate a webpage PDF instead of using a browser
For repeatable captures, a screenshot or rendering API can apply the same URL, viewport, wait conditions and PDF settings every time. ScreenshotNeo is the first option to try: it removes consent banners, newsletter popups and chat widgets before capture, bills only clean shots, and has a $5 paid plan for 3,000 shots.
One-call PDF request with cURL
The API base is https://api.screenshotneo.com/v1/shot. Use the PDF options documented in the ScreenshotNeo documentation; the minimal request below returns the target URL in the requested output file.
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp
Change the URL to the page you need and set the output and PDF parameters described in the documentation. The service also supports full-page capture, page ranges, paper size, margins and landscape output.
Python
import requests
r = requests.get("https://api.screenshotneo.com/v1/shot", params={"access_key": "YOUR_API_KEY", "url": "https://stripe.com"}, timeout=90)
r.raise_for_status()
open("shot.webp", "wb").write(r.content)
For a PDF response, add the documented PDF format and page settings to the params dictionary, then use a .pdf filename.
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}`);
if (!res.ok) throw new Error(`${res.status} ${res.statusText}`);
const fs = await import('node:fs/promises');
await fs.writeFile('shot.webp', Buffer.from(await res.arrayBuffer()));
Add the PDF format and layout parameters from the documentation to URLSearchParams when you need a PDF rather than an image.
Best Value
- Save money by using PDF Fusion to view over 100 file formats without having to purchase additional software
- Merge incompatible files quickly and easily by dragging and dropping in PDF Fusion to create a new PDF documents
- Save time with PDF Fusion's editing tools to reuse the content from existing documents without starting from scratch
Or skip the browser setup
ScreenshotNeo handles the repetitive browser work in one request. Before the shot, it accepts cookie or consent banners and removes more than 60 known consent platforms, newsletter popups and chat widgets; each cleanup step can be turned off. Bot checks and CAPTCHAs, blank pages, timeouts, failed loads and cache hits are not billed, and the response identifies the page and billing result in X-Page-Verdict and X-Billed headers. An MCP server provides take_screenshot, get_page_info and capture_pdf tools for Claude, Cursor and other MCP clients. Features include CSS-selector element capture, lazy-image loading, custom JavaScript and CSS, waits, request blocking, cookies and headers, device presets, geolocation, signed links, asynchronous webhooks, bulk capture of up to 100 URLs per call and a usage API.
The Free plan includes 1,000 shots each month with no card. Paid plans start at $5 for 3,000 shots; yearly billing gives two months free. Create a free ScreenshotNeo account to try it.
Do these 3 things before closing this tab:
1Repair Windows errors before they cause bigger problems2Scan for outdated or missing drivers - takes under a minute3Clear out junk files and repair common Windows errorsCost, reliability and privacy checks
- Browser printing: no service charge and no account, but results depend on the current browser, page scripts and print CSS.
- Extensions: may add selection controls, but permissions and maintenance are additional risks.
- Automated capture: gives repeatability and scheduling, but requires an API key and careful handling of private URLs, cookies and authorization headers.
- Verification: open every generated PDF, especially when it will be submitted, archived or used as evidence. Confirm page count, readable text, images, links and the absence of private content.
Frequently Asked Questions
Can I save one paragraph without saving the rest of its printed page?
Usually not with a page-range control. Page ranges select whole output pages; select the paragraph before printing or use a tool that supports selected-content export.
Will a PDF preserve the webpage exactly as it appears on screen?
No. Print CSS, paper size, fonts, margins and browser rendering can change pagination and appearance. Use the preview and verify the saved file.
Do I need a physical printer to create a PDF?
No. Choose a built-in PDF destination such as Save to PDF or Microsoft Print to PDF.
Quick Recap
Can an automated API remove cookie banners before creating a PDF?
ScreenshotNeo removes supported consent banners, newsletter popups and chat widgets before capture; its documentation lists the PDF parameters and cleanup controls.
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.

