How to Add Page Numbers to a PDF

By Adel Elmoslemany, founder of DonePDF About 8 minutes to read

A thesis, a report, a contract or a merged file is much easier to read, print and refer to when every page has a number. This page shows how to number a PDF with the free Add Page Numbers tool – as 1, 2, 3 or "Page 1 of 10", starting after the cover, in Roman numerals for the front matter, on the right place for double-sided printing – and which tool to use for headers and Bates numbers.

Open Add Page Numbers

Add page numbers step by step

  1. Open Add Page Numbers and add your PDF. Click "Select PDF" or drop the file on the page. Nothing is uploaded.
  2. Choose the "Number Format" – for example "1, 2, 3", "Page 1" or "Page 1 of N" – and the numerals.
  3. Set where numbering starts: "Starting Number", "Skip First Pages" and, if needed, a "Page Range".
  4. Pick the position – one of six spots at the top or bottom – and the margins, font and size. The preview shows the result; use the arrows to check other pages.
  5. Click "Add Page Numbers & Download". The numbered copy is saved with -numbered added to the file name, for example report-numbered.pdf.

Add "Page 1 of N" at the bottom right →

Number formats

Shows on the pageChoose or type
1, 2, 3"1, 2, 3" in Number Format (the text {n})
Page 1"Page 1"
Page 1 of 12"Page 1 of N", or type Page {n} of {total}
1 of 12 · 1 / 12 · - 1 -The matching entry in Number Format
Seite 1 von 12, Página 1 de 12, صفحة 1 من 12Type the words in your language around {n} and {total}
Section B – 4Type Section B – {n}: any text is printed as written
001, 002, 003Type {n:3} – the number after the colon sets the minimum digits
i, ii, iii · I, II, III · a, b, c · A, B, C · ١, ٢, ٣"Numerals"

{total} is the last number that is printed, not always the page count – if you skip the cover, a 12-page file numbered from 1 shows "of 11".

Skip the cover or start at another number

Skip the cover, start at 2 →

Roman numerals for the front matter

Theses and books often number the front matter i, ii, iii and the main text 1, 2, 3. Do it in two rounds:

  1. Choose "i, ii, iii", set "Page Range" to the front-matter pages (for example 2-6) and download.
  2. Open the downloaded file again, choose "1, 2, 3", set "Page Range" to the rest (for example 7-), "Starting Number" 1, and download.

Number with i, ii, iii →

Position, margins and double-sided printing

Numbers on the outer edge for double-sided printing →

Font, size and color

Choose sans-serif, serif or monospace, bold or regular, a size in points, any color and an opacity. Latin, Greek and Cyrillic text is written as real, selectable text with an embedded font, and the rest of the PDF is not changed. Arabic-Indic digits and words in Arabic, Hebrew, Chinese or Indic scripts are placed as small high-resolution images, so they look right in every viewer but cannot be selected.

Common situations

SituationWhat to do
Several files that should be numbered as one documentCombine them with Merge PDF first (see How to Merge PDF Files), then number the merged file.
Contracts and legal documents"Page 1 of N" shows at once whether a page is missing.
Bates numbers (ABC000001) or a header with the date or file nameUse Add Header and Footer, which has Bates numbering with prefix, digits and suffix.
The PDF already has old page numbersNew numbers are added on top; existing ones are not removed. Pick a free position, or cover the old numbers with Whiteout in Edit PDF – see How to Edit a PDF.
The number would overlap the contentIncrease the margins or make room with PDF Margin Adjuster.
Pages are in the wrong order or sidewaysFix them first with Organize PDF or Rotate PDF, then number them.
Need a watermark as wellAdd it with Add Watermark – see How to Add a Watermark to a PDF.

Word, Acrobat, Mac and phones

WhereWhat to know
Microsoft WordPage numbers belong in the Word document (Insert › Page Number) before you save it as PDF. If you only have the PDF, number it here.
Adobe AcrobatNumbers come from the paid Header & Footer feature; the free Acrobat Reader cannot add them.
Mac PreviewHas no page-number option. Open Add Page Numbers in Safari or Chrome.
iPhone and AndroidThe tool works in the phone's browser; choose the file from Files or Downloads.

Problems and fixes

Message or problemCause and fix
"This PDF is password-protected or encrypted…"Remove the protection with Unlock PDF – see How to Remove a Password from a PDF – then number the unlocked copy.
"This page gets no number with the current settings"The preview page is skipped or outside the page range – check "Skip First Pages" and "Page Range".
"No page is left to number""Skip First Pages" covers the whole range. Lower it or widen the range.
"The number text is empty"Type {n} where the number should appear.
"Page 1 of N" shows the wrong total{total} is the last printed number. Set the starting number so that the last page shows the total you expect.
The number is cut off when printingIncrease "Top/bottom margin" to 12–15 mm.

Frequently asked questions

How do I add page numbers to a PDF?

Open Add Page Numbers, choose the number format and position and click "Add Page Numbers & Download". The numbered copy is saved with "-numbered" added to the file name.

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

Choose "Page 1 of N" in Number Format, or type "Page {n} of {total}" in the Text field.

How do I start page numbers on page 2?

Set "Skip First Pages" to 1 so the cover gets no number, and set "Starting Number" to 2 if the second page should show 2.

Can I start numbering at a number other than 1?

Yes. Enter any starting number, for example 49 to continue the numbering of an earlier part.

Can I use Roman numerals?

Yes. Choose i, ii, iii or I, II, III under Numerals. Letters (a, b, c) and Arabic-Indic digits are available too.

Can I number only some pages?

Yes. Enter a page range such as 3-12, 15, 20- in "Page Range". Only those pages get numbers.

How do I get numbers with leading zeros like 001?

Type {n:3} in the Text field. The number after the colon is the minimum number of digits.

How do I add Bates numbers?

Use Add Header and Footer. It has Bates numbering with a prefix, a fixed number of digits and a suffix, such as ABC000001.

Where can I place the numbers?

Top or bottom, left, center or right, with margins in millimeters. For double-sided printing, left and right can be swapped on even pages.

Can I change the font and size?

Yes. Choose sans-serif, serif or monospace, bold or regular, any size, color and opacity.

Will existing page numbers be removed?

No. New numbers are added on top of the page. Choose a free position, or cover the old numbers with Whiteout in Edit PDF.

Can I number several PDFs as one document?

Merge them first with Merge PDF, then add page numbers to the merged file.

Is my file uploaded?

No. The numbers are added in your browser, so your PDF stays on your device.

Ready to number your PDF?

Choose the format and position and download – free, in your browser.

Add page numbers now

More ways to change a PDF are in PDF Editing Tools.