To add a header and footer to a PDF, choose a non-empty local PDF no larger than 25 MiB, enter one or both text lines, set the font size and edge margin, and download the generated copy.
The Header Footer PDF tool applies an optional header and footer to every structural page of an existing document. The browser loads the source, draws the text, and creates a new PDF. Loading, font embedding, drawing, saving, and download creation run locally, so the source and generated bytes are not uploaded to Lizely.

What the New PDF Contains
Header Footer PDF does not rebuild the document or replace its pages. The original page boxes, page order, visible content, and page count remain in place. The selected text is added as new PDF content rather than as a temporary viewer overlay, which means it becomes part of the downloaded document.
| Input or output feature | Supported behavior |
|---|---|
| Source document | One non-empty, unencrypted PDF no larger than 25 MiB |
| Text fields | One optional header line and one optional footer line |
| Text limit | Each field is trimmed and limited to 120 Unicode characters |
| Font size | Whole values from 6 to 36 points |
| Edge margin | Whole values from 0 to 200 points |
| Page-number tokens | {page} for the current page and {pages} for the total |
| Output | A new PDF whose filename adds -header-footer.pdf to the source filename base |
Prepare a File the Tool Can Process
Start with a PDF stored on your device. It must be non-empty and no larger than 25 MiB. Encrypted, damaged, unsupported, oversized, or incorrectly labeled files produce a visible error rather than being processed through a workaround. The tool does not remove a password, repair a damaged document, or accept a mislabeled file as a valid PDF.
Before entering text, decide what each line needs to accomplish. A document title, confidentiality notice, filename, revision label, or page-number statement all fit the centered, one-line format. Keep the wording concise because both fields have a 120-character limit after surrounding spaces are removed.
Also inspect the page edges. The tool draws inside the existing page boxes and does not create extra white space or move the body content. A header or footer can therefore overlap material that already sits near an edge.
Add Header and Footer to the PDF
- Choose the local PDF. Select the file you want to modify. Confirm that it is a readable, non-empty PDF within the 25 MiB limit.
- Enter the header text, footer text, or both. Leave either field empty when you do not need that line. Each entered field is trimmed and can contain up to 120 Unicode characters.
- Add page-number tokens if needed. Put {page} wherever the current page number should appear and {pages} wherever the total page count should appear. These tokens are expanded separately for every page.
- Set the font size and edge margin. Use a whole-number font size from 6 through 36 points and a whole-number margin from 0 through 200 points. Both lines are horizontally centered.
- Create and download the file. Select Add header and footer, allow the browser to generate the new PDF, and download it. The output keeps the source filename base and adds -header-footer.pdf.
Check the settings before relying on a download. Changing any setting revokes the previous download, and a stale asynchronous job cannot replace a newer file or text selection. Download again after making your final configuration.
Turn Header or Footer Text into Page Numbers
The page-number system uses two exact, lowercase tokens. {page} becomes the current one-based page number, while {pages} becomes the total structural page count in the source document. For a five-page PDF, a footer containing Page {page} of {pages} becomes “Page 2 of 5” on the second page.
Token substitution is deterministic and occurs everywhere the exact lowercase token appears in the text. Other brace-based text is left unchanged, so combinations such as {date} or {file} do not become dynamic fields. Numbering always begins at one, and the total reflects the source document before the new text is added.
For a compact reference to token substitution and margin behavior, see PDF header and footer stamp: tokens, margins, and limits.
Set the Size and Margin Without Moving the Body
The font size and edge margin control where the new lines sit and how much room they need. Header text is positioned below the top edge according to the selected margin and requested font size. Footer text begins above the bottom edge according to the selected margin. Each line is centered using its actual measured text width with the embedded standard Helvetica font.
If a line is wider than the usable page width, the tool reduces its font size one point at a time until it reaches the 6-point minimum. It does not stretch the lettering, wrap it onto another line, or silently delete characters. At that minimum size, very narrow pages or an excessive margin can still leave little usable space, so the generated PDF needs to be inspected carefully.
The tool also cannot detect a safe area automatically. It does not move body text, avoid logos, identify crop marks, or reserve space around existing content. If a line lands over a graphic or paragraph, reduce the font size or adjust the margin and create the file again. An alternative is to choose a smaller edge margin where the document design permits it, then verify the result visually.
Standard Helvetica supports a practical Latin character set but not every writing system or emoji. If entered text cannot be encoded by the embedded font, file creation fails visibly instead of silently substituting or dropping characters. Multilingual branding, custom fonts, and precise typography are better handled in a desktop publishing application that can embed the required licensed font.
Check the Downloaded PDF
Open the downloaded copy and examine it before distributing or printing it. Because the new text is permanent PDF content, you should verify the result rather than relying on a temporary preview.
- Confirm that the header, footer, or both appear on every intended page.
- Check that current and total page numbers are correct and in the intended order.
- Look for overlap with body text, graphics, logos, signatures, or crop marks.
- Confirm that the selected font remains readable and that the lines are centered.
- Verify that the downloaded filename identifies the new copy clearly.
The check the result after adding a header and footer to PDF guide provides a focused visual review process for the generated document.
Match the Job to the Tool's Capabilities
| Document task | Result with Header Footer PDF |
|---|---|
| Add a centered document title, confidentiality notice, filename, or revision label | Supported as one uniform line on every structural page |
| Add current and total page numbers | Supported through {page} and {pages} |
| Give a cover page different header or footer content | Not supported; there is no cover-page exclusion |
| Use different text on odd and even pages | Not supported; the same text applies to every page |
| Create a multi-line footer, image, hyperlink, or rich custom-font design | Not supported by this fixed one-line workflow |
The same header or footer is applied uniformly to every structural page. There is no starting-number offset, Roman-numeral mode, separate left and right alignment, section-specific numbering, Bates numbering, dynamic date, archival-conformance claim, or image support. These are fixed product boundaries rather than settings that can be unlocked during the workflow.
For straightforward centered labels and predictable page numbering, the browser workflow provides a direct way to create a separate copy without uploading the document. For a layout that needs custom fonts, variable headers, moved body content, or advanced publishing controls, use a desktop PDF or publishing application with the required layout and font capabilities instead.