Add page numbers to a PDF

Choose position, style and starting number, and skip the cover if you like.

or drop it here

Processed in your browser. Your files are never uploaded. Check it yourself

How to add page numbers to a PDF

Page numbers make long documents easier to discuss, print and file: “see page 14” is only useful if page 14 says so. Use this for reports, dissertations, bundles of evidence, board packs and manuals, especially after merging several files into one. You choose where the numbers go, how they read, where they start, and which pages get them, with a live preview as you change settings.

  1. 1

    Open the PDF you want to number

    Press Choose a PDF or drop the file onto the panel. Password-protected files ask for their password; the numbered copy is saved without it. Once open, the pages appear as large thumbnails with a number already drawn on each one using the default settings: a plain “1, 2, 3” at the bottom centre, in 11-point Helvetica, about 10 mm from the edge.

    The Add page numbers panel before a file is chosen
  2. 2

    Check the live preview

    The preview is drawn at true scale, so what you see on each thumbnail is where the number will be printed. Under every page a caption shows its label (for example “Page 3 of 12”) or “No number” for pages you’ve chosen to leave blank, and a counter at the top reads, for example, “14 of 15 numbered”.

    A 15-page research paper with a page number drawn at the bottom centre of each thumbnail
  3. 3

    Choose position, format and which pages

    • Position: click one of six spots on the miniature page: top or bottom, left, centre or right.
    • Format: 1, Page 1, 1 / N or Page 1 of N.
    • Start at: any whole number from 0 to 99999, to continue numbering from another document.
    • Pages: All, or a Range such as 3-end or 2-10, 12.
    • Skip the first page leaves a cover or title page clean.
    • Count all pages (shown for the “of N” formats) makes numbers follow each page’s position in the file and includes unnumbered pages in the total. Off by default: then a 15-page file with the cover skipped reads “Page 1 of 14” on page 2; switched on, the same page reads “Page 2 of 15”.

    Under Text style choose the font (sans, serif or monospaced, each with a bold option), size from 6 to 36 pt, distance from the edge (shown in millimetres), colour, and an optional white box behind each number for scans with dark borders.

    Options set to Page 1 of N at the bottom right with Skip the first page ticked; the counter reads 14 of 15 numbered
  4. 4

    Books and reports: mirrored numbers and Roman numerals

    Open Books & reports for two print-oriented options:

    • Mirror on even pages swaps left and right on pages 2, 4, 6 and so on, so numbers sit on the outer corner of a double-sided print. It needs a left or right position.
    • Roman numerals for front matter gives the pages you list (for example 2-3) lower-case Roman numerals, i, ii, iii, and starts the main Arabic numbering at 1 on the next numbered page. Roman pages don’t show a total.

    In our test on a 15-page paper with the cover skipped and pages 2–3 as front matter, the captions read: No number, Page i, Page ii, Page 1 of 12, Page 2 of 12 and so on.

    Books and reports options with mirroring and Roman numerals for pages 2-3; captions show Page i, Page ii, then Page 1 of 12
  5. 5

    Add the numbers and download

    Under the button, “First number: …” confirms the first label before you commit. Press Add page numbers: a progress bar counts the pages, and the result card shows how many were numbered and the new file size. The file is named after yours with “-numbered” added. Your original is not changed.

    Your settings stay in place if you press Start over and open another file, which makes it quick to number several documents the same way. Check page ranges when you switch to a shorter file: a range that runs past its last page is flagged and the button waits until you fix it.

    Result card: arxiv-attention-numbered.pdf, 14 pages numbered, 1.7 MB

Page numbers features

  • Six positions: top or bottom, left, centre or right
  • Formats including “Page 1 of N”
  • Choose the starting number
  • Skip the first page and choose whether the total counts it
  • Roman numerals for front matter
  • Mirror numbers on even pages for double-sided printing

How the numbers are added to your pages

