A document without headers and footers can still be useful. Pages without them feel anonymous: there is no document title, no page numbers, no date, no easy way to know which page you are looking at when the file is printed and lying on a desk. Adding headers and footers is one of the most common PDF post-processing tasks. This guide walks through the options.
What headers and footers actually do
The functional purpose:
- Identify the document. A title or filename at the top of every page lets readers know what they are looking at without flipping to a cover.
- Page numbering. "Page 7 of 24" is critical for navigation in printed copies and easier to reference in long files.
- Date and version. "Updated 17 May 2026" or "v3.2" prevents readers from working from stale copies.
- Branding. Logo or company name in the corner.
- Legal. Confidentiality notices, copyright statements, or regulatory marks ("Privileged & Confidential", "Draft, Not for Distribution").
- Cross-reference. Chapter or section name in the running head of long documents.
A document missing any of these can be tedious to navigate. Add them once and the document becomes much more usable.
Tools that add headers and footers
Adobe Acrobat Pro. Tools → Edit PDF → Header & Footer → Add. Lets you set left/center/right header and footer text, page numbering format, date format, font, and color. Applies to all pages or specific ranges.
Foxit PDF Editor. Page → Header & Footer → Add. Similar workflow.
PDF-XChange Editor. Document → Header and Footer → Add.
Microsoft Word + Save as PDF. If you have the source as a Word document, add headers/footers there and re-export. Often cleaner than retrofitting.
LibreOffice Writer/Draw. Similar Word approach.
Browser-based. Docento.app supports adding headers and footers without installing anything.
CLI tools:
pdftkstamp/multistamp, stamp a header-and-footer PDF onto the target. Requires you to generate the stamp PDF first. See pdftk introduction.qpdf --overlayor--underlay, similar mechanic for stamping. See qpdf introduction.HeaderFooterfrom pdfcpu, Go-based PDF toolkit with native header/footer support:pdfcpu add header "..." in.pdf out.pdf.
For repeated jobs, CLI tools are the answer. For occasional jobs, GUI is faster.
What a typical Acrobat header/footer dialog looks like
In Acrobat Pro:
- Three header slots (left / center / right) and three footer slots (left / center / right)
- Text fields with macros:
<<Page Number>>,<<Date>>,<<Title>> - Font, size, color
- Margin from edge
- Page range (all / specific)
- Save Settings button for reuse
A typical professional header might be:
- Left: Document title
- Center: (empty)
- Right: Section name
And footer:
- Left: Company name or "Confidential"
- Center: Page X of Y
- Right: Date
Page numbering formats
Common formats:
1, 2, 3, ..., plain Arabic numeralsPage 1, Arabic with labelPage 1 of 24, Arabic with totali, ii, iii, ..., Roman lowercase, often used for front matterI, II, III, ..., Roman uppercaseA, B, C, ..., letters2026-1,2026-2, ..., prefix with a string
Many tools also support compound numbering for chaptered documents (e.g., 3-7 for chapter 3 page 7), but this typically requires the chapter structure to be encoded in the file. For a simple linear PDF, plain "Page X of Y" suffices.
For more nuance on adding page numbers specifically, see how to add page numbers to PDF.
Different headers for different sections
A long document often needs:
- Title page: no header/footer
- Front matter (TOC, preface): lowercase Roman numerals, special label
- Body: Arabic numerals starting at 1
- Index / appendix: continuation of Arabic numerals or a separate scheme
Most GUI tools let you apply different header/footer settings to page ranges. Apply the "no header" setting to the title page first, then the "front matter" settings to pages 2-8, then "body" settings to pages 9 onward.
Some PDFs have "page labels" (logical page numbering separate from physical page index). If those exist, they should be respected, the printed page number "iii" should appear on page 3 of the file, not on page i.
Adding the company logo to a header
For branding:
- Place the logo at the top corner using a watermark or stamp feature
- Some tools let you embed an image into a header slot directly
- Set the image opacity to 80-100% (lower if it competes with content)
- Apply to all pages
For a polished result, prepare the logo as a high-resolution PNG with transparent background, and let the PDF tool handle scaling.
Adding "DRAFT" or "CONFIDENTIAL" stamps
These are typically watermarks (centered, large, low opacity, often diagonal) rather than headers. See how to add a watermark to PDF for that workflow.
If "CONFIDENTIAL" is a small footer or header text, treat it as a normal header, center, bold, in red or another distinctive color.
Programmatic header/footer addition
For batch jobs:
# pdfcpu
pdfcpu add header "Header text" -p all input.pdf output.pdf
# Custom Python with pikepdf
import pikepdf
from reportlab.pdfgen import canvas
# generate a stamp PDF with header/footer
# overlay onto target with pikepdf
For automated invoicing or report pipelines, generate the header/footer text dynamically (with order number, date, customer ID) and stamp during PDF generation rather than after.
What survives in printing
Headers and footers print by default. Confirm with a test print before sharing widely. Common issues:
- Printed but cut off. Header is too close to the page edge. Most printers have a non-printable margin (typically 5-10 mm). Move headers further from the edge.
- Page numbers offset. "Page 1" appears on the actual second page (because the cover counts as page 1 but is unnumbered). Adjust the starting page number in the dialog.
- Total page count wrong. "Page 1 of 24" but the PDF has 25 pages. The header was added before a page was inserted or removed. Re-apply the header.
Common gotchas
Header sits on top of existing content. If the source PDF already has content near the top, the new header overlaps. Increase the header's distance from the edge or reduce its font size.
Headers added repeatedly. Running the "Add Header" command twice creates two headers. If you need to update an existing header, use "Update Header & Footer" rather than re-adding.
Different page sizes. A mixed-size PDF gets the same header at different positions on different pages because absolute coordinates differ. Re-apply after normalizing page sizes. See how to change PDF page size.
Rotated pages. A page in landscape orientation may need a header at a different position than a portrait page. Some tools handle this automatically; others need manual adjustment per orientation.
Color and contrast. Light-gray headers on a white background look elegant but may not survive print or photocopy. For headers that need to be readable in all output, use black on white.
Date macros and PDF stability. A header that includes <<Date>> evaluates to a specific date at the time of addition. The header does not "update" each time the file opens. If you want a dynamic date, add it through a system that re-generates the PDF on each access, not a static stamp.
Removing or updating headers
If you need to remove headers later:
- Acrobat Pro. Tools → Edit PDF → Header & Footer → Remove.
- Foxit. Same workflow under Page → Header & Footer → Remove.
- CLI. Tricky, headers added as content stream additions can be removed only by undoing the addition. If you generated the headers fresh, regenerate without them.
For updating, "Update" is cleaner than "Remove + Add" because tools track the existing header objects and replace them.
Accessibility considerations
Headers and footers should be tagged as page artifacts in a tagged PDF, so screen readers skip them rather than announcing "Page 1 of 24" on every page. Acrobat Pro's header/footer tool tags headers as artifacts by default; verify with a tagged-PDF check. See tagged PDF vs untagged PDF and PDF accessibility guide.
Quick recipe
For a typical document needing a header and footer:
- Open in Acrobat / Foxit / Docento.app
- Header & Footer → Add
- Left header: document title
- Right footer: "Page X of Y" with the page-number macro
- Apply to all pages except page 1 (the cover)
- Save as a new file
- Print one test page to confirm visual placement
- Done
Takeaway
Adding headers and footers to a PDF is straightforward across every modern PDF tool. The choices that matter are which content goes where, what page-numbering format you use, and whether different sections need different headers. For one-offs use a GUI tool; for batch jobs use pdfcpu or a scripted overlay. After adding, verify in a different viewer and on a test print. For browser-based work that includes header/footer addition alongside bookmarks or signing, Docento.app handles the whole workflow in one place.