PDF Header & Footer
Upload a PDF below, type your header and/or footer text, and click Add Header & Footer to stamp it onto every page. Set the font size, color, alignment and page margin, and optionally add page numbers. The original pages are kept exactly as they were, with the new text added at the top and bottom. Everything happens locally in your browser — your file never leaves your device.
Read the guide: How to add a header and footer to a PDFInput
Output
Processed locally in your browser — nothing is uploaded.
How the PDF Header & Footer works
- Your PDF is read into the browser and parsed by pdf-lib, a client-side PDF manipulation library.
- The header and footer text is drawn onto every page as a real text layer, using the font size, color, alignment and margin you chose.
- Optionally append Page X of Y to the footer, or insert {page} and {pages} placeholders anywhere in either field.
- The result is a standard .pdf file with the header and footer on every page, ready to download and share.
Useful tips
- Use {page} and {pages} in either field to place page numbers exactly where you want them.
- Keep font size around 9–11 pt to match typical body text; use 7–8 pt for discreet references.
- Remove passwords from encrypted PDFs first — protected files can't be read.
Frequently asked questions
Is my PDF sent to a server?+
No. The entire process runs in your browser using JavaScript. Your PDF is never uploaded to any server, so it is safe to add headers and footers to sensitive documents like contracts or invoices.
Can I add just a header or just a footer?+
Yes. Either field is optional — leave one blank and nothing is drawn there. You need at least some header text, footer text, or page numbers to produce an output.
Can I add page numbers?+
Yes. Tick "Add page numbers to the footer" to append Page X of Y automatically, or type {page} and {pages} anywhere in either field to place numbers yourself — for example in a header.
Does it reduce the quality of the original content?+
No. The header and footer are drawn on top of the existing pages as a text layer — text, images, vectors and links all carry over without re-rendering or recompression. Only the new text is added.
Can I add a header and footer to a password-protected PDF?+
No. Encrypted PDFs can't be read without the password. Remove the password first, then add the header and footer to the unprotected copy.
Related guides
How to convert PDF to Word
PDFs are great for sharing, but when you need to edit the text you need a Word document. This guide explains how PDF-to-Word conversion works, which PDFs convert cleanly, and why scanned documents are the exception — all using a free tool that runs entirely in your browser.
How to convert Word to PDF
Word documents are great for editing, but PDF is the format you want when a document needs to look the same everywhere. This guide explains how Word-to-PDF conversion works, which files are supported, and why doing it in your browser is the safest option.
How to convert PDF to JPG
Sometimes you need an image, not a document. This guide explains how PDF-to-JPG conversion works, what to expect from the output, and why doing it in your browser keeps your files private.
How to convert JPG to PDF
A single JPG is easy to share, but several images usually belong in one file. This guide explains how combining images into a PDF works, what to expect from the output, and why doing it in your browser keeps your files private.