Guide

How to add page numbers (and headers/footers) to a PDF

Updated September 2026 · Put a folio in the margin you control — or a running header — without stacking a second set of numbers on top of the ones already printed.

A PDF that already looks like a finished letter often still lacks a machine folio: the index a portal, a printer, or a reviewer uses to say “page 7.” Adding that number is a different job from adding a running title, a date, or a “Confidential” line. It is also different from the numbers already baked into a scan. This page is the stamp-and-margin path. If the real problem is a missing page or the wrong order, fix that first with rotate / reorder or delete — numbering a shuffled packet only advertises the shuffle.

Page numbers vs header/footer

If you only need numbers on a printout and you will never send the stamped file, the printer driver’s “page numbers” checkbox is enough. If the recipient must see the numbers in any viewer, write them into a new PDF.

Keep the original. Header, footer, and page-number commands export a new file (or overwrite if you let them). Duplicate first. If the new folio covers a signature or a second “Page 4” appears on top of the old one, you go back to the untouched PDF — not to the stamped copy.

Acrobat: Header & Footer

Adobe Acrobat (and some other desktop PDF editors) is the path that actually increments a counter on an existing PDF. Menu names drift; look for Edit PDF → Header & Footer, or Organize / Bates if that is the tool you were handed.

  1. Open a duplicate, not the only copy.
  2. Choose Header & Footer → Add. Pick a slot: left, center, or right, top or bottom.
  3. Insert the page-number placeholder the dialog offers (often a button like “Insert Page Number” or a token such as <<1>> / Page n of n). Type any fixed text around it.
  4. Set font size small enough for the margin you have — 8–10 pt is typical on a letter page that already has a letterhead.
  5. Use the margin / preview controls. If the live preview covers a logo or a table rule, increase the bottom (or top) margin or move the slot, then apply.
  6. If page 1 is a cover you do not want numbered, start the sequence on page 2, or apply the header only to a page range. Confirm the first numbered sheet says what you meant.
  7. Save as a new name. Open that file in a second viewer and skim first, middle, last, and any landscape page.

Acrobat can also remove or update a header/footer it added. It cannot reliably erase numbers that were scanned as pixels or baked in by Word before the PDF was made. Those are part of the page image or the original layout.

Preview and other Mac paths

macOS Preview can fill forms, rotate, and export. It does not have a “insert page numbers that increment” command for an existing PDF. Markup → Text puts the same typed string on one page. That is a stamp, not a folio. Fine for “Exhibit A” on a single sheet; a poor plan for 40 pages.

If someone told you “just open it in Preview and add numbers,” they were thinking of Pages or Word. Preview will not invent a running folio.

Browser print-to-PDF

Chrome, Edge, and Safari can print a PDF (or a web page) to a new PDF and optionally draw printer headers: date, title, URL, and “page X of Y.” That is a blunt tool. It is useful when you have no editor and you only need a visible counter. It is a bad tool when you still need form fields, sharp vector type, or a clean margin.

  1. Open the duplicate in the browser. File → Print (or Ctrl/Cmd+P).
  2. Destination: Save as PDF / Microsoft Print to PDF — not a physical printer.
  3. Turn Headers and footers on if you want the browser’s page numbers. Turn them off if you only meant to flatten or reprint and do not want a URL in the top margin.
  4. Check “background graphics” only if you need colored boxes to survive. It can inflate size.
  5. Save under a new name. Open the result and look at the corners: browser chrome often sits closer to the edge than Acrobat’s header tool, and it can cover letterhead or a footer that was already there.

Print-to-PDF may rasterize pages or drop comments and live fields. If you only needed numbers, and the new file is a mushy image of the old one, you solved the wrong problem. For a filled form you must lock, see flatten a PDF form before email — and do not rely on print headers as your flatten step unless you accept those caveats.

Margin and overlap pitfalls

If the only safe margin is already full, you do not have a numbering problem — you have a layout problem. Number the packet in a cover sheet, or extract the pages that need a folio into a cleaner file with the split / extract recipes.

When new numbers fight old stamps

Two counters on one page is worse than none. Before you add anything, open the file at 100% and look at the corners of a middle page:

Done looks like this: one obvious counter, empty corners still empty, and the original file still sitting in the same folder with its old name. If a portal asked for page numbers and the scan already has them, send the scan and skip the second stamp.