Numbers are added in your browser, on your device; the PDF is not uploaded.

Each number is written onto the page as real text in the font, size and colour you choose, so it prints crisply and can be searched. Placement allows for each page’s rotation and visible area, so numbers land at the visual bottom (or top) of the page as you see it, even on rotated or cropped pages.

By default, the total in “Page 1 of N” counts only the pages that are numbered. Tick Count all pages to include unnumbered ones such as a cover.

Worked example

A 10-page report with a cover

Choose Bottom centre and the Page 1 of N format, then tick Skip the first page. The cover stays clean, page 2 reads “Page 1 of 9” and the last page reads “Page 9 of 9”. Prefer the cover to count? Tick Count all pages and page 2 becomes “Page 2 of 10”. For a thesis with a preface, use Roman numerals for front matter: those pages get i, ii, iii and the main numbering starts after them.

Good to know

  • Printing double-sided? Mirror on even pages moves numbers to the outer corner (requires a left or right position).
  • Use Start at to continue numbering from another document, such as starting at 41 for part two.
  • Number only part of a file with a range like 2-10, 12.
  • Merging chapters first? Use Merge PDF, then number the combined file so the sequence runs straight through.

Which page number format and position to use

DocumentSuggested settingsWhy
Report or proposal with a cover1 at bottom centre, Skip the first pageThe convention most readers expect; the cover stays clean.
Contract, tenancy agreement or anything signed page by pagePage 1 of N, bottom right“of N” makes a missing page obvious to every party.
Dissertation or thesisRoman numerals for front matter, Arabic from chapter 1, bottom centre (or as your institution’s style guide says)Separates preliminary pages from the main text.
Double-sided print, manual or bookletBottom right with Mirror on even pagesNumbers stay on the outer edge where a thumb flicks through.
Scanned document with dark edgesAny position with White boxKeeps numbers readable over a grey or black scan border.
Part two of a document split in twoStart at the next number, e.g. 41With “of N”, the total becomes the overall total: 20 pages starting at 41 read “41 of 60”.

Top positions suit documents whose footers are already busy (letterheads with company details at the bottom, for instance). Check the preview: if a number lands on existing footer text, increase Distance from edge or move it to the top.

Who adds page numbers to PDFs, and why

Students and researchers

Dissertations are often assembled from several exports: a title page from one template, chapters from a word processor, appendices from a statistics package. Merging them gives one file with no consistent numbering. Number the merged file once, with Roman numerals for the abstract and contents pages and Arabic numbering from the introduction. Always check your institution’s formatting rules, which may specify position and style.

Solicitors, paralegals and people preparing their own bundle

Bundles are discussed by page number, so every page needs one, in one sequence. Merge the documents in index order with Merge PDF, then number the whole bundle. Court and tribunal directions often say how bundles must be paginated, so follow the rules for your case. This tool adds plain sequential numbers; it doesn’t add Bates numbers (see below).

HR teams

Staff handbooks and policy packs are updated piecemeal and re-exported often. Numbering the final PDF means “see page 14” in an email points to the right page, and “Page x of N” tells staff whether their copy is complete.

Accountants and finance teams

Year-end packs, management accounts and board papers are put together from spreadsheets, reports and scans. A board pack numbered “Page 1 of 86” helps directors refer to the same page in a meeting, and continuing numbers with Start at keeps appendices in sequence with the main pack.

Landlords and letting agents

Numbering a tenancy agreement as “Page 1 of 12” before it goes out for signature makes it clear to everyone how many pages there should be, which helps if a page later goes missing or is disputed.

Small publishers, trainers and community groups

Workbooks, newsletters and course packs printed double-sided look professional with mirrored numbers on the outer corners. Use a serif font for a traditional look, or monospaced for technical manuals.

Page numbers vs Bates numbers

