To repeat the same header and footer on every page, enter an optional header line and an optional footer line, then apply them uniformly to every structural page of the source PDF.
When you use Header Footer PDF, repetition is built into the workflow. Literal text remains consistent across pages, while the optional {page} and {pages} tokens expand to predictable values. The browser processes the local document and creates a new PDF without reordering the source pages.

What “the same result” means for a PDF
For this workflow, “every page” means every structural page in the original document, including the first and last pages. The source page boxes, page order, existing visible content, and original page count remain in place. The new header or footer becomes additional PDF content rather than a viewer-only overlay.
| Text configuration | Result |
|---|---|
| No page tokens | The same trimmed header or footer text appears on every structural page. |
| {page} | The token expands to the current one-based page number. |
| {pages} | The token expands to the document’s total structural page count. |
| Both tokens | Each page receives a predictable current-page and total-page combination. |
Token replacement is deterministic. The exact lowercase strings {page} and {pages} are recognized wherever they appear in a text field, while other brace text is left unchanged. Omit the tokens when every page should carry a literally identical label; add them only where page-specific numbering is intended.
Add the same header and footer to every PDF page
- Choose the local PDF. Open the tool and select a non-empty PDF that is no larger than 25 MiB. The source must be a genuine PDF rather than a file with the wrong extension or format.
- Enter the header, footer, or both. Use one optional line for each field. Each field is trimmed and limited to 120 Unicode characters. For automatic numbering, insert the exact lowercase tokens {page} and {pages}; for a repeated confidentiality notice or revision label, enter the same literal text you want on every page.
- Set the font size and edge margin. Enter a whole-number font size from 6 to 36 points and a whole-number edge margin from 0 to 200 points. These settings control the appearance and distance of the centered lines from the relevant page edges.
- Select Add header and footer. The browser opens the source PDF, expands the page tokens for each structural page, measures the text with the embedded standard Helvetica font, centers each line within the page box, and serializes a new PDF.
- Download the new copy. The download retains the source filename base and adds -header-footer.pdf. Loading, font embedding, drawing, saving, and download creation run locally in the browser; the source and generated bytes are not uploaded to Lizely.
Because the same header and footer fields are applied to the whole document, the main decision is whether the text should remain completely identical or vary only through the supported page-number tokens.
Control the text, font size, and edge margin
The controls are designed for a predictable, centered stamp rather than a full page-layout system. Use the following values as the practical setup boundaries.
| Control | Accepted value | Effect |
|---|---|---|
| Input file | Non-empty PDF, no larger than 25 MiB | Defines the bounded local document that can be processed. |
| Header and footer | One optional line in each field | Each field is trimmed and limited to 120 Unicode characters. |
| Font size | Whole values from 6 to 36 points | Sets the requested size before any width-based reduction. |
| Edge margin | Whole values from 0 to 200 points | Positions the header below the top edge or the footer above the bottom edge. |
| Page tokens | Exact lowercase {page} and {pages} | Produces the current one-based page number and total structural page count. |
| Output name | Source base plus -header-footer.pdf | Creates a downloadable copy instead of using the original filename. |
There is no separate alignment control because both lines are horizontally centered. The tool also does not create multi-line headers, embed a custom branding font, or offer a cover-page exclusion. Those constraints keep the result consistent, but they also mean that complex document layouts may need a different editor.
Make current and total page numbers consistent
Enter Page {page} of {pages} in either the header or footer field to show both values. In a five-page PDF, the footer on the second page becomes Page 2 of 5.
Numbering always begins at one, and {pages} always represents the source document’s structural page count. There is no starting-number offset, Roman-numeral mode, section-specific numbering, or different content for odd and even pages. If a cover page must be excluded, that cannot be configured in this tool; the same tokens and lines will be applied to every page.
The expansion rules are consistent across the document, so the only intended text variation is the page-specific number. Dynamic dates, filenames, revision codes, Bates numbers, and other changing fields are not substituted automatically. Enter a fixed revision label if every page should carry the same wording.
Avoid overlap and unusable narrow-page layouts
The header and footer are centered using the real text width measured with the embedded standard Helvetica font. The header is positioned below the top edge according to the selected margin and requested font size, while the footer begins above the bottom edge by the selected margin.
If a line is wider than the usable page width, the tool reduces its font size one point at a time down to a 6-point floor. It does not stretch, wrap, or silently remove the text. On a very narrow page, or with an excessive edge margin, there may still be little usable space, so inspect the result before printing or distributing it.
The tool does not automatically create white space, detect a safe margin, move body content, or avoid logos and crop marks. Existing content close to an edge can therefore overlap the new line. The added text is embedded in the PDF, so it can affect both screen display and printed output. If the stamp lands incorrectly, use the guidance to fix a PDF that looks wrong after adding a header or footer and review the margin and line width before trying another setting.
Handle files, fonts, and privacy safely
Encrypted, damaged, unsupported, oversized, or incorrectly labeled files produce a visible error and are not bypassed. A file that appears to be a PDF but cannot be processed should not be assumed to be safe or complete simply because a name appears in the file picker.
The standard Helvetica font supports a practical Latin character set, but it cannot encode every writing system or emoji. If entered text cannot be represented, file creation fails visibly instead of reporting success with missing glyphs. For multilingual branding, custom fonts, or precise typography, use a desktop publishing application that can embed the required licensed font.
Because processing remains in the browser, the local workflow avoids sending the document or generated file to Lizely. That makes the tool suitable for sensitive files when the chosen PDF is within its size and format limits, although the final output should still be reviewed for content and layout issues.
Verify the final PDF and current download
Open the downloaded copy and review the added line on every page, with particular attention to pages containing narrow dimensions or content near an edge. Confirm that the header or footer appears where intended, the page tokens progress correctly, no text is clipped, and the adjusted font remains legible. Also check that the original page count, page order, and visible body content are still intact.
Changing any setting revokes the previous download, so a file created under an earlier configuration cannot be mistaken for the current one. A stale asynchronous job also cannot replace a newer file or text choice. After finalizing the text, font size, and margin, create the PDF again and download the current result before sharing or printing it.
Know when uniform stamping is not enough
Uniform application works well for centered labels, confidentiality notices, fixed filenames, revision names, and page numbering. It does not support separate odd-and-even headers, different content by section, cover-page exclusion, dynamic dates, images, multi-line text, rich custom fonts, hyperlinks, or archival-conformance features.
If the document needs those capabilities, or if a custom font must be embedded for multilingual branding, use a desktop publishing application with section controls and font licensing. For a straightforward repeated line and predictable current-or-total page numbering, the Header Footer PDF workflow provides a concise local solution without attempting to redesign the source document.