Free plan
Bates Numbering
Stamp a running number on every page, like courts and law firms do
About this tool
Bates numbering puts a running identifier on each page of a document, such as ACME-000123. You choose the text before and after the number, where the number starts, how many digits it has, the corner it goes in, and its size and colour. It is used by law firms and courts to keep track of pages. You can number all pages or only some.
For example, you number every page of a set of documents with CASE-000001 and up before sending them to a court.
How to use it
- Choose this tool.
- Add your PDF with Upload or drag and drop.
- Type the text before the number and the number to start from.
- Choose the corner for the label and how many digits to use.
- Press Generate, then download the PDF.
What you get back
You get a new PDF with a numbered label on each page, ready to download.
GOOD TO KNOW
A PDF in, a numbered PDF out. The label sits at the corner as the page is seen, also on turned pages. Counts as one file.
TEST IT LIVE
Try Bates Numbering in the Studio
One click opens the Studio with this tool already selected. Add your file and see the result in seconds.
Family
PDFs
Plan
Free
Method
POST
Endpoint
/v1/pdfs/bates
Tool ID
pdfs.bates
Authentication
API key
Accepts
PDF
Background jobs
Yes
Usage group
Pdf
For developers
Use it from your code
cURL
curl -X POST "https://app.h2i.davixlabs.io/v1/pdfs/bates" \
-H "X-Api-Key: $DAVIX_H2I_API_KEY" \
-F 'prefix=ACME-' \
-F 'start=1' \
-F 'step=1' \
-F 'file=@document.pdf'Node.js
const { DavixH2I } = require('@davixlabs/h2i-sdk');
const h2i = new DavixH2I({ apiKey: process.env.DAVIX_H2I_API_KEY, baseUrl: process.env.DAVIX_H2I_URL });
const result = await h2i.pdfs.bates({
"prefix": "ACME-",
"start": 1,
"step": 1,
"file": 'document.pdf'
});
console.log(result.data, result.requestId);PHP
<?php
require 'vendor/autoload.php';
$h2i = new \Davix\H2I\Client(['apiKey' => getenv('DAVIX_H2I_API_KEY'), 'baseUrl' => getenv('DAVIX_H2I_URL')]);
$result = $h2i->pdfs()->bates([
'prefix' => 'ACME-',
'start' => 1,
'step' => 1,
'file' => 'document.pdf',
]);
echo $result->requestId;More in PDFs
