Add Header and Footer to PDF

Put your own text at the top or bottom of PDF pages, with date and file name, free.

A procurement team sends the same 20-page tender to five bidders, and each copy needs the bidder’s name at the top of every page after the cover, plus the issue date at the bottom of every page. Open the PDF here, type the name in the header box and choose “All except first page,” then type Issued in the footer box and press the Date button. The preview beside the page list shows both lines in place before anything is saved. Press “Add header / footer” and download. The text is written onto your own file as real text, your original stays as it was, and nothing is uploaded: the work happens in your browser.

Quick Answer

To add a header and footer to a PDF online for free, open the file, type your header and footer text, and set each line left, center or right. One click inserts today’s date, the file name or the page number. Choose which pages get each line, check the preview and press “Add header / footer,” then download. The text is added to your PDF as real text.

How to Add a Header and Footer to a PDF (3 Steps)

Add the PDF
Drop it on the page or choose it from your device. A thumbnail appears for each page. On a computer a large preview of the first page opens beside the list, with the cursor already in the footer box; on a phone, the eye button opens a page large. A PDF that needs a password to open is turned away with a message.

Write the Header and Footer
Type your text in “Header (top of page)” and “Footer (bottom of page),” up to 100 characters each, and choose Left, Center or Right for each line. The Insert buttons put Page no., Page 1 of 5, Date or File name into the box you used last. Under each box, the “Header on” and “Footer on” menus choose the pages: All pages, First page only, All except first page, Last page only, or Choose pages, where you type something like 1, 3-5. The bar above the pages sets the font, bold, italic, size, margin, date format and colour. The yellow highlight in the preview is only there to help you see the text; it isn’t saved.

Add and Download
Before you press “Add header / footer,” the line under the pages tells you how many pages each part will reach, for example “Header on 19 pages, footer on 20 pages.” While it works, a percentage counts up and Cancel stops it. The new file is named after your original with “_header-footer” added, and you can change that in the File name box. If you change anything after that, the download button disappears, so you can’t take an out-of-date file.

Key Features

Real Text, Not a Picture
The header and footer are written into the PDF as text, so they can be selected and searched. Helvetica, Times and Courier are standard PDF fonts and need nothing downloaded.

Ten Fonts, Each Shown in Its Own Design
The font list shows every name in its own style. Besides the three standard fonts it offers Roboto, Open Sans, Lato, Montserrat, Merriweather, Playfair Display and Roboto Mono. Those seven are fetched from the internet when you open the list or pick one, then embedded in the PDF, so they look the same in any viewer.

Header and Footer Choose Their Own Pages
Each has its own menu: all pages, first page only, all except the first, last page only, or pages you type. A title can sit on the cover alone while the date goes on every page after it.

Fields That Fill Themselves
Page no. gives each page its own number (its position in the PDF, so the second page always reads 2), Page 1 of 5 adds the total, Date inserts today’s date from your device in one of five formats, and File name inserts your PDF’s name without .pdf. You can also type {page}, {pages}, {date} and {file} yourself to mix them with words.

Left, Center or Right
Each line holds one text, aligned left, center or right. Margin sets the distance from the page edge: Small is 18 points, Normal 36 and Large 54 (about 6, 13 and 19 mm). Size runs from 8 to 18 points.

A Preview Beside the Pages
On a computer, a large preview sits next to the page list, with Previous and Next. Its text is drawn a little bigger so it is easy to read, but the saved text uses the size you chose. A page that gets neither line shows “No header or footer on this page.”

It Won’t Run Off the Page
If a text is wider than the space between the margins on your narrowest page, the tool says “The text is too long for the page” and keeps “Add header / footer” switched off, instead of cutting the text.

Added to Your Own Pages
Your PDF is opened and the text is placed in the margins. The pages aren’t redrawn, so their own text stays selectable, and the file’s details, such as Title, Author and dates, are left as they were. Pages stored sideways get the text upright. A PDF with restrictions is saved as page images instead, and the tool says so; your header and footer are still real text.

What Are a PDF Header and Footer?

A header is a line of text in the top margin of a page, and a footer is a line in the bottom margin. They carry what repeats from page to page: a document title, a version, a date, a confidentiality note, a name. This tool writes each line onto the pages as real text, on top of whatever the page already shows, and it doesn’t move, shrink or reflow the page’s own content. If a page’s content runs into the margin, the line will overprint it, so check the preview. It adds plain text only: no logo, no coloured band or border, and no second line.

When Would You Use This?

A contract goes out for comment. Type “DRAFT v3 – not for signature” in the header and choose “First page only”: the cover carries the warning while the pages inside stay clean.

A bundle of supporting documents is labelled for a court filing. Type “Exhibit B – ” in the footer, press File name, and leave it on all pages, so every page names its source file.

Only pages 4 to 9 of a report are confidential. Type CONFIDENTIAL in the header, open its menu, choose “Choose pages” and type 4-9.

A long agreement should close with “– End of agreement –”. Type it in the footer, align it Center and choose “Last page only.”

Frequently Asked Questions

Can I use Urdu, Arabic or other non-English text in the header or footer?

No. The text is written with PDF fonts that cover English letters, numbers, common symbols and Western European letters such as é, ü and ñ. Any other character, such as Urdu, Arabic, Hindi or Chinese, is refused with the message “Only English letters, numbers and common symbols are supported,” and “Add header / footer” stays off until you remove it. The same goes for File name: letters outside that set are left out of the name when it is inserted.

Can I put different text on the left and the right of the same line?

No. The header takes one text and the footer takes one text, each aligned left, center or right, so a company name at the left and a date at the right of the same line isn’t possible. Put one in the header and the other in the footer, or join them in one text such as “Acme Ltd – {date}”.

Why can’t I see the yellow highlight in my saved PDF?

The yellow marker and the dashed outline exist only in the preview, so the text is easy to find on a busy page. The saved PDF holds plain text in the colour you chose, with no background. The preview also draws the text a little larger than it will be: the Size menu, 8 to 18 points, sets the real size.

Will the header overlap my page’s own text, and can I place it more precisely?

The tool doesn’t move or shrink what is on the page, so the line is simply written in the margin. Margin sets how far it sits from the edge (Small 18, Normal 36 or Large 54 points), and there is no free positioning. If a page’s own content runs close to the edge, look at the preview: a Small margin brings the line nearer to the edge, away from the content.

Do the extra fonts work without an internet connection?

Helvetica, Times and Courier are standard PDF fonts and need no download. Roboto, Open Sans, Lato, Montserrat, Merriweather, Playfair Display and Roboto Mono are fetched the first time you open the list or pick one, then embedded in your PDF so it looks the same wherever it opens. If the download fails, the tool says so and goes back to Helvetica.

Scroll to Top