Bates Numbering a PDF for Free: Format, Tools, and the Mistakes That Get Rejected

Bates numbering is not a page number — it is a stamp applied to every page of a production set, using one prefix, one zero-padded counter, and one consistent position. You can do it for free: in a browser tab, with a twenty-line Python script, or with an open-source server you host yourself. The stamping is the easy part. What gets a production bounced back is the format choice — how many digits, which corner, what the numbers do when the set grows in three batches.

The conventions below are what US litigation support teams and paralegals use in practice as of 2026. They are conventions, not statute: your court’s standing order, the judge’s individual rules, and any ESI protocol the parties agreed to all override anything written here.

What Bates numbering actually is

The name comes from the Bates Manufacturing Company, which made the self-inking automatic numbering stamp that law firms used through most of the twentieth century. You pressed it onto the bottom-right corner of a page, the counter advanced by one, and you pressed it onto the next page. Twenty thousand pages took a week and a sore wrist.

The digital version is the same idea with the mechanics removed: a small text layer drawn onto each page, containing a fixed prefix and an incrementing number. Nothing else changes. The underlying document is not rewritten, re-paginated, or converted — a stamp is placed on top, exactly like the ink one.

That “on top” detail matters more than it sounds, and it comes back in the mistakes section: a Bates stamp is an overlay, so wherever you put it is where it will sit, whether or not something was already there.

The difference between a page number and a Bates number

People use the two interchangeably and they are not the same object.

Page number Bates number
Scope One document The whole production set
Restarts At 1 in every file Never — it runs continuously across all files
Belongs to The document’s own layout The set as delivered, added by the producer
Used for Reading Citing, indexing, and proving nothing was withheld
Example Page 3 of 12 SMITH-000456

The whole point of the Bates number is that it is unique and continuous. If a deponent is asked about “the email at SMITH-000456”, there is exactly one page in the world that answer can refer to, and its position in the set tells you how many pages came before it. A page number cannot do that, because four hundred documents all have a page 3.

When you actually need it

Bates numbering is a production convention, not a filing convention. It belongs to the moment documents leave your control and enter a shared record.

Situation Need it? Why
Litigation document production (discovery) Yes The receiving side cites by Bates number in depositions, briefs and privilege logs
Deposition or trial exhibits Yes Exhibit numbers are assigned per exhibit; Bates numbers identify the page inside it
Insurance claim file handed to counsel Usually Adjusters and defence counsel both annotate; a shared counter prevents duplicate references
Medical records request Often Providers frequently deliver already Bates-stamped; if not, the requesting firm stamps on receipt
M&A due diligence data room Common Lets both sides reference “the contract at DD-002114” instead of a file path
Internal contract archive No File names and dates do the job; a stamp just adds noise to documents you will re-execute
Quotes, invoices, proposals you send out No Clients read a Bates number as litigation and it makes a normal document look like evidence
Personal PDF library No Nothing to cite, no counterparty, no shared record

Is it legally required?

No US federal rule contains the words “Bates number”. What exists instead is Rule 34(b)(2)(E) of the Federal Rules of Civil Procedure, which governs the form of production: documents are produced either as they are kept in the usual course of business, or organised and labelled to correspond to the categories in the request — and electronic files in the form they are ordinarily maintained, or in a reasonably usable form.

Bates numbering is the “labelled” half of that sentence, which is why it is near-universal in US practice despite never being named. On top of the rule sit three things that can make it mandatory in your specific case: a standing order in your district, the judge’s individual practice rules, and the ESI protocol the parties negotiate at the outset. If any of those three says “Bates-stamped”, it is required for you, whatever the rule says.

The four format decisions (and how to make them)

Every Bates stamp is defined by the same handful of parameters. Getting them right takes five minutes and saves a re-production later.

Parameter What people use How to choose
Prefix SMITH-, ABC-, DEF, PL-, EX- 2–6 characters. Client or matter code, plus plaintiff/defendant side if both sides produce. Must be identical across every batch.
Digits 6 most often; 5 for small matters, 7–8 for large ones Set the ceiling well above your estimated volume. Six digits tops out at 999,999 pages; five tops out at 99,999 and is exceeded by a routine document case.
Position Bottom right, about 0.5 inch up and in Bottom right is the default because it is where the eye goes and where the paper stamp went. Switch to top right only when the footer is already occupied.
Start number 000001 Start at 1 for a single production. For a series, continue from the previous batch — never restart at 1.
Font Arial or Helvetica, 8–10 pt, regular weight, black Small enough not to obscure text, large enough to survive a photocopy or a fax. Avoid decorative fonts and avoiding anything under 8 pt.
Separator Hyphen or nothing SMITH-000456 reads better on a screen and in a transcript than SMITH000456, but both are in use. Pick one and stay with it for the whole matter.

