ScreenshotNeo

BlogHTML to image & PDF

Best Free Tools to Archive a Webpage as a PDF on Mac

Save a webpage as a PDF on Mac with the built-in print dialog, Chrome, or Firefox. Learn when Safari Web Archive and SingleFile are better for offline reading.

By the ScreenshotNeo team4 October 20269 min read

To save a webpage as a PDF on a Mac, open the browser’s print dialog, check the preview, then choose Save as PDF. In Chrome, press Command-P; Firefox also offers Save to PDF in its print preview. Safari’s Web Archive and the SingleFile extension can preserve a webpage for offline viewing, but they save HTML-based archives, not PDFs.

Choose the output based on what you need: a portable document with pages, or a browser-viewable archive that keeps more of the webpage’s resources together. Print output can differ from the on-screen page, so inspect the preview and open the saved file before relying on it.

1. Choose the right archive format

Need Use Output
A shareable document that opens in common PDF readers Print to PDF from macOS, Chrome, or Firefox PDF
A cleaner print layout, if available for the page Firefox Simplified print format, then save to PDF PDF
A browser-viewable archive with graphics and links Safari’s Save As > Web Archive Web Archive
A single HTML file containing page resources SingleFile HTML
A screenshot of the rendered page ScreenshotNeo screenshot API PNG, JPEG, WebP, or PDF

A PDF is usually the best fit for reading, sharing, or attaching to a record. A Web Archive or self-contained HTML file can be more useful when you want a webpage-like offline copy. None of these methods guarantees preservation of every live feature, such as a video player, interactive app, or content that only appears after login.

2. Save a webpage as a PDF with the macOS print dialog

  1. Open the webpage in a browser and wait for the content you need to appear.
  2. Choose File > Print. The exact menu wording can vary by browser.
  3. Review the print preview. Set the paper size, orientation, and page range you need.
  4. Open the PDF menu in the print dialog and choose Save as PDF.
  5. Name the file, choose a folder, save it, and open the PDF to confirm the result.

Apple documents saving print output as a PDF through the macOS print dialog. Browser print dialogs may have their own preview and settings, but the system PDF option is a useful starting point. [Apple: Print documents from your Mac]

Settings to check before saving

  • Paper size: Use the size expected by the person or system receiving the PDF.
  • Orientation: Try landscape for wide tables, dashboards, or code samples.
  • Page range: Exclude unrelated pages when the print preview provides page selection.
  • Scale and margins: Reduce scale or margins if content is clipped, but check that text remains readable.
  • Backgrounds: Browser print settings may omit background colors or images. Enable them only when they carry useful information.
  • Headers and footers: Turn them off if browser-generated dates, URLs, or page numbers clutter the document; leave them on if source identification matters.

3. Save a PDF from Chrome on Mac

  1. Open the page in Chrome.
  2. Press Command-P, or choose File > Print.
  3. Review the preview and adjust the available print settings.
  4. Choose Save as PDF as the destination, then save the file.
  5. Open the PDF and confirm that important images, tables, and text are present.

Google documents Command-P on Mac for opening Chrome’s print flow. Its separate Save page as command saves a webpage; it is not the same as printing to PDF. [Google Chrome: Print from Chrome] [Google Chrome: Save a page]

When Chrome’s PDF needs adjustment

  • If the page is too wide, preview landscape orientation or a smaller scale.
  • If the PDF has unnecessary browser headers or footers, check the print settings for a headers-and-footers option.
  • If a background is missing, look for a background graphics option in the print dialog.
  • If content is absent, return to the webpage, wait for it to load, and print again. Some pages load content as you scroll or require interaction.

4. Save a PDF from Firefox on Mac

  1. Open the page in Firefox and open its print dialog.
  2. Choose Save to PDF in the destination or printer menu.
  3. Set orientation, page range, paper size, scale, margins, headers and footers, and backgrounds as needed.
  4. If Firefox offers Simplified format for the page, preview it and compare it with the regular print layout.
  5. Save and inspect the resulting PDF.

Firefox’s print instructions describe these controls and note that Simplified format may be available for some pages. Selecting Simplified disables printing backgrounds. Page print styles can rearrange content compared with the screen, so use the preview rather than assuming the result matches the browser view. [Mozilla: How to print webpages in Firefox]

When to use Firefox Simplified

Try it for article pages where navigation, sidebars, or other surrounding material makes the regular print layout hard to read. It may not appear for every page, and it can remove visual backgrounds. Keep the standard print version if those backgrounds or design elements contain information you need.

5. Save a Safari Web Archive for offline browsing

Safari has a save option for Web Archive and Page Source. A Web Archive can save graphics and keep links working while their destination pages remain available. Page Source saves HTML source only. These are not PDFs, so use them when a browser-viewable page archive is more useful than a paginated document. Apple notes that some webpages may prevent items from being saved. [Apple: Save a webpage in Safari]

  1. Open the webpage in Safari.
  2. Choose File > Save As.
  3. Select Web Archive if offered, then choose a filename and location.
  4. Open the saved archive in Safari to check what it retained.

For a PDF, use Safari’s print flow and choose the PDF save option in the print dialog instead. Keep the file extension and name clear so you do not mistake an archive for a PDF.

6. Use SingleFile for a self-contained HTML page

SingleFile is a browser extension that saves a webpage and resources such as images, styling, frames, and fonts into a single HTML file. It is useful for an offline HTML archive, not as a PDF generator. If you specifically need a PDF, print the page to PDF instead. The project documents support for several browsers; the Safari App Store listing describes its Safari extension as free. Availability can vary by region. [SingleFile project] [SingleFile for Safari on the App Store]

