How to Save a Webpage as PDF Using SingleFileZ and Your Browser
Save a webpage as a PDF with your browser’s print dialog. Learn when to use SingleFile instead for an offline webpage archive.
To save a webpage as a PDF, use your browser’s print dialog and choose “Save to PDF.” SingleFileZ does not create PDFs: it saves a webpage as a self-contained HTML/ZIP-style archive for offline browsing. The two methods preserve different things, so choose based on whether you need a portable document or a copy of the webpage and its resources.
Choose PDF or an offline webpage archive
| Your goal | Use | What you get |
|---|---|---|
| Share, submit, or store a paginated document | Your browser’s print-to-PDF feature | A PDF whose pagination and appearance depend on print settings and the site’s print styles |
| Keep a webpage with its resources for offline viewing | SingleFile or its self-extracting file format | A saved webpage archive, not a PDF |
The SingleFileZ project says it has been merged into SingleFile. SingleFile includes a self-extracting file format option. If you specifically need a PDF, use the browser print workflow below; if you need to revisit a resource-containing page offline, use the archive workflow.
Save a webpage as PDF in Firefox
- Open the webpage you want to save and wait for its important content to load.
- Open Firefox’s print preview using the browser’s Print command.
- In the destination menu, choose Save to PDF.
- Review the preview. Set the pages, orientation, paper size, scale, and margins you need. Where available, choose simplified or original formatting, and decide whether to include headers, footers, and background graphics.
- Save the file, then open the PDF and check its pages, images, and links.
Print output can differ from the page on screen. Websites may have print-specific styles, content may flow onto extra pages, and backgrounds may be omitted unless enabled. Reviewing the preview before saving catches most layout surprises. Mozilla’s Firefox printing instructions describe the print controls and Save to PDF destination.
Settings that change the PDF
| Setting | When to adjust it |
|---|---|
| Pages | Save a selected page range when the browser exposes a pages control. |
| Orientation | Use landscape for wide tables or diagrams; portrait is typical for articles. |
| Paper size | Match the recipient’s paper format or choose a larger size for wide content. |
| Scale | Reduce scale if content is clipped horizontally; increasing it can improve readability but create more pages. |
| Margins | Adjust margins to reclaim space or improve readability. Very small margins can still conflict with page content. |
| Headers and footers | Turn these off for a cleaner document, or leave them on if the printed URL and date are useful. |
| Background graphics | Enable this if color blocks or background images convey meaning. It can increase ink use when printed. |
| Simplified or original view | Use simplified formatting when offered for a less cluttered article; use original formatting when site layout matters. |
Save the page with SingleFile instead
Use SingleFile when you need a browsable offline copy rather than a paginated PDF. The SingleFileZ add-on workflow described by its project is to let the page finish loading, then click the extension’s toolbar button. Its context menu also supports saving selected content, frames, links, and multiple tabs. The resulting file is an HTML/ZIP hybrid archive, not a PDF.
- Install or open SingleFile in a supported browser.
- Load the page and wait for its content and resources to finish loading.
- Use the SingleFile toolbar button to save the page. For supported alternate targets, use its context menu.
- To create the self-extracting format, open SingleFile’s settings and select the corresponding file format option.
- Open the saved file in the browser you expect to use and confirm the content displays correctly.
SingleFile’s project lists compatibility with Chrome, Firefox desktop and mobile, Microsoft Edge, Safari, Vivaldi, Brave, Waterfox, Yandex Browser, and Opera. That does not mean every saved archive will behave identically in every browser. Self-extracting archives can have browser-specific requirements; for example, Chrome may require the extension or a command-line switch to open saved files from the local filesystem. See the SingleFile project documentation and the SingleFileZ project for format and compatibility details.
Privacy and permissions
The SingleFileZ FAQ says processing happens in the browser and states, “SingleFileZ does not upload any data to third-party servers.” Saving can still download page resources that are present but not displayed or cached. Mozilla’s extension listing also shows permissions including access to data for all websites, browser tabs, and downloads. Review the permissions and project documentation before installing an extension, especially on a managed or sensitive browser profile.
Or skip the browser setup
If you need a screenshot or PDF capture through an API, ScreenshotNeo takes one GET request with a URL and returns an image or PDF. Its API can remove cookie banners, newsletter popups, and chat widgets before capture. Bot checks, blank pages, failed loads, timeouts, and cache hits are not billed, and responses indicate the page verdict and billing status in headers. An MCP server provides screenshot tools for AI agents, including 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. See the ScreenshotNeo API documentation.
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp
Create a free ScreenshotNeo account for 1,000 screenshots a month with no card.
Troubleshooting
| Problem | Likely cause | What to try |
|---|---|---|
| The PDF is missing images, colors, or sections | The site’s print stylesheet hides content, images had not loaded, or background printing is off. | Wait for the page to load, check the preview, enable background graphics if needed, and try the original layout if simplified printing is selected. |
| Text or a table is cut off | The content is wider than the selected paper size. | Try landscape, a larger paper size, or a lower scale; inspect the preview before saving. |
| The PDF has unexpected page breaks | Webpage print styles control pagination. | Adjust scale and margins, and review the page range. Some page breaks cannot be controlled from the browser dialog. |
| SingleFile output is not a PDF | SingleFile saves a webpage archive. | Use print-to-PDF for a PDF; keep the SingleFile output when an offline webpage copy is the goal. |
| A self-extracting archive will not open locally | The browser may restrict local-file scripts or require the extension or a launch option. | Try opening it in a browser supported by the archive workflow, install/use the extension where appropriate, or choose ordinary PDF output when portable document access is the requirement. |
| The saved archive is incomplete | The page or its resources had not finished loading, or resources were dynamically loaded. | Wait for the page to settle before saving. Check the project FAQ for performance and resource settings. |
Performance, reliability, and file size
- PDF: Large pages, background images, and high-resolution assets can produce larger files and longer print processing. Saving only the required pages and disabling unnecessary backgrounds can reduce size.
- Archive: A resource-containing page may take longer to save and can be larger than a text-only PDF, because images and other page resources are included. Pages with dynamic content may not be fully represented if saved before they settle.
- Reliability: Neither output guarantees that a live site’s interactive behavior is preserved. A PDF is a document snapshot; an archive is a local webpage copy whose behavior can depend on browser compatibility and local-file restrictions.
- Cost: The browser print-to-PDF and extension workflows described here do not require a paid capture service. Printing the resulting PDF on paper is optional. ScreenshotNeo’s free and paid API plans are listed above for automated image or PDF captures.
FAQ
Can SingleFileZ save directly to PDF?
No. Its output is a self-contained webpage archive. Use the browser’s print dialog to create a PDF.
Is SingleFileZ still a separate project?
The project says it has been merged into SingleFile. SingleFile’s settings include a self-extracting file format.
Which format should I send to someone who does not have the extension?
For a document that is straightforward to share and print, send a PDF. A self-extracting webpage archive may depend on browser behavior or local-file settings.
Will a PDF look exactly like the webpage?
Not necessarily. Print styles, pagination, scale, and background settings can change the result, so inspect the preview and the saved file.