Do not put a date in the prefix

It is a small thing that causes disproportionate pain. A prefix like SMITH-2026- looks organised on day one. Then the matter runs into the following year, a second paralegal produces a batch with SMITH-2027-, and you now have two numbering series in one case — which means the receiving side has to cite both, and any index you built is wrong. Use the matter, not the calendar.

Plan for the set to grow

Almost no production arrives in one batch. You produce 4,000 pages now, another 1,800 after the meet-and-confer, and 300 supplemental pages in month six. If you stamp each batch from 000001, you have created three documents that all contain a page SMITH-000001 — and the entire purpose of the number is gone.

The fix is trivial if you decide it upfront: keep a running counter. Batch one runs SMITH-000001 to SMITH-004000, batch two starts at SMITH-004001. Write the last-used number down somewhere that survives — a line in the matter file beats a memory.

Four free ways to do it

All four produce the same output. They differ in where your file goes, how many pages you get for free, and how much manual work each batch costs.

Method File leaves your device? Free limit Best for
In-browser tool
(e.g. our Bates numbering tool)
No — processed in the tab A few runs per day, first pages only Checking a format, small sets, anything confidential
Python + pypdf No None — unlimited Repeatable batches, thousands of pages, scripted runs
Sejda PDF Yes — uploaded A few tasks per hour, 200 pages / 50 MB per task One-off jobs where the file is not sensitive
Adobe Acrobat Pro No Paid (~$20/month) Merging many files into one numbered set with an index

There is a fifth option that sounds appealing and rarely is: some open-source PDF servers can draw a text stamp with a counter, but zero-padded counters and page-relative positioning usually require stitching several features together. If you are going to script it at all, the Python route below is less work than configuring a server.

The browser tool, and where it stops

The advantage is not convenience, it is that the file never leaves your machine. That is the correct default for anything under privilege, and it is the whole subject of our guide to whether it is safe to upload a PDF to an online converter.

What it will not do is stamp a 3,000-page set for free — free runs are limited and typically number only the first pages, so it works as a format check or a small production, not as your batch engine. For volume, use the script.

The script

About twenty lines, no upload, unlimited pages, and identical output every run. Install with pip install pypdf reportlab, then:

from pypdf import PdfReader, PdfWriter
from reportlab.pdfgen import canvas
import io

PREFIX, START, DIGITS = "SMITH", 1, 6
reader = PdfReader("in.pdf")
writer = PdfWriter()

for i, page in enumerate(reader.pages, start=START):
    w = float(page.mediabox.width)
    h = float(page.mediabox.height)
    buf = io.BytesIO()
    c = canvas.Canvas(buf, pagesize=(w, h))
    c.setFont("Helvetica", 9)
    c.drawRightString(w - 36, 24, f"{PREFIX}-{i:0{DIGITS}d}")
    c.save()
    buf.seek(0)
    page.merge_page(PdfReader(buf).pages[0])
    writer.add_page(page)

with open("out.pdf", "wb") as f:
    writer.write(f)

Three things in that script are worth understanding rather than copying blindly. mediabox.width and mediabox.height are read per page, so mixed page sizes and landscape pages each get the stamp in their own bottom-right corner. w - 36 puts the right edge of the text 36 points (half an inch) from the page edge, and the baseline 24 points up from the bottom. And merge_page draws the stamp over the existing page content, so if a page already has a footer there, the two will overlap — which is the fourth mistake below.

To continue a series, change START to the next unused number. To stamp a folder of files in sequence, wrap the loop in a for path in sorted(...) — but read the sorting caveat first.

The five mistakes that get a production rejected

