Skip to content

Add headers and footers to PDF

Add a header or footer to every page.

Drop a PDF here

Only your browser reads them.

How to use Headers and footers

  1. Upload your PDF. Drop a file onto the drop zone or choose a document from your device.
  2. Enter header and footer text. Fill in Header, Footer, or both using plain text alongside {page}, {total}, and {date} tokens.
  3. Set style and target pages. Pick an Alignment, choose a Size from Small to Large, and optionally restrict Pages such as 2-10.
  4. Apply and save. Select Add header and footer to stamp the selected pages locally and download the updated PDF.

Your files are processed on this device and never uploaded. They stay private, and there's nothing to delete afterwards.

Placeholders inside curly braces expand dynamically for each page during stamping without requiring manual edits per sheet. A custom PDF header and footer can combine static labels with live tokens: Footer starts prefilled with Page {page} of {total}, while Header accepts up to 120 characters of company names or {date} stamps.

Using {page}, {total}, and {date} placeholders

When the worker stamps page 3 of a 12-page contract, {page} resolves to 3 and {total} resolves to 12. Meanwhile, {date} inserts the current browser date formatted with a numeric day, short month name, and four-digit year, avoiding the day-month ambiguity highlighted in IETF RFC 3339 Date and Time Formats.

At least one of Header or Footer must contain text before clicking Add header and footer. If you only want clean sequential numbers without any header string or date token, you can stamp standalone page numbers instead.

Choosing page ranges to skip title or cover sheets

Leaving the Pages field blank stamps every sheet in the PDF. Entering a range such as 2-8 or 2-10, 12 skips cover sheets and standalone appendices while preserving {total} as the full document page count.

Because {page} always reflects the actual 1-based sheet index in the document, skipping page 1 labels the second sheet as page 2 automatically. This keeps legal exhibits and multi-chapter reports consistent with their table of contents.

Font encoding, alignment, and size constraints

Text stamping uses PDF Standard Helvetica (StandardFonts.Helvetica) combined with WinAnsiEncoding as specified in the Library of Congress PDF 1.7 (ISO 32000-1) Format Description. Choosing a built-in PDF typeface keeps output file sizes tiny while ensuring every compliant viewer renders crisp vector text.

Why Standard Helvetica restricts extended Unicode symbols

Before drawing onto any page, the worker checks both Header and Footer strings against the WinAnsiEncoding character table. Standard Western European letters, digits, and punctuation pass cleanly, whereas emoji, Cyrillic, Arabic, or East Asian characters trigger a validation warning.

If you need to store extended UTF-8 keywords, author names, or document titles invisibly in the file properties rather than on the page margin, use the PDF document properties editor instead.

Balancing Small, Medium, and Large text against page margins

Size option Point size Best use case Character cap per line
Small 8 pt Dense legal footers and timestamps 120 characters
Medium 10 pt Standard Page {page} of {total} 120 characters
Large 12 pt Bold draft notices and titles 120 characters

The Alignment dropdown places both lines at Left, Centre, or Right along the top and bottom page edges. Keep strings well under the 120-character cap when using 12 pt text on narrow portrait sheets so long titles maintain clean margin clearance without overlapping page content.

When stamping rotated landscape pages mixed into a portrait packet, the worker accounts for each page’s orientation so headers stay anchored to the visual top edge. Still, verify tight spreadsheets in a viewer afterward to confirm sufficient margin clearance.

Comparing PDF headers and footers versus page numbers and Bates numbering

Choose this tool when every page needs descriptive context alongside numbering, such as a client name, confidentiality notice, or print date. Dedicated page numbering or Bates numbering works better when you need continuous sequential indexing across multiple separate files for legal discovery.

Feature or constraint Headers and footers Dedicated page numbers Bates numbering
Top and bottom lines Both Header and Footer Page number position only Single corner or margin
Dynamic date token Built-in {date} token Numbering tokens only Prefix and suffix only
Multi-file sequence Single PDF per run Single PDF per run Continues across files
Page range filtering Yes (Pages input) Yes (Pages input) All pages in batch

Documents destined for long-term government or legal archiving often require PDF/A compliance. Per the Library of Congress PDF/A-1 (ISO 19005-1) Archival Standard, PDF/A forbids unembedded Standard 14 font references, so verify archival rules if your compliance pipeline requires fully embedded font programs.

If your source pages are crooked flatbed scans, straighten skewed scan margins before adding a header or footer so stamped lines sit parallel to the scanned text.

Browser-side stamping and scanned margin safety

All PDF parsing, WinAnsiEncoding checks, and vector text placement execute locally in your browser tab, sending 0 bytes over the network. Processing confidential NDAs, board packets, and tax filings locally removes third-party server retention risks.

Stamped Helvetica text renders in solid dark ink near the top and bottom margins. On standard white-background documents, 8 pt to 12 pt labels remain sharp and legible at any zoom level.

Tip: Leave either Header or Footer blank if you only want a single line stamped; you do not need to erase both or enter spaces.

If you are working with dark-themed slides or inverted scans, standard black footer text can blend into dark margins. Reviewing pages with Invert PDF colors (dark mode) or checking margin contrast beforehand prevents unreadable labels.

Keeping confidential drafts inside your browser worker

According to the MDN Web Workers API Documentation, running PDF stream updates inside a dedicated worker thread keeps typing and dropdown controls responsive. Your browser downloads the stamped file immediately after Add header and footer finishes.

Questions

What placeholders can I use in a PDF header or footer?

You can insert {page} for the current page number, {total} for the total page count in the document, and {date} for today's date. Any surrounding plain text such as Confidential or Draft stays intact on every stamped page.

How do I exclude the first page from headers and footers?

Enter a page range starting at page 2 in the Pages field, such as 2-12 or 2-last, instead of leaving it blank. The cover page remains untouched while {page} and {total} still reflect the document's full page numbering.

Why do certain symbols or non-Latin characters trigger an error?

The tool stamps text using Standard Helvetica with WinAnsiEncoding, which covers Western European Latin characters and common punctuation. Characters outside that code page, such as emoji or CJK scripts, cannot be encoded in unembedded Helvetica.

What font and sizes are used for stamped headers and footers?

Text is drawn in Standard Helvetica at 8 pt for Small, 10 pt for Medium, or 12 pt for Large. Because Helvetica is one of the 14 built-in PDF specification fonts, stamping adds minimal bytes to your output file.

Can I align the header left and the footer center?

A single Alignment selector controls both the header and footer lines in one pass. To place a left-aligned header and a centered footer, run the file through the tool once with only Header filled, then stamp the Footer on the downloaded result.

Does adding a header or footer upload my PDF?

No. All font embedding, token substitution, and page stream drawing happen inside a local Web Worker in your browser, so your PDF never leaves your device.

Updated