Back to public tools
All tools

PDF Page Numbering Tool

Add page numbers to a PDF. Pick the pages and where the numbers go, then preview and download a copy.

One ordinary unencrypted PDF, up to 25 MiB and 300 pages; output up to 100 MiB. Interactive forms and detected signature data are rejected. Source pages stay in their original order. Numbers are searchable overlays, do not erase old footers and may overlap content. Review actual previews and downloaded copies.

Choose up to five PDFs for optional batch output, within 50 MiB combined. Generate numbered PDF processes the current document; batch generation is in Advanced settings.

Adds a locally generated three-page PDF. No download or account needed.

0 selected physical pages. Selected order: none. T is the original document count in physical mode, or the last consecutive sequence value in consecutive mode. Sections have their own last value.

Advanced settings

Roman front matter and chapter prefix

0 disables Roman front matter. Roman labels use original physical positions through this count. Later consecutive numbering restarts at Starting number; later physical numbering keeps original positions. Prefix text is used exactly, so include your own space or dash. Multiple sections replace these two global settings.

Bates numbering

Bates counts only selected pages in physical order, including Roman/section pages. Padding is a minimum and never truncates a larger value. Bates replaces the usual printed format unless you use custom tokens. Without continuation, each document starts again; uniqueness across documents or legal suitability is not guaranteed. With continuation, the current document’s preview and single export use the same preceding-document offset as batch output.

Placement rules

Placement priority: physical page 1 override, then physical odd/even rules, then a section’s position, then the main Number placement. Unselected pages receive no new text.

Custom format tokens

Tokens: {n} styled sequence number, {total} styled last sequence value, {page} original physical page, {pages} original document count, {prefix} chapter/section prefix, {bates} full padded Bates label. Include {n}, {page} or {bates}. Unknown tokens/braces and rendered labels above 200 characters are rejected. Custom formats replace the main Number format; Bates-enabled custom formats must include {bates}.

Multiple numbering sections

Content-avoidance guides

PDF navigation page labels

Replaces the document’s navigation labels with the exact printed labels on selected pages. Unselected pages receive their original physical page number as a navigation label. It does not change page order or erase old printed footers. Reader support varies; review the downloaded file’s page navigation.

Batch documents

Choose multiple PDFs in the main input, then use the current-document selector for previews. Batch output processes all 0 loaded documents with the same scope/settings; sections/decimal numbering reset per document. Bates continuation is optional. Each document must meet the same range/fit rules; failures stop the whole batch before any download. Inputs: five files, 25 MiB each, 50 MiB combined, at most 300 pages each. Output: 100 MiB per PDF and 150 MiB per ZIP.

Placement uses the licensed bundled Liberation Sans glyph bounds inside the visible page after rotation, at 72 pt/in and 25.4 mm/in. Text is drawn above content without an eraser rectangle. Fit errors require smaller font/inset or a shorter label; there is no automatic shrinking. Editing can affect PDF/A, tags, bookmarks or annotation behavior; preservation is not guaranteed. Nothing is uploaded or automatically stored.

How to add page numbers to a PDF

Choose an ordinary PDF or try the example. Select all pages or physical ranges such as 2–5, 8. Choose physical page numbers or consecutive selected pages, a start, format, position, font size, color and inset. Check the complete planned-label table and actual selected/unselected previews, generate the current PDF and download it.

Advanced settings contains Roman front matter, chapter prefixes, Bates labels, first-page and odd/even placement, custom tokens, up to twenty sections, content-avoidance guides, navigation labels and batch ZIP generation. It starts closed and keeps your work when closed. Clear resets the workspace; Undo clear restores the previous source files/settings held in this tab.

Roman front matter uses physical positions through its page count. Later consecutive numbering restarts at Starting number; later physical numbering keeps source indices. Sections instead use their own consecutive starts and must cover selected pages exactly once. First-page placement means physical page 1 and takes priority over odd/even, section and main placement.

Example: front matter and a numbered body

For a five-page report, set Roman front-matter physical pages to 2 and use consecutive mode starting at 1. Labels become i, ii, 1, 2, 3. Add a chapter prefix such as Ch1- if needed. For explicit sections, assign pages 1–2 lowercase Roman from 1 and pages 3–5 decimal from 10; the body becomes 10, 11, 12.

For Bates labels, use prefix CASE-, start 98 and minimum digits 4: selected pages receive CASE-0098, CASE-0099, CASE-0100. Use custom format {prefix}{n} [{bates}] to show both sequence and Bates labels. Continue Bates across loaded documents only when you want one serial sequence in their listed order.

About PDF page numbering

Printed numbers are searchable vector text in licensed bundled Liberation Sans. They do not erase existing footers, reorder pages or automatically certify a document. Unsupported glyphs or labels that do not fit inside the visible rotated page inset are rejected; nothing shrinks or clips silently. Native page size/crop/rotation stay unchanged. Forms and detected signature data are unsupported, and editing can affect PDF/A, tags, bookmarks or annotations.

Custom tokens are {n}, {total}, {page}, {pages}, {prefix} and {bates}. Total means the last sequence value, while pages means the original document count. Roman values are 1–3999. Bates padding is a minimum, and restarting each document can repeat identifiers; legal suitability or cross-document uniqueness is not guaranteed.

Automatic content-avoidance guides compare approximate non-white pixel coverage in six candidate boxes on the current original page. They can miss faint content or be affected by backgrounds/rendering, and do not guarantee a clear location. A suggestion changes only the active placement rule when explicitly applied; inspect all affected pages. Actual numbered previews use generated PDF pages.

Navigation labels are optional and replace the whole document’s page-label map. Selected pages use their printed text; unselected pages use physical numbers. Reader support varies. Batch settings/ranges apply to each PDF separately; invalid range/section/fit in any file stops the batch. Bates continuation uses selected-page counts in listed document order, including matching offsets in current-document preview/export.

Limits: five files, 25 MiB each, 50 MiB combined, 300 pages per file, 20 sections, 200 characters per rendered label, 100 MiB per PDF and 150 MiB per batch ZIP. Workers have a 60-second deadline; bounded previews have rendering cancellation. All processing stays in this browser, with no upload or automatic storage. Original files are unchanged.

Stars and feedback

Loading…

Tool reference #066