Searches for “Bates numbering PDF” are common, so to be clear about what this tool does and doesn’t do: Bates numbering is a legal and records-management convention that gives every page in a set of documents a unique identifier, usually a prefix plus a fixed number of digits, such as SMITH000123, running across many separate files. It’s used in disclosure (discovery) so any page can be cited unambiguously.

PDFMagpie adds ordinary page numbers: digits, optionally with “Page” and a total. It has no prefix text or zero-padding option, so it can’t produce Bates identifiers. What it can do is continue a sequence across separate files with Start at (file one 1–40, file two from 41), which is enough for many self-prepared bundles. If your case or your firm requires Bates numbers, use software that supports them, such as the paid edition of Adobe Acrobat or a litigation support tool.

Printed numbers vs the page number in your PDF reader

PDF readers show their own page counter in the toolbar (“3 / 15”), and that counter always counts from the first page of the file. The numbers this tool adds are printed on the page; they don’t change the reader’s counter. So if you skip a cover and use Roman numerals for two front-matter pages, the page printed “1” is page 4 in the reader’s box. Typing 1 into the reader’s go-to-page box takes you to the cover, not to printed page 1.

For most documents that’s fine, and it’s how a scanned book or a bundle behaves on paper. Where it matters, for example when you tell a colleague “see page 14” and they type 14 into their reader, either say which numbering you mean or use Count all pages with no front matter so the printed number and the reader’s counter agree. Some desktop editors can also set “page labels”, which make the reader’s counter show i, ii, 1, 2 as well; this tool doesn’t set them.

A worked example: a three-part bundle numbered in one sequence

Say you have an index (2 pages), a witness statement (11 pages) and exhibits (27 pages), and the directions ask for one continuous sequence. The simplest route is to merge the three in order with Merge PDF, check the order in Organize pages, and number the 40-page result with Page 1 of N: the last page reads “Page 40 of 40”. If the parts have to stay as separate files, number the index with Start at 1, the statement with Start at 3 and the exhibits with Start at 14. With an “of N” format each file then shows the running total up to its own end (the statement’s last page reads “13 / 13”), so plain numbers or “Page 1” are usually clearer for separate files.

Measured: what adding page numbers does to size and speed

We numbered real public documents with the actual tool in headless Chrome on our Windows test PC, then opened the results to confirm the numbers are real, searchable text.

Test fileSettingsPages numberedSize before → afterTime
National Planning Policy Framework (gov.uk), 130 pages, Word exportPage 1 of N, cover skipped, pages 2–3 as Roman front matter1291.27 MB → 1.30 MB (+2.6%)2.1–2.3 s
Keeping children safe in education (gov.uk), 198 pagesPage 1 of N, cover skipped1971.75 MB → 1.80 MB (+3.0%)3.1–4.2 s
Research paper, 15 pages (arXiv 1706.03762)Page 1 of N, bottom right mirrored, cover skipped, Roman 2–3142.2 MB → 1.8 MB1.9 s

Numbers add very little to a file: one small font resource shared by all pages and a few bytes of drawing instructions per page, about a quarter of a kilobyte per page in our tests. A file can even come out smaller, as the research paper did, because the whole file is saved again in a compact structure. Reading the last page of the numbered framework back with a PDF text extractor returned “Page 127 of 127”, so the numbers can be searched and copied like any other text.

Adding page numbers on Windows, Mac, iPhone, Android and Chromebook

If you still have the original document

The cleanest page numbers come from the document’s own software before it becomes a PDF: Insert → Page Number in Microsoft Word, Insert → Page numbers in Google Docs, and the header and footer settings in Pages or LibreOffice. Those numbers follow sections and can be updated. Use this tool when you only have the PDF, or when the PDF was assembled from several sources.

Windows

Windows has no built-in way to add page numbers to an existing PDF. Some print dialogs can add page numbers in a header or footer when printing web pages, but that isn’t a reliable way to number a PDF, and printing to PDF rebuilds the file, often losing links and form fields. Open this page in Edge or Chrome instead.