Mistake What it looks like Fix
Sorting by file name Numbers jump 1, 10, 100, 101, 11 — because “10.pdf” sorts before “2.pdf” Sort by an explicit key: zero-padded names, a date column, or page order in the source system. Never sort() raw digit strings.
Restarting each batch at 1 Two documents both contain SMITH-000001 Keep a running counter across batches; record the last used number in the matter file
Stamp outside the trim area Numbers visible on screen, gone after printing or PDF-to-image conversion Keep the stamp at least 0.25 inch (18 pt) inside the page edge, and never place it in a crop or bleed margin
Rotated scans The stamp lands in the wrong corner, or sideways, on pages scanned in landscape Normalise page rotation first, then stamp; check a landscape page in the output before running the whole set
Stamping an unsearchable scan Numbers are there, text is not selectable, opposing counsel calls it not “reasonably usable” Run OCR before stamping, and confirm with a text search that a word from page 400 is findable

Two more that do not fit the table but cause real damage. First, stamping over existing content: contracts and court filings usually have their own footer with a page number and a document title, and a stamp dropped into the same corner makes both unreadable. Move the stamp to the top right, or shift it further out — do not just accept the overlap. Second, not keeping an unstamped master: the stamped PDF is the production copy, not the archive copy. If you later need to produce the same document in a different set, or a page needs to be replaced, you need the original without a number burned into it.

Six checks before you hand it over

  1. Count the arithmetic. Page count should equal (highest number − lowest number + 1). A mismatch means a page was skipped or stamped twice.
  2. Look for duplicates mechanically. Run pdftotext out.pdf - | grep -oE 'SMITH-[0-9]{6}' | sort | uniq -d. Empty output means no repeated numbers. Reading 4,000 pages by eye does not scale; this takes a second.
  3. Check the first page, the last page, and every 500th page as an image. This catches the rotated-page and trim-margin problems that a text search cannot see.
  4. Search for a word you know appears only on a late page. If it is not found, the OCR step failed or produced a text layer the reader cannot see.
  5. Open the file on a different machine — a phone, or a different PDF reader. Overlay stamps occasionally render thin or vanish at low zoom in lightweight viewers.
  6. Deliver an index alongside it. A simple CSV mapping Bates range to original file name (SMITH-000001,SMITH-000412,2019-03-14_email_thread.pdf) is worth more than it costs. When the other side asks “what is at SMITH-000801”, you answer in ten seconds instead of opening the PDF.

FAQ

Is Bates numbering legally required in the US?

Not by name — no Federal Rule of Civil Procedure uses the term. Rule 34(b)(2)(E) requires documents to be produced either as kept in the usual course of business or organised and labelled to match the request. In practice Bates numbering is how that labelling is done, and it becomes mandatory when a district’s standing order, the judge’s individual rules, or the parties’ ESI protocol requires it. Check those three before you decide.

Can I Bates number a PDF for free?

Yes, and without uploading anything. A browser-based tool handles small sets at no cost; a short Python script with pypdf and reportlab handles unlimited pages at no cost and no upload. Free web services exist too, but they upload your file to a server, which is the wrong trade for privileged material.

How many digits should the Bates number have?

Six is the most common choice and gives you 999,999 pages, which covers almost every matter. Use five only for a small, closed set. Go to seven or eight for productions expected to exceed a million pages. Choose based on the ceiling you might reach, not the volume you have today — changing digit count mid-production breaks continuity.

What prefix should I use?

Two to six characters identifying the matter, sometimes with the producing side: SMITH, ABC, PL (plaintiff), DEF (defendant). Keep it identical for the whole matter and do not embed a date. If two parties both produce, agree on different prefixes before either side starts, or you will end up with two sets of identical numbers.

Can I add Bates numbers to a scanned PDF?

Yes, but OCR it first. The stamp is just a text overlay — it does not make the scan searchable, and a production where nothing can be searched may fail the “reasonably usable” standard. Also check page rotation: scans are often landscape pages that display upright in the reader, and a stamp positioned by raw page dimensions will land in the wrong corner.

Does Bates numbering alter the original document?

The output file is altered — a text layer is added to every page. The source file is not, provided you keep it. Treat the stamped PDF as the production copy and keep an unstamped master per document; you will need it if the same document goes into a different production, or if a page is later replaced.

What if I need to add pages in the middle of a set?

Do not renumber the existing pages. Append the new pages with the next numbers in the series and note them in a supplemental index, so citations already made to earlier numbers stay valid. Renumbering a delivered set invalidates every citation the other side has written down, which is worse than an out-of-order sequence.

This guide is one of the Koumen guides on documents, contracts and small-business paperwork. If you are about to hand a PDF to any online tool, read the upload-safety test first — it takes thirty seconds and applies to every converter you will ever use.

Guides·Privacy Policy·About·Contact
© 2026 koumen.net