Skip to content
DevToolKit

PDF Bates Numbering

Add sequential Bates numbers to every page of a PDF document for legal identification. Configurable prefix, suffix, position, and formatting. Runs locally in your browser.

pdf

Drop your PDF here, or click to browse

Files are processed entirely in your browser — never uploaded

Processed locally
Was this tool helpful?

How to Use

Add Bates numbers to your PDF documents in four steps:

  1. Upload your PDF — Drag and drop the file or click the dropzone. The tool reads it locally and displays the page count and file size. No data leaves your browser at any point during processing.
  2. Configure the Bates format — Set a prefix (e.g., "CASE-"), starting number, zero-padding width, and optional suffix. Choose a font family from Courier, Helvetica, or Times Roman. The live preview shows exactly how the stamp will appear on each page.
  3. Choose placement and style — Select one of six positions on the page using the visual 3x2 grid, then adjust font size (8-24 pt) with the slider and pick a stamp color. A white background is drawn behind each stamp automatically for readability on dark pages.
  4. Apply and download — Click "Add Bates Numbers" to process the document. The progress bar tracks each page as it is stamped. Once complete, download the numbered PDF. Your original file is never modified.

For multi-document productions, the tool displays the next starting number after each file. When you upload the next document, click the "Continue from" button to resume the sequence seamlessly. This ensures continuous Bates numbering across an entire document set without gaps or duplicates.

About This Tool

Bates numbering is named after Edwin G. Bates, who patented the first automatic numbering machine in 1891. The system assigns a unique page-level identifier to every page in a document collection. The standard format consists of a prefix string, a zero-padded sequential number, and an optional suffix: CASE-000001-PRIV. This ensures every page in a production can be uniquely cited by attorneys, experts, and courts during litigation.

In United States federal courts, Bates numbering is effectively mandatory for document productions under the Federal Rules of Civil Procedure (FRCP). Rule 34 governs document requests, and Rule 26(a)(1)(A)(ii) requires initial disclosure of documents that support claims or defenses. While the rules do not explicitly name "Bates numbers," every major e-discovery platform and court standing order references them. The numbering provides an unambiguous page reference that all parties use in briefs, depositions, and at trial — replacing vague descriptions like "page 3 of the contract" with a precise citation like ACME-000047.

Before digital tools, law firms used physical Bates stamping machines — mechanical devices that advanced a counter with each impression. A paralegal would manually stamp each page, one at a time, often processing thousands of pages per case. Modern e-discovery platforms like Relativity, Concordance, and IPRO have automated this process, but they require expensive licenses. This browser-based tool provides the same core functionality at zero cost.

This tool uses pdf-lib, a JavaScript library that manipulates PDF structures directly in the browser. When you click "Add Bates Numbers," the tool embeds a standard PDF font (Courier is recommended for legal work due to its monospaced character width), calculates the text width for precise positioning, draws a semi-transparent white rectangle behind the text for contrast, and then draws the Bates string at the specified coordinates. The operation appends new drawing operators to each page's content stream — existing text remains searchable, vector graphics stay sharp, and embedded images are preserved byte-for-byte.

The six-position placement grid maps to fixed coordinates on each page. A margin of 36 PDF points (0.5 inches) separates the stamp from the page edge, following the convention used by legal document management systems. The tool also accounts for the PDF /Rotate flag — a page that is visually landscape but structurally portrait (rotated 90 degrees) will have its Bates number placed correctly relative to the visual layout, not the raw coordinate system. Zero-padding width defaults to 6 digits, supporting up to 999,999 pages — sufficient for most single-case productions. For large-scale litigation involving millions of pages, increase the padding to 7 or 8 digits to maintain consistent string length and correct lexicographic sorting.

Why Use This Tool

Bates numbering serves critical functions across legal, medical, regulatory, and business workflows:

  • Litigation document production — FRCP Rule 34 productions require uniquely numbered pages so that parties can cite specific pages in motions, depositions, and at trial. Without Bates numbers, page references become ambiguous and disputed.
  • Regulatory compliance — FDA submissions (21 CFR Part 11), SEC filings, patent prosecution, and insurance claim files all use sequential page numbering for audit trails and cross-referencing. Regulators expect every page to carry a unique identifier.
  • Chain of custody documentation — Medical records, law enforcement evidence, and forensic reports use Bates numbering to prove that no pages were added, removed, or reordered after initial processing. A gap in the sequence signals potential tampering.
  • Multi-party proceedings — When multiple law firms and parties handle the same document set, Bates numbers provide a universal reference system. "See ACME-000347" is unambiguous regardless of which party's copy is being referenced.
  • Deposition preparation — Attorneys mark exhibits with Bates numbers before depositions so that witness testimony references specific numbered pages. The court reporter records these citations in the transcript for later use in motions and at trial.
  • Archival and records management — Corporate legal departments and records management teams apply Bates numbers to archived documents for long-term retrieval. A single number locates any page across thousands of boxes or terabytes of digital storage.

Processing PDFs locally in your browser is particularly important for legal documents. Client-attorney privileged communications, trade secrets, medical records protected by HIPAA, and sealed court filings should never be uploaded to cloud-based tools. This Bates numbering tool guarantees that your files remain on your device — no network requests, no server-side processing, no third-party access. Every byte of your document stays under your control throughout the entire numbering process. Related tools include PDF Page Numbers, PDF Header & Footer, PDF Watermark, and PDF Edit Metadata.

FAQ

What is Bates numbering and why is it used?
Bates numbering is a sequential identification system used in legal, medical, and business settings to assign a unique number to every page in a document set. Each page receives a stamp in the format PREFIX-000001-SUFFIX, ensuring every page can be uniquely referenced during litigation, audits, or regulatory review.
Can I customize the Bates number format?
Yes. You can set a prefix (e.g., CASE-), suffix, starting number, zero-padding width (1 to 10 digits), font size (8 to 16 pt), stamp color, and placement position (9 positions across a 3x3 grid). The live preview updates instantly as you adjust settings.
Is my PDF uploaded to a server?
No. All processing runs locally in your browser using the pdf-lib JavaScript library. Your PDF never leaves your device, making this tool safe for confidential legal documents, medical records, and privileged communications.
Can I continue numbering across multiple documents?
Yes. After processing a document, the tool remembers the last number used and offers a 'Continue from' option. Upload your next file and click the continuation button to resume numbering seamlessly across an entire document set.
Will the Bates numbers be readable on pages with dark backgrounds?
Yes. The tool draws a semi-transparent white rectangle behind each Bates stamp to ensure readability regardless of the page background color. This backing is subtle but effective on both light and dark content.