Mac

Preview can reorder, rotate and annotate PDFs, but it has no page-numbering feature. Use this tool in Safari, Chrome or Firefox; everything works the same, including the position picker and live preview.

iPhone and iPad

iOS has no built-in page numbering for PDFs. In Safari, tap Choose a PDF, set the options (the preview thumbnails show the result), tap Add page numbers, then save the download to Files.

Android

Android has no standard built-in way either. In Chrome, open this page and pick the PDF from Files or Drive; the numbered copy saves to Downloads.

Chromebook

ChromeOS’s PDF viewer can annotate but not paginate. PDFMagpie runs in Chrome and saves to your Downloads folder.

Our tool compared with word processors and desktop PDF editors

PDFMagpieWord or Google Docs (before export)Adobe Acrobat (paid)macOS Preview
Works on an existing PDFYesNo (needs the source document)YesNo numbering feature
Page x of NYesYesYesn/a
Skip cover, start number, page rangeYesYes, via sectionsYesn/a
Bates numbering (prefix + digits)NoNoYes, in Acrobat Pron/a
Remove or edit numbers laterNo: re-run on the originalYesYes, for its own headers and footersn/a
Where it runsIn your browser, no uploadLocally or in the provider’s cloudLocally (desktop app)n/a
CostFreeVariesSubscriptionFree

Privacy: numbering confidential documents without uploading them

Documents that need page numbers are often the most sensitive ones in an office: bundles for a dispute, signed agreements, board papers, medical or HR records. Here, the PDF is opened in this tab, the preview is drawn on your device with PDF.js, and the numbers are written into the pages by code running in a background worker in your browser. The file isn’t uploaded; you can prove that with our Network-tab and offline test.

Nothing else in the file is changed: document properties (title, author, dates), bookmarks and form fields are carried over. If you want to remove the author name or editing history before sending, run the numbered copy through Compress PDF with Remove metadata ticked.

Accessibility: using the tool, and numbers in accessible PDFs

Using the tool. The position picker is a radio group: Tab to it, then use the arrow keys to move between the six positions; each spot has a name (“Bottom right”). Formats, the All/Range switch and the background option are also radio groups. The counter (“14 of 15 numbered”) is announced as it changes, and page-range errors are linked to the range box so screen readers read them.

In the output. Numbers are real text in standard PDF fonts, so screen readers and search can read them, and you can choose a size up to 36 pt and any colour for readability. One caveat for tagged, accessibility-checked PDFs: the numbers are added to the page without being marked as page furniture (“artifacts”) in the tag structure, as professional header-and-footer tools do. If your PDF has to meet an accessibility standard such as PDF/UA, re-check it with an accessibility checker after numbering, or add numbers in the source document before export.

Limits worth knowing

  • Numbers are permanent. They’re drawn into the page content and can’t be switched off later. Running the tool twice on the same file adds a second set, so keep your original and re-number from it if you change your mind.
  • No custom text or prefixes. Only the four formats; no “Exhibit A-1”, chapter-page numbers or Bates identifiers.
  • Existing numbers aren’t removed. If the PDF already has numbers printed in its footer, pick a different position or start number so they don’t clash.
  • Fonts: six standard PDF fonts; you can’t upload your own.
  • Rotated and cropped pages: placement uses each page’s rotation and visible area, so numbers land at the bottom (or top) as you see the page, even on landscape or cropped pages.
  • Size: there’s no page cap; very large files depend on your device’s memory.

Page numbers: troubleshooting

