Guide
How to add page numbers (and headers/footers) to a PDF
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
- Page number (folio). A counter that changes every page:
3,3 of 12,iii. Useful when someone will print, cite, or reassemble the file. The PDF page index (1, 2, 3 in the thumbnail strip) and the folio you print do not have to match — a cover can be unnumbered, then “1” starts on the next sheet. - Header / footer (running line). The same text on every page, or a title that changes by section: document name, date, matter number, “Draft.” A folio is often inside a footer, but a footer without a counter is just a stamp.
- Bates / exhibit stamps. Sequential labels across a whole production (
ABC000123). Same family of tools in Acrobat; different purpose. Do not use Bates because you wanted “Page 2 of 8” on a school form.
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.
- Open a duplicate, not the only copy.
- Choose Header & Footer → Add. Pick a slot: left, center, or right, top or bottom.
- 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. - Set font size small enough for the margin you have — 8–10 pt is typical on a letter page that already has a letterhead.
- 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.
- 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.
- 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.
- Need a real counter. Use a PDF editor with Header & Footer, or place the pages in Word / Pages, add Insert → Page Number in the header or footer, then export to PDF. Exporting from a word processor redraws the document — expect layout drift on a complex scan. Prefer it when you still have the source .docx, not when the PDF is a signed scan.
- Need one static line. Preview Markup can add “Confidential” or a date. Duplicate the file; export as PDF when done. Check that the box did not sit on a signature.
- Need numbers only on paper. Print from Preview and enable the system page-number option if your driver shows one. That does not change the file you email.
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.
- Open the duplicate in the browser. File → Print (or Ctrl/Cmd+P).
- Destination: Save as PDF / Microsoft Print to PDF — not a physical printer.
- 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.
- Check “background graphics” only if you need colored boxes to survive. It can inflate size.
- 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
- Letterhead and logos. Top-center headers collide with firm names. Use a smaller type size or a bottom-right folio.
- Existing footers. Many exports already say “Page 3 of 10.” A new “3 of 12” on the same baseline is how reviewers lose count. Move the new number, or do not add one.
- Binding / punch holes. A left-side header on a document that will be hole-punched disappears. Keep stamps inside the inner margin you can still see after binding.
- Crop vs paper size. A PDF can have a crop box smaller than the media box. A header placed on the media edge never appears when the viewer uses the crop. Preview the actual page box, not a zoomed-out canvas.
- Landscape sheets in a portrait packet. A footer that looks fine on letters can sit in the middle of a spreadsheet. Check every orientation.
- Forms and signature blocks. Bottom-center numbers land on “Sign here.” Shift the slot before you flatten or send.
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:
- The scan already has printed numbers. Those are pixels. Acrobat Header & Footer will not delete them. Adding “Page 5 of 20” next to a scanned “— 3 —” guarantees a fight. Either live with the scanned folio (and tell the recipient “use the printed number”), or place your new number in a different corner in a different style, and say so in the email. Do not stack identical formats.
- Word / Google Docs already numbered the source. Edit the source and re-export. Stamping a second footer on that PDF is how “Page 2 of 2” sits on a 15-page merge.
- You merged several files. Each source may restart at 1. A new packet-wide folio is reasonable; leave or hide the old ones if you can. If you cannot hide scanned numbers, use a prefix (“Packet p. 7”) so the two systems are obviously different. Rebuild with merge in the right order before you stamp.
- Thumbnail 1 is not folio 1. Covers, blanks, and roman fronts shift the index. “Start numbering at 2” in Acrobat refers to PDF page 2 unless you set a prefix or a start value. After you apply, check the sheet that should be “1,” not only the first thumbnail.
- Someone will rotate or delete pages later. Folios do not renumber themselves when you drop a sheet. Number last, after rotate, delete, and extract are done. Then compress only if you still must; use a mild quality-aware pass so the new type does not get smeared.
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.