PDF guide

How to add page numbers, headers and Bates numbers to a PDF

By Taha Tahir Ali · Updated

Short answer

Open Add page numbers, choose the position (for example bottom center) and format ("1", "Page 1", "Page 1 of 10", "1 / 10" or "- 1 -"), set the starting number and which pages to number, and download. For running text use Header & footer with {n}, {total}, {date} and {file}; for legal sets use Bates numbering. All three are free in Raaj PDF.

Page numbers make long PDFs easy to discuss ("see page 14") and to put back in order after printing. They matter most in reports, theses, legal bundles and merged application packs.

Add page numbers step by step

  1. Open Add page numbers and select one or more PDFs.
  2. Choose the Position: bottom left, center or right, or top left, center or right.
  3. Choose the Format: 1, Page 1, Page 1 of 10, 1 / 10 or - 1 -.
  4. Start counting at: usually 1; use another number if this file continues a longer document.
  5. Pages to number: leave empty for all, or for example 2-40 to skip a cover page.
  6. Adjust Font size, Color and Margin (pt) if needed, then click Add page numbers and download.

Skipping the cover and contents

A common layout has an unnumbered cover, and numbering that starts at 1 on the first real page. If the content starts on the 3rd page of the file, set Pages to number to 3- up to the last page and Start counting at to 1.

Headers and footers with variables

For a line of text on every page, such as a document title, "Confidential" or the date, use Header & footer. You can type plain text and these placeholders:

  • {n}: this page's number
  • {total}: number of pages
  • {date}: today's date
  • {file}: the file name

Example footer: Annual report 2026 · Page {n} of {total}. Set header and footer positions separately, plus font size, colour, margin and pages.

Lawyers and compliance teams stamp every page of a set of documents with a unique, sequential ID so any page can be cited exactly. Bates numbering takes a Prefix (such as a case code), a Start number, the number of Digits, and an optional Suffix. With prefix ABC, start 1 and 6 digits, pages are numbered ABC000001, ABC000002 and so on. Add several files at once and numbering continues across them.

Common mistakes

  • Numbering before merging. Merge first (how to merge PDF files), then number the whole document, or each part restarts at 1.
  • Numbers on top of existing text. Increase the margin or choose another position.
  • Numbering a document that will be split later. Number after the final split.

Frequently asked questions

Can I put "Page X of Y" on a PDF?

Yes. Choose the "Page 1 of 10" format.

Can I number several PDFs at once?

Yes. Each file is numbered on its own; for continuous numbering across files, merge them first (or use Bates numbering).

Is it free and private?

Yes. It is free and runs in your browser; files are not uploaded.

Raaj Software

May you never need us again.

We build solutions that make themselves indispensable, not problems that make us indispensable.

A philosophy of customer independence, not customer dependency.