No upload, 100% local, no account

Add header & footer to PDF

Type text in any of the six slots (header left/center/right, footer left/center/right). Use {page}, {total} and {date} tokens. Everything happens in your browser, your file never leaves your device.

How Add PDF Header & Footer works

Add PDF header & footer stamps custom text into the top and bottom margins of every page, titles, document references, confidentiality notices, dates. It supports {page}, {total} and {date} tokens, so the text can include live page numbers and the current date.

Because of those tokens it can also produce page numbering, but where Add page numbers is purpose-built for just the number and Bates numbering for unique legal labels, Header & Footer is the flexible choice when you need arbitrary margin text. Each token is replaced per page, so a single template fills in the right page number, total and date across the whole document.

Frequently asked questions

Can I just add page numbers with this tool?

Yes, via the {page} and {total} tokens. But if page numbers are all you need, Add page numbers is simpler and more focused; reach for Header & Footer when you also want titles, references or notices in the margins.

What do the {page}, {total} and {date} tokens do?

They are replaced per page: {page} with the current page number, {total} with the page count, and {date} with the current date, so one template fills in correctly across the whole document.

Are my files uploaded to a server?

No. Every operation runs inside your browser tab using JavaScript and WebAssembly. Your file is read into memory on your own device, processed there, and the result is offered as a local download. Nothing is transmitted to Sunasty or any third party. You can verify it yourself: open your browser DevTools, go to the Network tab, and watch, no request carries your file.

Does it work offline?

Yes, once the page has loaded. Because the processing happens on your device, you can disconnect from the network and the tool keeps working. This is the clearest proof that your data never leaves your machine.

Is it free? Do I need an account?

It is completely free and requires no sign-up. There are no watermarks, no daily limits and no tracking cookies needed to use the tool.