Add Header and Footer to PDF
Put text at the top and bottom of every page: a document title, a company name, the date, the file name, and "Page 3 of 12". Six text boxes, left, centre and right, cover every layout.
Add Header and Footer to PDF
Open · Write · Add
How to add a header and footer to a PDF
Open your PDF
Drop the file onto the tool or click Choose PDF. A preview of the first page appears.
Fill in the boxes
Type into the header and footer boxes. Use {page}, {pages}, {date} and {file} for automatic values.
Download
Press Add header & footer and download the PDF.
Why use it
What this free tool does
Six positions
Left, centre and right, at the top and at the bottom.
Automatic values
{page}, {pages}, {date} and {file} fill themselves in on each page.
Separator line
A thin line under the header and above the footer.
Font, size and colour
Choose the font, size and colour to match your document.
Choose the pages
Skip a cover page with a range like 2-end.
Live preview
Check every page before you save.
Professional documents in one step
Headers and footers make printed documents easy to identify and keep in order. A typical setup is the document name on the left of the footer and "Page {page} of {pages}" on the right, with the date in the header.
Text is added to the pages as real, searchable text. Pages turned sideways get their header and footer along the edge you see as the top and bottom.
Tip: Only need page numbers? Add Page Numbers has quicker presets.
Your files stay on your device
Most online PDF sites upload your documents to their servers. Aleynray Ai does the work inside your browser instead, on your own computer or phone.
Nothing is sent anywhere, so contracts, bank statements, IDs and medical forms stay private, and there is no waiting for uploads.
- Free, with no sign-up or limits
- No watermark
- Files never leave your device
- Opens password-protected PDFs
- Works on desktop and mobile
Frequently asked questions
How do I add "Page 1 of 10"?
Type Page {page} of {pages} in any box.
Can I start numbering at a different number?
Yes. Set "First number" and {page} counts from there.
What does {file} show?
The name of your PDF file.
Will the header cover my content?
Choose a small margin and text size if your pages are full to the edge. The preview shows any overlap before you save.
Is it free?
Yes. There is no sign-up, no limit on files and no watermark.
Are my files uploaded?
No. The tool runs inside your web browser and works on the file on your own device. Nothing is sent to a server, so private documents stay private.