Header Footer PDF
Add centered header and footer text to every page of a local PDF with page-number tokens, controlled size, and edge margin.
Privacy: your files never leave your device. All processing happens locally in your browser.
How to use
- 1.Choose a local PDF no larger than 25 MiB.
- 2.Enter header text, footer text, or both; optionally use {page} and {pages}.
- 3.Set font size and edge margin, create the file, and download the new PDF.
About Header Footer PDF
Header Footer PDF adds one optional header line and one optional footer line to every page of a local document. Choose a PDF, enter either or both text fields, set a font size and edge margin, then select Add header and footer. The browser opens the source, draws the expanded text on each page, and saves a new PDF. The source and generated bytes are not uploaded to Lizely.
Two placeholders support simple numbering. The token {page} becomes the current one-based page number, and {pages} becomes the total structural page count. A footer such as Page {page} of {pages} therefore becomes Page 2 of 5 on the second page of a five-page document. Replacement is deterministic and applies everywhere the exact lowercase token appears. Other brace text is left unchanged.
Font size accepts whole values from 6 to 36 points. Edge margin accepts whole values from 0 to 200 points. Header text is positioned below the top edge by the selected margin and requested font size, while footer text begins above the bottom edge by the selected margin. Both lines are horizontally centered from the real text width measured with the embedded standard Helvetica font.
Each text field is trimmed and limited to 120 Unicode characters. If a line would exceed 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 the user should inspect the result before distributing or printing it.
The source page boxes, page order, existing visible content, and original page count remain in place. The new text is drawn as additional PDF content; it is not a viewer-only overlay. Existing content near an edge can therefore overlap the chosen line. The tool does not automatically create white space, detect a safe margin, move body content, read document language, or avoid logos and crop marks.
Files must be non-empty PDFs no larger than 25 MiB. Encrypted, damaged, unsupported, oversized, or incorrectly labeled files produce a visible error and are not bypassed. Changing any setting revokes the previous download and prevents it from being mistaken for the current configuration. A stale asynchronous job cannot replace a newer file or text choice.
Standard Helvetica supports a practical Latin character set but not every writing system or emoji. If the embedded standard font cannot encode entered text, file creation fails visibly instead of claiming success with missing glyphs. This boundary avoids silently substituting characters. For multilingual branding, custom fonts, or precise typography, use a desktop publishing application that can embed the required licensed font.
Headers and footers are applied uniformly to every structural page. There is no cover-page exclusion, starting-number offset, Roman-numeral mode, or separate left and right alignment. Numbering always begins at one and the total always reflects the source document before any text is added. Those fixed rules keep the output predictable and easy to verify.
The download keeps the source filename base and adds -header-footer.pdf. This tool does not create multi-line headers, images, different odd/even content, section-specific numbering, Bates numbering, dynamic dates, rich fonts, hyperlinks, or archival-conformance claims. Use it for straightforward centered labels, confidentiality notices, filenames, revision names, and page numbering where a private client-side workflow is appropriate.
Methodology & sources
Validate one bounded PDF and user text, expand exact page tokens per structural page, embed standard Helvetica once, measure each line, reduce size to a six-point floor when necessary, center it within each existing page box at the requested edge margin, serialize a new PDF, and revoke stale URLs.
Frequently asked questions
- How do I add current and total page numbers?
- Use {page} for the current page and {pages} for the total, for example Page {page} of {pages}.
- Does the tool make room for the text?
- No. It draws inside the existing page box, so content already near the edge can overlap.
- What happens when a line is too wide?
- The font size is reduced down to 6 points; text is not stretched or silently deleted.
- Is my PDF uploaded?
- No. Loading, font embedding, drawing, saving, and download creation run locally in the browser.
Related tools
- Add Page Numbers to PDFStamp page numbers onto every page of a PDF right in your browser — pick the corner, format, and starting number, with nothing uploaded.
- Add Watermark to PDFStamp clear, adjustable text watermarks onto PDF pages without uploading your file.
- PDF Metadata EditorRead and update PDF document metadata privately in your browser.
- Sign PDFAdd a handwritten signature to any PDF for free, right in your browser — draw your signature, place it where you want, and download the signed file. Your PDF and signature never leave your device: no upload, no account, no watermark.
- Alternate Mix PDFInterleave two local PDFs in A1, B1, A2, B2 order and append any remaining pages without uploading either document.
- Blank PDF GeneratorCreate a one-to-100-page blank PDF at exact user-supplied point dimensions and background color entirely in the browser.
PDF Tools guides
View all- How to Add a Header and Footer in a Word PDF
- PDF Header Footer Adder: Labels and Page Numbers Locally
- Header and Footer PDF Editor: Stamp Every Page Locally
- Header and Footer PDF Download: Add Text and Save Locally
- Can You Add a Footer to a PDF Without Uploading It?
- Add Header and Footer to a PDF in Your Browser
- How to Print a PDF as a Poster Across Multiple Sheets
- A Lossless PNG to PDF Alternative Worth Trying
- How to Convert a PDF to a Searchable Text File
- Is PDF to PNG Safe to Use Online? A Privacy Guide
- A Local PDF to Long Image Alternative Worth Trying
- A PDF Page Counter Alternative That Stays Local
- Does an Opaque Overlay Securely Remove Base PDF Content?
- PDF N-Up for Printing: What to Check Before You Print
- Paper Sizes Free, No Sign Up: Chart and Pixel Converter
- How to Use a PDF Merger and Splitter to Combine Files
- JPG to PDF for Printing: Match Paper Size to Your Printer
- Choose the Right Approach to Convert a PDF to Grayscale
- Mirror or Rotate a PDF Page: Which Fix Does It Need?
- Flatten PDF Free Unlimited: Browser-Based Guide