Add page numbers
pdf_page_numbersStamp readable page numbers on each PDF page, with options for numbering format, skipping the first page, and placement. Runs locally.
Instructions
Stamp readable page numbers on each page. Distinct from Bates numbering: these are a reading aid (centred, optional "of N" total, skippable cover), not a legal evidence-control device. Runs entirely on this machine — the file is read and written locally and never sent anywhere.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | Hex colour #RRGGBB (default: #000000) | |
| force | No | Replace the output file if it already exists | |
| input | Yes | Path to the input PDF | |
| format | No | "3" | "3 of 12" | "Page 3 of 12" (default: plain) | |
| output | Yes | Path to write the numbered PDF | |
| fontSize | No | Point size (default: 10) | |
| position | No | Where to place the number (default: bottom-center) | |
| skipFirst | No | Leave page 1 unstamped, e.g. a cover. Later pages keep their true position (page 2 still reads "2 of 12"). | |
| startNumber | No | Number for the first page (default: 1) |