“"12" is past the last page (10).”
The range includes a page the file doesn’t have. Use end for the last page, for example 3-end.
“"6-2" runs backwards — did you mean 2-6?”
Ranges go from low to high. Type 2-6.
“"x" isn’t a page or range (try 2 or 4-6).”
Only numbers, hyphens, commas and the word “end” are understood.
“Pages start at 1 ("0").”
Page ranges count from 1. (The Start at number can be 0, but page ranges can’t.)
“Enter at least one page or range.”
Range is selected but the box is empty. Type pages to number, or switch back to All.
“Start at a whole number from 0 to 99999.”
Start at must be a whole number. Decimals, letters and negative numbers aren’t accepted.
The Add page numbers button is greyed out
No page is selected for numbering, or a range or front-matter box has an error (it’s shown in red). Fixing it re-enables the button. Settings carry over when you open a new file, so a range that suited a longer file may now be past the last page.
The numbers overlap text already in the footer
Increase Distance from edge, move to a top position, or turn on the white box. The preview shows the result before you save.
My PDF now has two sets of numbers
The tool was run on an already-numbered copy. Numbers can’t be removed, so re-number the original file.
“This PDF is password-protected”
Enter the password you open it with. To keep a password on the numbered copy, add it back with Protect PDF.

Glossary

Front matter
Pages before the main text: title page, abstract, acknowledgements, contents. Traditionally numbered i, ii, iii.
Page x of N
A format that shows the total, so readers can tell whether pages are missing.
Mirrored numbering
Numbers on the outer corner of facing pages: right on odd pages, left on even ones.
Bates number
A unique page identifier with a prefix and fixed digits (e.g. SMITH000123) used in legal disclosure across many documents.
Pagination
The numbering of pages in sequence, for example across a bundle.
Artifact (in tagged PDFs)
Content marked as decoration or page furniture (like running headers and page numbers) so assistive technology can skip it.
Standard PDF fonts
Fonts such as Helvetica, Times and Courier that every PDF reader can display without the font file being embedded.

Page numbers: frequently asked questions

How do I add page numbers to a PDF for free?

Open the PDF here, choose a position and format, and press Add page numbers. It’s free with no account or watermark, and the file is processed in your browser rather than uploaded.

How do I add page numbers to a PDF on a Mac?

Preview has no page-numbering feature, so use this tool in Safari, Chrome or Firefox. It works the same as on any other computer.

How do I add page numbers to a PDF without Adobe Acrobat?

Use this tool in any browser: it does skip-the-cover, Page x of N, custom start numbers, Roman front matter and mirrored numbers without Acrobat. Acrobat Pro is needed only for features like Bates numbering.

How do I number pages in a PDF starting from page 2 or 3?

Tick Skip the first page to start on page 2, or choose Range and type 3-end to start on page 3. Use Start at to choose the first number shown.

How do I add “Page 1 of 10” to a PDF?

Choose the Page 1 of N format. N counts the numbered pages; tick Count all pages to include unnumbered pages such as a cover.

Can I add page numbers when printing a PDF?

Not reliably: print-dialog headers and footers are designed for web pages, and printing to PDF rebuilds the file. Number the PDF here, then print it.

How do I add Bates numbers to a PDF?

This tool doesn’t do Bates numbering, which needs a prefix and fixed digits on every page. It can number files in one continuous sequence with Start at; for real Bates numbers use software that supports them, such as Adobe Acrobat Pro.

Can I use Roman numerals for the first pages?

Yes. Open Books & reports, tick Roman numerals for front matter and type the pages, such as 2-4. They get i, ii, iii, and Arabic numbering starts at 1 after them.

How do I put page numbers on the outside corners for double-sided printing?

Choose bottom (or top) left or right, then tick Mirror on even pages in Books & reports. Even pages swap sides.

Can I remove page numbers after adding them?

No. They become part of the page. Keep your original and re-number it if you need different settings.

How do I number several PDFs in one sequence?

Merge them first with Merge PDF and number the result, or number each file with Start at set to follow the last number of the previous file. Your settings stay when you open the next file.

Are my documents uploaded when I add page numbers?

No. Numbering runs in your browser and the file never leaves your device. Check it with the Network-tab and offline test.

Page updated · By the PDFMagpie team