Finish a report
Add the company name in the header and page numbers in the footer of an assembled report.
Add recurring text with automatic page numbers. Local browser processing without modifying the original file.
PDF document
No PDF loaded
Drop a PDF here
Add recurring text with automatic page numbers. Available placeholders: {page} and {pages}.
Need more editing options?
Use multiple editing tools in one workspace, with your open file and its current edits.
Open the full editorAdding a header and footer to a PDF automatically repeats a line of text at the top and bottom of every page: company name, document title, a “Confidential” notice, a file reference, a page number. It is the expected finish for a report, a thesis or a file assembled from several documents. The header and footer are set independently and applied in your browser.
The Header and Footer buttons each open their own settings: the text, left, centre or right alignment, a size from 6 to 24 points (9 by default) and the margin from the edge of the sheet, from 0 to 50 mm (10 by default). A header or footer left empty is not added.
Two variables are replaced automatically on each page: {page} with the page number and {pages} with the total number of pages. “Page {page} of {pages}” thus becomes “Page 5 of 12” on the fifth page of a twelve-page document.
The text is written in Helvetica, the PDF standard font; for characters it does not cover (Polish, Cyrillic, Greek…), the Liberation Sans font is embedded automatically. The header and footer apply to every page, cover page included.
The document opens in the editor with the Header and Footer buttons.
Type the header and footer text, insert {page} and {pages} if needed, then set alignment, size and margin.
The header and footer are added to every page of the new copy.
Add the company name in the header and page numbers in the footer of an assembled report.
Write “Confidential – internal use” at the top of every page before sharing.
Add a file reference and a page number to each supporting document.
The 10 mm margin (about 28 points) places each line 1 cm from the edge. The variables are recalculated for each page, from “Page 1 of 12” to “Page 12 of 12”.
Input
Header “Annual report 2026”, centred, 9 pt; footer “Page {page} of {pages}”, right-aligned, 10 mm marginResult
Page 5: “Annual report 2026” top centre, “Page 5 of 12” bottom right{page} for the current page number and {pages} for the total number of pages. They can be combined with any text.
No, the header and footer apply to every page. Add them before merging in the cover page, or split it off and merge again.
Helvetica, with Liberation Sans embedded automatically for characters it does not cover. Asian scripts and emoji are not supported.
Yes. A header or footer with empty text is simply not added.
Yes. It is written as text on the page, not as an image.
No. The header and footer are calculated and written in your browser.
Related tools
Tools similar or complementary to this one.
Automatically add page numbers to your PDF document.
Add a text watermark to every page of a PDF locally in your browser.
Overlay the pages of one PDF onto another locally, with adjustable opacity.
Learn how to visually edit a PDF in your browser: add text and annotations, insert images or signatures, apply watermarks and choose when a specialized tool is better.
Plan PDF operations in the right order and discover the expanded set of reusable PDF Pipeline recipes.
Learn how to fill interactive PDF fields and flatten them into a finalized document for sharing.
Learn why covering text is not enough, how secure PDF redaction removes sensitive information and why sanitization matters before sharing.