After saving, open the HTML file in a browser while offline if offline access is important, and check the sections and images you need. A saved HTML page is still different from a fixed-layout PDF, and interactive or remotely loaded content may not behave as it did online.

7. Decide between a PDF and an offline webpage archive

  • Choose PDF for a portable, paginated document that is easy to share and print.
  • Choose Safari Web Archive when you want a Safari-readable archive that can retain graphics and links.
  • Choose SingleFile when you want a single HTML file with page resources for browser viewing.
  • Save both when you need a convenient reading copy and a closer webpage-style archive. Give each file a name that states its format.

There is no universally most faithful PDF workflow for every website. The site’s print styles, dynamic content, access restrictions, and browser can affect the result. Compare the preview and saved output for the specific page you need.

8. Capture a webpage as a PDF with an API

For repeatable captures in a script or service, ScreenshotNeo can return a screenshot or PDF through one GET request. It is a website screenshot API and MCP server for developers. The request below asks for a PDF; see the ScreenshotNeo API documentation for the supported request options and PDF settings.

curl -G "https://api.screenshotneo.com/v1/shot" \
  -d access_key=YOUR_API_KEY \
  --data-urlencode url=https://example.com \
  -d format=pdf \
  -o page.pdf

Keep the API key private in scripts and server configuration. Do not commit a real key to a public repository. The PDF returned by an API is a capture of the rendered page; it does not turn an interactive website into a working offline application.

Or skip the browser setup

Use ScreenshotNeo for a one-call capture. This example requests a PDF of the page; consult the API docs for the PDF and capture options available for your request.

curl -G "https://api.screenshotneo.com/v1/shot" \
  -d access_key=YOUR_API_KEY \
  --data-urlencode url=https://example.com \
  -d format=pdf \
  -o page.pdf

ScreenshotNeo accepts cookie or consent banners like a visitor and removes more than 60 known consent platforms, newsletter popups, and chat widgets before capture; each step can be turned off. Bot checks or CAPTCHAs, blank pages, timeouts, failed loads, and cache hits are not billed, and response headers identify the page verdict and billing status. Its MCP server includes tools for AI agents to take screenshots, inspect page information, and capture PDFs. The free plan includes 1,000 screenshots a month with no card; paid plans start at $5 for 3,000 screenshots.

Sign up free for 1,000 screenshots a month, with no card required.

Troubleshooting PDF and archive captures

Problem Likely cause What to try
The saved PDF is blank or missing a section The page had not finished loading, or content appears only after scrolling or interaction. Wait for the page, scroll through it to trigger lazy content, and print again. Check that the section appears on screen first.
Text or columns are cut off The webpage’s print layout is wider than the selected paper size. Try landscape, reduce scale, adjust margins, or select a wider paper size; verify that text remains legible.
Colors or images are missing Print settings omit background graphics, or the site uses print styles that hide them. Enable background graphics if available. If the page still differs, the site may intentionally use a simplified print stylesheet.
Firefox Simplified is unavailable The option is not offered for every webpage. Use the standard print layout or try another browser’s print-to-PDF flow.
Safari will not save some page items The webpage may prevent saving those items. Try print-to-PDF for a document copy. Do not assume a Web Archive will include resources the page does not permit saving.
A Web Archive or HTML file is mistaken for a PDF These formats are browser-viewable archives, not PDF documents. Check the filename and extension. Use print-to-PDF when a PDF is required.
An API capture is rejected or has the wrong output The key, URL, format, or request options may be incorrect. Check the API documentation, use a publicly reachable URL, and confirm that your request asks for PDF output. Inspect the response status and headers.

Performance, reliability, and cost

  • Print-to-PDF: No separate capture service is needed. For one page, this is usually the simplest path; the tradeoff is that each browser may render the page differently.
  • Web Archive and SingleFile: These retain webpage resources for browser viewing, but they remain HTML-based archives and may not preserve every dynamic behavior or remotely available destination.
  • API capture: Useful for repeated or automated captures without configuring a browser for each run. A network request still depends on the target page loading and being accessible. ScreenshotNeo states that failed loads, blank pages, bot checks/CAPTCHAs, timeouts, and cache hits are not billed; inspect its verdict and billing headers for each response.
  • Cost: Browser print, Safari Web Archive, and the described SingleFile extension provide free routes. ScreenshotNeo includes 1,000 shots per month free without a card; paid plans are Starter $5 for 3,000, Growth $15 for 15,000, Pro $39 for 60,000, Scale $99 for 250,000, and Business $249 for 1,000,000. Yearly billing gives two months free, and every feature is on every plan. Confirm current details on the ScreenshotNeo site.

Frequently asked questions

Can I save a webpage as a PDF on a Mac without installing an app?

Yes. Use the browser’s print command and the PDF save option in the print dialog.

Is Safari Web Archive the same as PDF?

No. It is a browser-viewable webpage archive. Use print-to-PDF when you need a PDF document.

Does SingleFile create a PDF?

No. It saves a webpage and resources as a single HTML file.

Will the saved PDF look exactly like the live webpage?

Not necessarily. Print styles and dynamic content can change what appears, so inspect the print preview and saved PDF.

Can I archive a page that requires a login?

The browser may be able to print content available in your signed-in session, but access controls and page behavior can affect what is saved. Check the output and follow the site’s access rules.