Document the workflow by recording the source PDF, the exact header and footer text, any page-number tokens, the requested font size, edge margin, output filename, and verification steps. The Header Footer PDF tool applies centered lines to every page, but it does not create an instructions sheet or activity log, so keep that documentation separately.
Use this browser workflow when an existing PDF needs a repeated running label, confidentiality notice, filename, revision, or page count. The source and generated bytes are not uploaded to Lizely. A new PDF is saved with the source page boxes, page order, existing visible content, and page count in place, while the header or footer is added as additional PDF content.

Separate the procedure from the PDF changes
“Document the steps” may mean writing instructions for future use, adding identifying information to the document, or both. The browser tool performs the second task; it does not generate a written procedure. Capture the following details in a reusable run sheet:
- Job purpose, owner, and date
- Source filename and file size
- Exact header and footer text and the field containing each string
- Location and intended meaning of every page-number token
- Requested font size and edge margin
- Expected output filename
- Pages inspected and checks completed
Reusable record: Input [filename]; header [text]; footer [text]; tokens [positions]; font [requested points]; edge margin [requested points]; output [source base]-header-footer.pdf; verification [pages and checks completed].
Add a header and footer to the PDF
- Open the tool and choose a local PDF. The file must be non-empty and no larger than 25 MiB. Encrypted, damaged, unsupported, oversized, or incorrectly labeled inputs produce a visible error rather than being bypassed.
- Enter a header, footer, or both. Each field is trimmed and accepts up to 120 Unicode characters. Use one line per field; for page numbers, type the exact lowercase tokens {page} and {pages} where they belong.
- Choose a whole-number font size from 6 through 36 points and a whole-number edge margin from 0 through 200 points.
- Select Add header and footer. The browser opens the source, expands tokens for each structural page, draws the provided lines on every page, and saves a separate PDF. It centers each line using the measured width of the embedded standard Helvetica font.
- Download the new copy. Its filename keeps the source base and adds -header-footer.pdf; keep the source file as well.
Changing any setting revokes the previous download, and an older background job cannot replace a newer file or text choice. Make your final selections, create the file, and then download the current version.
Choose text and page-number tokens
The {page} token becomes the current one-based page number, while {pages} becomes the source document's structural page count. For example, Page {page} of {pages} becomes Page 2 of 5 on the second page of a five-page source. Replacement is deterministic and occurs everywhere the exact lowercase token appears; other brace text remains unchanged.
Write the tokens exactly as shown and use them only where a number belongs. Adding current and total page numbers to a PDF header explains the two-token format in more detail. The tool cannot substitute a dynamic date, begin numbering at another value, use Roman numerals, or count only part of the document.
Each header and footer is a single centered line. There is no separate left or right alignment, cover-page exclusion, odd-and-even variation, section-specific numbering, or Roman-numeral mode. Every structural page receives the same selected lines, and numbering always starts at one.
Record settings and result details
A useful run sheet distinguishes the requested configuration from the downloaded result. Record the following officially supported values:
| Item | Supported value | What to document |
|---|---|---|
| Input PDF | Non-empty PDF, no larger than 25 MiB | Filename and file size |
| Header or footer field | Optional single line, up to 120 Unicode characters after trimming | Exact final text |
| Number tokens | Exact lowercase {page} and {pages} | Which field contains each token |
| Font size | Whole value from 6 to 36 points | Requested size |
| Edge margin | Whole value from 0 to 200 points | Requested margin |
| Download | Source filename base with -header-footer.pdf added | Final output name |
Record the requested font size because it may not be the final rendered size. If a line exceeds 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 text. Very narrow pages or excessive margins can still leave little usable space, so shorten the wording or prepare a better source layout when necessary.
Verify the downloaded PDF before distribution
A generated file still needs a visual review before it is shared or printed:
- Open the downloaded copy and inspect every page at normal viewing size and at the intended print size.
- Confirm that each line is horizontally centered. The header sits below the top edge by the selected margin and requested font size, while the footer begins above the bottom edge by the selected margin.
- Look for overlap with body content, logos, and crop marks. The tool does not create white space, detect a safe margin, move body content, or avoid existing elements.
- Check that the page count and order remain unchanged and that the expanded page values correspond to the source's structural pages.
- Review long lines for legibility. They can shrink as described, but they are never stretched, wrapped, or silently deleted.
The added text is actual PDF content rather than a viewer-only overlay, so check the printed result as well as the screen. If existing content must be moved or safe space must be reserved, adjust the source in a desktop publishing workflow before adding the label.
Match the method to the requirement
Choose the simplest workflow that meets the document's needs, and do not treat a uniform stamp as a complete page-design system.
| Requirement | Header Footer PDF support | Alternative or next step |
|---|---|---|
| Same centered title, revision, filename, or confidentiality line on every page | Supported | Enter it in the header, footer, or both fields |
| Current and total page numbers | Supported | Use the exact {page} and {pages} tokens |
| Different cover, odd-and-even, section-specific, or separate left-and-right content | Not supported | Use a PDF authoring and layout workflow |
| Logo, image, multiline header, hyperlink, rich font, dynamic date, or Bates numbering | Not supported | Use software that supports the required feature |
| Automatic safe-area detection or body-content repositioning | Not supported | Prepare the source layout first |
The embedded font is standard Helvetica, which supports a practical Latin character set but not every writing system or emoji. If entered text cannot be encoded, file creation fails visibly rather than silently substituting characters or producing missing glyphs. For multilingual branding, custom fonts, or precise typography, use a desktop publishing application that can embed the required licensed font.
Keep the procedure reusable
Store the run sheet with the source and final output rather than relying on the browser to explain what happened. The downloaded PDF is the result, not a click-by-click history or a record of the requested-versus-rendered size. For a reliable handoff, make sure another person can identify the input, reproduce the text and tokens, choose permitted size and margin settings, recognize the output filename, and perform the same visual checks. Update the documentation whenever the content, page count, or formatting choice changes, and archive the specific downloaded copy that was approved.
Related reading: Fix a PDF That Looks Wrong After Adding a Header or Footer.