Add Header & Footer
Stamp custom text at the top and bottom of every page. Supports page numbers and date variables.
How to Add Header and Footer to PDF Online — Free, No Upload
Add custom text in three positions (left, centre, right) at the top and bottom of every page. LovelyPDF supports dynamic variables — {{page}} inserts the current page number, {{total}} inserts the total page count, and {{date}} inserts today's date. All header and footer text is added using pdf-lib entirely in your browser.
Step-by-Step Guide
- Upload your PDF by clicking or dragging it into the tool
- Enter text for any combination of header and footer positions
- Use {{page}}, {{total}}, or {{date}} for dynamic content
- Click Apply and Download
Common Use Cases
- Adding page numbers before submitting a multi-page report
- Stamping a document title in the header for easy identification
- Adding CONFIDENTIAL or DRAFT in the footer of every page
- Inserting the date in reports and meeting minutes
Frequently Asked Questions
Can I skip the header on the first page?
Currently headers and footers apply to all pages. Split out the first page, process separately, then merge back for selective application.
What fonts are available?
Standard PDF fonts — Helvetica, Times New Roman, and Courier — universally supported across all PDF viewers.
How does the page variable work?
Replaced automatically with the actual page number on each page. Use {{page}} of {{total}} for "1 of 10" style numbering.
Related tools: Watermark PDF · Edit PDF · Page Manager