ScreenshotNeo

BlogHTML to image & PDF

How to Convert a Webpage to PDF Without Shrinking the Text

Save a webpage as a readable PDF by adjusting print scale, paper size, orientation, and margins—and learn when browser print settings are not enough.

By the ScreenshotNeo team4 October 20266 min read

To convert a webpage to PDF without shrinking its text, open the browser’s print dialog, choose its PDF destination, and set Scale to Actual size or 100% when available. Check the preview. If content is clipped, try landscape orientation, a wider paper size, smaller margins, or turning off headers and footers before reducing scale.

The exact labels and controls vary by browser, version, and operating system. Use the print preview to confirm the result before saving: a webpage may use a print-specific layout that differs from what you see on screen.

1. Save a webpage as a PDF at its original text size

  1. Open the webpage you want to save.
  2. Open the browser’s print dialog. In Microsoft Edge, use Ctrl+P on Windows or Command+P on macOS. In Firefox, open the menu and choose Print.
  3. Select the browser’s PDF destination. In Firefox, choose Save to PDF.
  4. Expand the additional settings and find Scale. Choose Actual size or enter 100%, if the browser offers it. Actual size prints without scaling in Edge.
  5. Inspect the preview. Check that the text is readable and that no important content runs off the page.
  6. If the content is clipped, try landscape orientation, a wider paper size, smaller margins, or disabling browser headers and footers. Recheck the preview after each change.
  7. When the page looks right, save or print to the PDF destination.

Firefox’s Simplified format and Edge’s Immersive Reader can help when navigation, ads, or other page elements make the print layout crowded. They are available only on supported pages and may change the page’s appearance. [Mozilla’s Firefox printing guide; Microsoft’s Edge printing guide]

2. Why a browser shrinks text when printing to PDF

The selected paper has a printable area determined by its size, orientation, margins, and any space reserved for headers and footers. When the webpage’s print layout is wider than that area, a browser may scale it down to fit. Choosing Actual size preserves scale, but can leave content clipped if the page is too wide.

Websites can also define print-specific styles, so printed output may not match the screen. Browser-generated content can appear in page margins; Chrome’s print dialog includes a control for disabling browser headers and footers. [Mozilla; Chrome for Developers: printed page margins]

3. Choose settings based on what matters most

Setting When to use it Trade-off
Actual size or 100% scale You need to preserve the webpage’s displayed text size. Wide content may be clipped at the page edge.
Landscape orientation The content is wider than it is tall. It changes page layout and pagination.
Wider paper size The PDF will be read or printed on a larger page, and the destination supports it. Readers using smaller paper may need to zoom or reflow the PDF.
Smaller margins Content is nearly fitting, but the printable area is too narrow. Some printers or PDF viewers may handle page edges differently.
Headers and footers off Browser-added titles, URLs, dates, or page numbers take space or overlap content. Those identifying details will not appear in the PDF.
Print backgrounds on Colors or decorative backgrounds are part of the information you need to preserve. Backgrounds can use more ink when printed on paper.
Simplified or reader view Navigation and other clutter make the normal print layout hard to read. The simplified layout may differ from the original design.

Firefox and Edge document controls for scale, margins, orientation, paper size, backgrounds, and print layout. Names and availability vary, so rely on your own preview. [Firefox guide; Edge guide]

4. Fix common PDF printing problems

Problem Likely cause What to try
Text is too small, but nothing is clipped. The page was scaled to fit the printable area. Set scale to Actual size or 100%, if available, then check the preview again.
Text is readable, but the right edge is missing. The page is wider than the selected paper’s printable area. Try landscape, a wider paper size, or smaller margins. If it still does not fit, some scaling or a different print layout may be necessary.
Headers or footers take space or overlap the page. The browser adds content in the print margins. Turn off the headers and footers option if the dialog provides it. Chrome documents this as a print-dialog control. [Chrome for Developers]
Ads or navigation make the useful content cramped. The normal webpage layout is being printed. Use Firefox Simplified format or Edge Immersive Reader when offered. Compare the preview because these views can change the design.
Colors or decorative sections disappear. Background printing is disabled. Enable print backgrounds and inspect the preview. Firefox and Edge both document a background option. [Firefox; Edge]
The saved PDF still differs from the page on screen. The website may use print-specific styling. Try the website’s own print button or a reader view, then compare the resulting preview. Page-specific print layouts can change appearance. [Mozilla]

5. Developer option: create a PDF with an API

Browser print preview is the direct method when you are saving one page interactively. If you need repeatable PDF capture in a script or service, use an API that accepts a URL and PDF settings. A PDF capture can expose controls for paper size, margins, landscape orientation, and page ranges. Check the API documentation for its exact parameter names and behavior.

cURL

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

response = requests.get(
    "https://api.screenshotneo.com/v1/shot",
    params={
        "access_key": "YOUR_API_KEY",
        "url": "https://stripe.com",
        "format": "pdf",
    },
    timeout=90,
)
response.raise_for_status()
with open("page.pdf", "wb") as pdf:
    pdf.write(response.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(`Screenshot request failed: ${res.status}`);
await import('node:fs/promises').then(({ writeFile }) =>
  writeFile('page.pdf', Buffer.from(await res.arrayBuffer()))
);

See the ScreenshotNeo API documentation for PDF options and supported parameters. The example sets the output format to PDF; consult the docs for paper size, margins, landscape, and page-range parameters.

6. Or skip the browser setup

ScreenshotNeo turns a URL into a PDF with one GET request. For example:

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

Cookie banners, popups, and chat widgets are removed before the shot. Bot checks, blank pages, and failed loads are never billed. An MCP server lets AI agents use the screenshot tools. The free plan includes 1,000 screenshots a month with no card; paid plans start at $5 for 3,000.

Create a free ScreenshotNeo account to get 1,000 screenshots a month with no card.

7. Performance, reliability, and cost notes

  • For one-off saves: the browser’s built-in print-to-PDF path avoids setting up a capture service. Previewing takes time, but catches clipping before you save.
  • For repeat captures: an API makes the request scriptable. Page load time and the site’s own print layout still affect the result; use a timeout appropriate for pages that load slowly.
  • Check outcomes: inspect the returned PDF and any response status or verdict headers your capture service provides. A successful request does not guarantee the site rendered the way you intended.
  • Budget by plan: ScreenshotNeo’s free plan includes 1,000 shots per month 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.

Frequently asked questions

Does 100% scale guarantee the PDF will match the screen?

No. It preserves scale where available, but print-specific page styles and the paper’s printable area can still change the output.

Should I use Actual size or Fit to printable area?

Use Actual size when preserving text size is the priority. Fit-to-area scaling may help avoid clipping, but can make the text smaller.

Can I keep the entire width without shrinking the text?

Only if the content fits the printable area at the chosen scale. Try landscape, wider paper, or smaller margins; if the layout is still too wide, a trade-off is unavoidable.

Do these steps work on phones and tablets?

The research for this guide does not establish one setting path for every mobile browser. Look for the device’s print or share-to-PDF option and inspect its preview; controls may differ from desktop.

ScreenshotNeo removes more than 60 known consent platforms, along with newsletter popups and chat widgets, before capture. Each cleanup step can be turned off. See the documentation for configuration.