←
PDF

PDF Header & Footer

Loading the tool…

Ready when you are.Runs in this browser · nothing is uploaded

Header, footer and Bates numbers on PDFs

  • Free
  • No sign-up
  • No upload
  • Works offline

Tool facts

Opens
PDF
Saves as
PDF
Price
Free, no sign-up, no watermark
Are files uploaded?
No. Everything is processed in this browser, on your device.
Batch processing
One file at a time
Offline use
Works without a connection once this page has loaded
Built with
Canvas, Web Workers, pdf-lib, and PDF.js
Browser
A recent Chrome, Edge, Firefox or Safari, on computer or phone.
Limits
No fixed file size limit; very large files depend on your device's memory and may fail on phones.

Check it yourself: press F12, open the Network tab, then use the tool. No request carries your data.

About PDF Header & Footer

PDF Header & Footer writes a line of text into up to six positions on each page of a PDF: left, center and right of the header, and left, center and right of the footer. Each slot can mix your own words with tokens that change per page: {page} for the page number, {pages} for the page count, {date} for a date you choose, {filename} for the name of the file and {bates} for a Bates number made of a prefix and a zero-padded counter, such as ABC000001.

Typical uses are a case number and Bates stamp on every page of a court exhibit, the document name and date in a report header, or "Draft" in the corner of a review copy. You can limit the text to a page range, leave the cover page clean, swap left and right on even pages for double-sided printing and add thin rules under the header and above the footer. Font size, color and the distance from the top, bottom and side edges are set in millimetres, and the preview shows the first stamped page.

PDF Header & Footer runs entirely in your browser. Your data is processed on your device and is never uploaded to Qiyi or anyone else.

How to use PDF Header & Footer

  1. Load the PDF to stamp. The preview shows the first page that will receive a header or footer.
  2. Type into the Header and Footer slots. Click a slot, then a token button such as {page} or {bates} to insert it at the cursor.
  3. For Bates numbering, set the Prefix, Start number and Digits, and put {bates} in a slot.
  4. Adjust the font, size, margins, date and page range, and turn on Skip first page if the cover should stay clean.
  5. Click Add header & footer and download the stamped PDF.

Frequently asked questions

Should I use this or Add Page Numbers to PDF?

Use Add Page Numbers when all you need is a number, with options for a custom start number, counting from a later page and formats like Page 1 of 12. Use this tool when the page also needs other text, such as a file name, date, case reference or a Bates number, in several positions at once. Here {page} is always the physical page number in the file.

How are Bates numbers counted?

The counter starts at the Start number and goes up by one on every page that gets stamped, in page order. Pages outside your page range and the skipped first page don't use up a number. With prefix ABC, start 1 and 6 digits the pages read ABC000001, ABC000002 and so on. To continue a numbered set, set Start to the next number after the previous volume.

Can the header use Chinese, Arabic or other scripts?

Yes. Text that the standard PDF fonts can encode (Latin letters, accents, digits and common symbols) is written as real, searchable text in Helvetica, Times or Courier. Text in other scripts, including a file name in Chinese, is drawn with your device's fonts and embedded as a sharp transparent image, so it prints correctly but can't be selected.

What happens on rotated or unusual page sizes?

Positions are measured from the page as it appears on screen, so on a page with a 90° rotation flag the header still sits along the top edge as you read it, and each page uses its own width, so mixed A4, Letter and landscape pages are all handled.

Is my PDF uploaded, and does it work with protected files?

Nothing is uploaded: pdf-lib adds the text inside your browser and the result is downloaded directly. Encrypted PDFs are refused, because new text would have to be encrypted with the document's key. Remove the protection first if you have the right to do so.

· Free · Runs in this browser · nothing is uploaded

Drop any file here
Drop it to see which tools can open it