Add header and footer to PDF
Define up to three columns of text for the header and footer of every page โ combine free text, automatic page numbers and today's date. Rendered locally in your browser.
or drop files here
Tip: select a single file.
How to use Header & Footer
- 1Click "Select PDF file" and choose the PDF you want to add a header or footer to.
- 2Enter the header and/or footer text, choose font size, alignment, and which pages to apply it to.
- 3Click Add Header/Footer. The updated PDF is generated locally and downloaded.
Why use PDF Lab
- Add consistent headers and footers across all pages or a selected range.
- Files stay on your device โ nothing is uploaded to any server.
- No account, no signup, no watermark on the output.
- Free to use with no per-file limits beyond your device's memory.
- Works on desktop and mobile browsers, including offline after first load.
- Supports dynamic fields like page number and total page count.
- Control font, size, and alignment independently for header and footer.
Your file never leaves your browser
Header & Footer runs entirely on your device using pdf-lib and pdf.js โ both self-hosted by PDF Lab, so no third-party CDN sees your traffic. There is no upload, no account, no log of your file.
How browser-based PDF processing works โHeader & Footer โ questions
- No. Every operation runs in your browser using JavaScript. Your file is loaded into your browser's memory, processed, and a result is saved to your device. Nothing is sent over the network.
- No. Because the processing happens in your browser, neither PDF Lab nor any third party has access to the file contents. You can verify this by opening your browser's network tab while using the tools โ no file data is transmitted.
- There is no enforced limit, but performance depends on your device's memory. Most modern browsers comfortably handle PDFs up to about 100 MB. Very large files may slow down your browser tab.
Are my files uploaded to your server?+
Can PDF Lab see the contents of my files?+
Are there file size limits?+
Related tools
Add Page Numbers
Stamp page numbers on every page โ pick the position (header or footer), font size, starting number and offset.
Add Watermark
Stamp a custom text or image watermark across every page.
Sign PDF
Draw your signature with a mouse or finger, type it in your chosen font, or upload an image of your signature.
Rotate PDF
Rotate individual pages or the entire document 90ยฐ, 180ยฐ or 270ยฐ in a single click.
Edit Metadata
Update the hidden properties of any PDF: title, author, subject, keywords, producer and dates.
Protect PDF
Encrypt your PDF with a user-open password, an owner permission password, or both.