Hardware FixRecommendedDevice not working? Your driver may be the problemCheck updates for common hardware issues.Fix DriversOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run Scan×
Skip to content
World desk4 min

Create a PDF from a Webpage With Page Numbers and Headers

Use your browser’s print dialog to save a webpage as a PDF with page numbers and headers, then check the preview for layout problems.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To create a PDF from a webpage with page numbers and headers, open the browser’s Print dialog, choose a PDF destination, turn on headers and footers, and check the preview before saving. In Microsoft Edge, the documented setting adds the current date to the header and the page number to the footer. Firefox also offers print headers and footers when saving to PDF.

Save a webpage as a numbered PDF in Microsoft Edge

  1. Open the webpage you want to save.
  2. Open Settings and more > Print, or press Ctrl+P on Windows or Command+P on macOS.
  3. Expand More settings and select Headers and footers.
  4. Check the preview. Adjust paper size, margins, or scale if the content is clipped or breaks awkwardly across pages.
  5. Choose the PDF destination or save option shown in the print dialog or system dialog, then save the file.

Microsoft Support says the Headers and footers option “adds the current date to the document header & adds the page number to the footer.” The exact output choices and dialog labels can vary by operating system and browser version, so follow the options shown on your device. See Microsoft’s Edge print guidance.

As an Amazon Associate I earn from qualifying purchases.

Save a webpage as a PDF in Firefox

  1. Open the webpage and open its print view.
  2. Set the destination to Save to PDF.
  3. Expand More settings and enable Print headers and footers.
  4. Review the preview and adjust any available settings, such as paper size, scale, or margins.
  5. Save the PDF.

Firefox’s print controls may also include pages per sheet, simplified format where available, two-sided printing, and print backgrounds. A webpage can use different styling for print than it uses on screen, so rely on the print preview rather than expecting an exact screen replica. See Mozilla’s Firefox printing guide.

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

Check the preview before saving

Headers and page numbers are only part of the result. Paper size, margins, scale, and the webpage’s own print styles determine where content falls and whether it is clipped or split across pages. If the page looks cramped, try a different scale or margin setting and inspect the preview again. In Edge, Microsoft specifically recommends reviewing the preview when adjusting scale.

#1 Best Overall
Sale
Epson Workforce ES-50 Compact & Lightweight Mobile Document Scanner
  • PORTABLE SCANNER FOR USE ON-THE-GO — The fastest and lightest mobile single-sheet-fed compact document scanner in its class¹
  • QUICK DOCUMENT SCANNING ― This Epson ultra-fast scanner scans a single page as quickly as 5.5 seconds²; Windows and Mac compatible
  • VERSATILE PAPER HANDLING ― Portable scanner scans documents up to 8.5 x 72 in; Also easily digitizes receipts and ID cards to make accounting, bookkeeping, and organizing simpler
  • INTUITIVE, HIGH-SPEED SOFTWARE — Epson ScanSmart Software³ is a smart tool allowing you to easily scan, review, and save; Stay organized easily with the help of this Epson scanner
  • EASY SETUP — USB-powered connect to your computer for quick and simple scanning; No batteries or external power supply required to operate portable document scanner; Standard Connectivity: USB 2.0
  • If text or images are cut off at the edges, increase the margins or reduce the scale.
  • If content is too small, try a larger paper size or increase the scale while checking for clipping.
  • If a page is unexpectedly sparse or laid out differently from the website, the page may have print-specific styling; the preview shows what will be saved.

Use CSS for headers or page numbering on a webpage you control

If you own or maintain the webpage, CSS paged-media rules can place authored content in print margins. Chrome for Developers documents @page margin boxes and page counters, including a total-pages counter, for this purpose. This approach requires access to the page’s print styles; it is not needed just to save someone else’s webpage.

Browser-generated headers and footers can coexist with authored margin content, which may produce duplicate text. They can also be disabled in the print dialog. Leave enough page margin for the elements you want, then inspect the preview and adjust either the CSS or the dialog settings. See Chrome for Developers’ guide to printed page margins.

Rank #2
Sale
Brother DS-640 Compact Mobile Document Scanner, (Model: DS640)
  • FAST SPEEDS - Scans color and black and white documents a blazing speed up to 16ppm (1). Color scanning won’t slow you down as the color scan speed is the same as the black and white scan speed.
  • ULTRA COMPACT – At less than 1 foot in length and only about 1. 5lbs in weight you can fit this device virtually anywhere (a bag, a purse, even a pocket).
  • READY WHENEVER YOU ARE – The DS-640 mobile scanner is powered via an included micro USB 3. 0 cable allowing you to use it even where there is no outlet available. Plug it into you PC or laptop and you are ready to scan.
  • WORKS YOUR WAY – Use the Brother free iPrint&Scan desktop app for scanning to multiple “Scan-to” destinations like PC, Network, cloud services, Email and OCR. (2) Supports Windows, Mac and Linux and TWAIN/WIA for PC/ICA for Mac/SANE drivers. (3)
  • OPTIMIZE IMAGES AND TEXT – Automatic color detection/adjustment, image rotation (PC only), bleed through prevention/background removal, text enhancement, color drop to enhance scans. Software suite includes document management and OCR software. (4)

Add or change numbering after creating the PDF

If the browser’s built-in page number is not enough—for example, you need a different starting number or number format—you can add numbering in a PDF editor. Adobe’s Acrobat instructions describe opening the PDF, choosing Edit > Header and footer > Add, selecting a page-number format and starting number, choosing a header or footer field, inserting the number, and previewing the result. The instructions also cover adding the current date and changing its presentation. Menus can differ by Acrobat edition and version. See Adobe’s Acrobat header and footer instructions.

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

