PDFLab
Private

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.

No uploadsNo signupNo watermarkNo trackingFree foreverWorks offline*

How to use Header & Footer

  1. 1Click "Select PDF file" and choose the PDF you want to add a header or footer to.
  2. 2Enter the header and/or footer text, choose font size, alignment, and which pages to apply it to.
  3. 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

Are my files uploaded to your server?+
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.
Can PDF Lab see the contents of my files?+
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.
Are there file size limits?+
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.
Was this tool helpful?