Step 1 — Upload PDF
📋
Drop PDF here or click to browse
Single PDF file
Step 2 — Header Content
Three positions — left, center, right. Leave blank to skip.
Step 3 — Footer Content
Variables:
{{page}}
{{total}}
{{date}}
Step 4 — Style
Stamping...0%
✓ Done
⏱ File expires in 45s

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

  1. Upload your PDF by clicking or dragging it into the tool
  2. Enter text for any combination of header and footer positions
  3. Use {{page}}, {{total}}, or {{date}} for dynamic content
  4. Click Apply and Download

Common Use Cases

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