Acrobat also documents converting a webpage URL or HTML file to PDF with configurable header and footer settings. This is an optional route if you already use Acrobat, not a requirement for ordinary browser printing. See Adobe’s guides to webpage-to-PDF conversion settings and converting webpages to PDFs.

Rank #3
Sale
Canon imageFORMULA R10 - Portable Document Scanner, USB Powered, Duplex Scanning, Document Feeder, Easy Setup, Convenient, Perfect for Mobile Users, White
  • STAY ORGANIZED – Easily convert your paper documents into digital formats like searchable PDF files, JPEGs, and more.Power Consumption : 2.5W or less (Energy Saving Mode: 0.7W). Suggested Daily Volume : 500 scans..Does it contain liquid: no
  • CONVENIENT AND PORTABLE –lightweight and small in size, you can take the scanner anywhere from home offices, classrooms, remote offices, and anywhere in between
  • HANDLES VARIOUS MEDIA TYPES – Digitize receipts, business cards, plastic or embossed cards, reports, legal documents, and more
  • FAST AND EFFICIENT – No technical hurdles or complicated setups here; easily scan both sides of a document at the same time, in color or black-and-white, at up to 12 pages-per-minute, and with a 20 sheet automatic feeder
  • BROAD COMPATIBILITY – Works with both Windows and Mac devices, be it laptop or computer

Choose the right method

What you need Approach Trade-off
Quickly save a webpage with page numbers Use the browser’s print dialog, such as Edge or Firefox. Simple, but available controls and page rendering depend on the browser, version, and webpage print styles.
Simpler content or a different page layout Adjust format, margins, scale, and headers or footers in the browser settings. More layout control, but the printed result may differ from the on-screen page.
Custom text or numbering in the margins of a site you control Use CSS paged-media rules. Requires control of the webpage’s print styles and preview testing.
Custom numbering or styling in a PDF already created Use a PDF editor such as Acrobat. Adds a post-processing step and requires access to suitable software.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Or skip the browser setup

ScreenshotNeo is a website screenshot API that can return an image or PDF. Its documented capabilities do not establish that this call adds page numbers or headers, so use the browser or a PDF editor above when those are required. For a one-request capture of a webpage as an image:

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

ScreenshotNeo accepts cookie and consent banners before capture and removes more than 60 known consent platforms, newsletter popups, and chat widgets; each cleanup step can be turned off. Bot checks, blank pages, timeouts, failed loads, and cache hits are not billed, and responses report the page verdict and billing status. An MCP server lets AI agents use its screenshot tools. The Free plan includes 1,000 shots per month with no card; paid plans start at $5 for 3,000 shots.

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

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

Quick Recap

SaleBestseller No. 3
Canon imageFORMULA R10 - Portable Document Scanner, USB Powered, Duplex Scanning, Document Feeder, Easy Setup, Convenient, Perfect for Mobile Users, White
Canon imageFORMULA R10 - Portable Document Scanner, USB Powered, Duplex Scanning, Document Feeder, Easy Setup, Convenient, Perfect for Mobile Users, White
BROAD COMPATIBILITY – Works with both Windows and Mac devices, be it laptop or computer; This product is not intended for scanning photographs on photo paper / photographic media
$153.00
Bestseller No. 4
IRIScan Express 4 Black Compact Portable USB Simplex Document Scanner, 8 PPM for Contracts, Invoices and Business Cards, Compatible with Windows, Readiris PDF Included
IRIScan Express 4 Black Compact Portable USB Simplex Document Scanner, 8 PPM for Contracts, Invoices and Business Cards, Compatible with Windows, Readiris PDF Included
Find our Software here : irislink.com/start; IRIScan Express is only compatible Windows platform and not macintosh
$129.00
Bestseller No. 5
Canon Canoscan Lide 300 Scanner (PDF, AUTOSCAN, Copy, Send)
Canon Canoscan Lide 300 Scanner (PDF, AUTOSCAN, Copy, Send)
Scanner type: Document; Connectivity technology: USB; With Auto Scan Mode, the scanner automatically detects what you're scanning
$75.00
Best Value
Canon Canoscan Lide 300 Scanner (PDF, AUTOSCAN, Copy, Send)
  • Scanner type: Document
  • Connectivity technology: USB
  • With Auto Scan Mode, the scanner automatically detects what you're scanning
  • Digitize documents and images
Rank #4
IRIScan Express 4 Black Compact Portable USB Simplex Document Scanner, 8 PPM for Contracts, Invoices and Business Cards, Compatible with Windows, Readiris PDF Included
  • IRIScan Express, portable scanner : scans color and black and white documents a blazing speed up to 8ppm simplex. Color scanning won’t slow you down as the color scan speed is the same as the black and white scan speed.
  • IRIScan Express mobile scanner is powered via an included micro USB 2. 0 cable allowing you to use it even where there is no outlet available. Plug it into you PC or laptop and you are ready to scan. USB cable provided. AC Adapter not provided and not needed.
  • IRIScan flatbed scanner uses a simplex scanning mode allows for quick and straightforward scanning of single-sided documents. IRIScan with its full portable features is the ideal document scanners for computers.
  • IRIScan document scanner : Versatile scanning capabilities, including scanning to Word, PDF, and Excel formats with companion software provided Readiris OCR
  • Receipt scanner and card scanner with Additional features include scanning business cards directly to Outlook, photo scanning, and receipt scanning for efficient document management

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.

Leave a Reply

Your email address will not be published. Required fields are marked *

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

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Crashes, No Sound, or Screen Glitches?Free driver scan
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.