How to Add Page Numbers to a Folder of PDFs at Once
Published 2026-11-13 · NoFilePDF
You can handle this directly in your browser with our free add page numbers tool — nothing gets uploaded.
You have forty PDFs from a case file, a course pack or a batch of invoices, and every one of them needs page numbers in the same place, in the same format, starting from the right value. Doing it by hand in a viewer that lets you stamp one file at a time is an evening of clicking and a guarantee that file number seventeen will have the wrong font. The problem is not numbering itself; it is doing it consistently across files that are not identical.
This guide covers the three practical ways to number a folder, the settings that keep the pages aligned, and the mistakes that make numbered documents unusable.
Decide the numbering scheme before you touch a file
Two decisions drive everything else, and both are cheaper to make now than to fix later.
Continuous or per-document? A case file or a bound report wants one running sequence across all pages, because a citation like "page 214" must point to exactly one position. A set of separate invoices wants numbering that restarts at 1 in each file.
Does an existing number already appear on the paper? If the pages were printed with numbers in the footer, stamping a new number on top gives the reader two conflicting references. Either suppress the original in the stamp position or choose a different corner.
Write the choice down and use it for every file. Most mistakes in batch numbering come from a scheme that shifted halfway through.
Option 1: the viewer's own batch or print path
Desktop viewers and office suites can add page numbers when exporting or printing, and most can do it to a whole selection of files at once. The advantage is that the text stays selectable and searchable; the disadvantage is that the numbering lives in a footer created at export time, so it rarely matches a layout you already have. Use this path when you are producing new PDFs from source documents rather than editing existing ones.
Option 2: a stamping tool that processes a folder
A stamping tool reads each PDF, draws the number in a fixed position on every page and rewrites the file. Look for four settings and check them on the first two pages of the first file before letting it run on the folder.
Start number and step. Continuous mode needs a start value of 1 on file one and a step of 1 across files; per-document mode resets to 1 each time.
Position and margin. Bottom centre is the safest for documents that will be printed, because it survives duplex printing and binding. Leave at least 12 mm from the paper edge so no printer clips it.
Format. "Page 3 of 40" tells the reader how much is left; "3" keeps it clean. Pick one and apply it everywhere.
Font size and colour. Numbers should be small and unobtrusive, usually 9 to 10 points, in the same colour as the body text.
Option 3: scripting for people who need it repeatable
If the same folder will be numbered every month, a small script is worth it. Any tool that exposes a stamp or overlay command can loop over the files, keep a running counter and write output to a separate folder. Two rules make scripts safe: always write to a new folder rather than overwriting the originals, and log the final page count per file so a missing or corrupt PDF is obvious immediately instead of after the folder has been bound.
Do not destroy what the PDF already carries
Numbering is an edit, and edits can break things. Stamping a document with form fields can flatten them if the tool saves aggressively. Stamping a signed document invalidates the signature in most viewers, because the file bytes change. Stamping a document with bookmarks usually keeps the outline, but the outline still points to pages rather than labels, so a reader following a bookmark to "page 12" may land on a stamped "page 41".
If the PDF already has real page labels, a viewer will often display the label rather than the physical index. Check whether the document uses labels before adding a stamped number on top, or you will end up with two numbering systems on the same page.
Verification checklist
Check
How
Failure it catches
First file, first page
Open and read the number
Wrong start value
Boundary between files
Check last page of file one and first of file two
Counter not continuing
Odd and even pages
Check both, printed double-sided
Margin too small, number clipped
Existing footer
Look for two numbers in the same corner
Conflicting numbering
Total count
Compare with the planned count
A file was skipped or duplicated
FAQ
Can I number files without changing the originals?
Yes, and you should. Any batch tool can write to a new output folder. Keep the originals untouched until the numbered set has been checked.
Why do my numbers start on page 3?
Because the document's first two pages are a cover and a contents page and the tool is offsetting the start. Most stamping tools let you set a start page; check it before running a folder.
Will adding numbers break a digital signature?
Yes. Any modification invalidates most signatures. Number signed documents before they are signed, not after.
How do I number across multiple folders?
Either merge the folders into one set first, or use a tool that accepts a file list in order. Order matters: number the files in the sequence a reader will see them.
Is there a free way to do this in a browser?
Single files can be numbered in the browser at pdf.dingsheng.cyou without uploading anything. For a folder, a desktop stamping tool is still the practical route.