How to Bates number PDFs on a Mac (without Acrobat)
Every page in a document production needs its own permanent label —
ACME-000001, ACME-000002 — so that eight
months later, in a deposition or a summary judgment brief,
"ACME-004812" means one page and one page only, to everyone in the
case.
That is Bates numbering, and until recently doing it on a Mac meant either an Adobe subscription or uploading your client's documents to somebody else's server. This is what the numbering actually has to do, why the usual Mac options fall short, and how to run a production without either compromise.
What a Bates number is, exactly
The name comes from the Bates Automatic Numbering Machine, a self-advancing hand stamp sold by the Bates Manufacturing Company from the 1890s onward. You pressed it on a page, it printed a number, and it moved its own counter forward. Firms stamped exhibits with those machines for the better part of a century. The machine is gone. The convention it created is still how litigation refers to paper.
What separates a Bates number from a page number is worth stating precisely, because this is the part software gets wrong:
- It runs continuously across files. Page 1 of the second PDF is not "1". If the first document ended at 000014, the second one starts at 000015.
- It never restarts. Not per file, not per volume, not per custodian.
- It is unique across the whole matter, not just this batch. Starting a second production at 1 is how two different pages end up carrying the same label — and how a deposition stops while everyone works out which one the witness is holding.
-
It is fixed width.
ACME-000007andACME-000008sort next to each other in any file listing.ACME-7andACME-8stop sorting correctly the moment you reachACME-10. - It is written down. Somewhere there is a list of what you produced, which numbers each file carried, and when.
A footer reading "Page 3 of 12" satisfies none of that. Neither does a number that restarts at the top of every file, which is what "add page numbers" gives you in most software.
The four ways Mac users have done this
Adobe Acrobat Pro
Acrobat has done Bates numbering properly for years, including continuation across a batch. The catch is not the feature, it is the shape of the purchase: it is a subscription, a couple of hundred dollars a year, renewing forever. For a firm that runs three productions a year, that is hundreds of dollars annually for a feature used on a handful of afternoons — and the numbering restarts at 1 for every batch unless you remember what you ended on last time and type it back in yourself.
A general-purpose PDF editor
The Mac has several good ones, and they are genuinely better than Acrobat at most day-to-day work. But "add a header and footer" is not Bates numbering. The counter belongs to the document, so it restarts at the top of every file, and stitching fifty files into one continuous sequence means doing the arithmetic by hand, file by file, and hoping you did not misplace a page.
Preview
Preview cannot do it at all. There is no Bates function, and the Automator and Quartz filter workarounds people pass around handle one document at a time, with no counter that survives between them.
A website
There are free pages and paid browser tools that will stamp a PDF well enough. The problem is not the output. The problem is that you just uploaded privileged client documents to a server you do not control, run by a company you have not diligenced, with a retention policy you have not read. ABA Model Rule 1.6(c) asks lawyers to make reasonable efforts against the inadvertent or unauthorized disclosure of client information, and Comment 8 to Rule 1.1 puts the risks of technology inside the duty of competence. Whether a given upload clears that bar is the lawyer's judgment call — but it is a call you have to make every time, and the easy way to get it right is to never make the upload.
There is a fifth option, for the technically inclined: a shell
script around pdftk or Ghostscript. It works. It also
means debugging a script at eleven at night before a production is
due, and it produces no record of what it did.
What actually matters, and is easy to miss
The number has to be real text
Some tools flatten each page into an image with the number painted on. The number is visible and it prints, so it looks fine — right up to the moment opposing counsel searches the production for ACME-004812 and finds nothing, or a paralegal cannot select a citation to copy. A number written as text in the page content is selectable, printable, and found by Cmd-F in any viewer. A number burned into a raster image is none of those, and there is no undoing it later.
The originals must survive
Stamping should produce copies. If the tool writes over the files you fed it, one wrong prefix costs you the source documents.
The numbering has to continue
The second production in a matter starts where the first one ended. Software that cannot remember what it already used pushes that job onto whoever is running the batch, at exactly the moment they are least able to double-check it.
Somebody has to be able to audit it
When a dispute arises about what was produced, the answer should be a file you can open, not a reconstruction from memory.
Doing it with BatesStamp
BatesStamp is a small macOS app that does this one job. Here is a whole production, start to finish:
- Drag the documents onto the window. Files or entire folders — folders are read recursively. Each row shows the file name and its page count, with the totals along the bottom. Drag rows to set the order the production needs, or sort by name or date.
-
Set the numbering. A prefix, an optional
suffix, the number of digits, and the starting number. A label
under the fields updates as you type with the exact range the
batch will produce —
SMITH-000001toSMITH-004812— so you see the last number before you commit to the first. - Place the stamp. Six positions on the page, an offset in points, one of the standard PDF fonts, a size and a color. The preview draws the stamp on the first page of the selected file, in the place it will actually land.
- Press Stamp and choose an output folder. The batch runs in the background with a progress bar and a working Cancel. Your originals are read and left alone; every stamped file is a new copy in the folder you chose.
-
Read the register. When the batch finishes, the
folder opens in the Finder with
bates_log.csvsitting beside the copies: original file, output file, first and last number, page count, the SHA-256 of each file produced, and the method used. A production can be checked from that one file without opening a single PDF.
The next time you use the same prefix, the app offers to continue from where you left off. Set a starting number that would overlap something you have already served and it says so, naming the last number it used, before anything is written.
If you need to undo a stamping, Remove Bates Stamps… takes the stamped copies and gives back clean ones. The stamp is appended after the original bytes rather than mixed into them, so removing it returns a file that is identical to the original byte for byte. If somebody else edited the file after it was stamped, removal refuses and says why, rather than throwing away their work.
The part about the network
The app is sandboxed and ships without the network entitlement. That is not a promise in a privacy policy — it is a property of the application that macOS enforces. There is no account, no login, no analytics. Your documents never leave your Mac. The only connection is Apple's own App Store purchase check.
Before you serve it
Verify the output before serving your production. The app checks its own work — it re-reads the first and last number on every copy it writes, and refuses to hand you a file that failed the check — but the production is yours to stand behind. Open a few copies, search for a number, and read the register against the files in the folder. It takes two minutes and it is the two minutes that matter.
Where to get it
BatesStamp is free for productions up to 50 pages. Bates Stamp Pro removes the limit with a one-time purchase of $39.99: no subscription, no renewal, no expiry. If you bought the app before version 1.2, you already have Pro. It requires macOS 14 or later and runs on Apple silicon and Intel.
Available on the Mac App Store in the United States, the United Kingdom, Canada, Australia and other regions. Not currently on sale in the European Union.
This describes how document numbering software works; it is not legal advice. The rules named above are summarized — read the ones that apply where you practice.