← All tools
PDF ToolBuilt into the unified PDF editor

Number pages

Add custom page numbers to each page of your PDF. Directly in DocuNest's unified PDF editor (Insert menu).

Number pages in DocuNest: 100% local processing on Windows, macOS, and Linux. Automatable via the docunest CLI.

Number pages
Preview of Number pages in DocuNest, offline PDF app

Built into the unified PDF editor. This tool is used directly within the DocuNest editor: open your PDF, apply the action, undo with Ctrl+Z if needed, then move on to any other tool — without ever reloading your file.

Discover the PDF editor →

Features

Customizable format (e.g., {n}/{total})
Choice of position (top, bottom, left, center, right)
"Ignore cover" option to exclude the first page
Adjustable font and size
Numbering from the editor (Insert menu), with unlimited undo (Ctrl+Z)

Use cases

1

Professional report

Add "Page 1/10" at the bottom of each page in a report.

2

Legal document

Number a contract to facilitate references between parties.

3

Course material

Add page numbers to teaching materials before printing.

Command line

Same result as the interface, in one command. Nothing leaves your machine.

docunest — zsh

local
# Number pages
❯ docunest pdf number-pages -i document.pdf --format "{n}/{total}" --position bottom-center -o result.pdf
✓ Done — file written locally, no network upload

Complete CLI documentation →

Frequently asked questions

Can I customize the format?
Yes. Use {n} for the current number and {total} for the total number of pages.
Can I choose the position?
Yes. Available positions include top-left, top-center, top-right, bottom-left, bottom-center, and bottom-right.
Can I skip numbering the first page?
Yes. The "ignore cover" option excludes the first page, which is handy for documents with a title page.
Are the numbers added to the existing content?
Yes. They are overlaid without modifying the original content.

Stop sending your PDFs to the cloud.

Download DocuNest: the complete editor, 7-day trial, no credit card, no files leaving your machine.

Download for free

Download DocuNest

No account required, no data collected.

Linux

Install a system package, or use the AppImage if you prefer a portable version.

Windows 10+, macOS 12+ (Apple Silicon), Linux (deb / rpm / AppImage)