Left, Center and Right Text
Place different header text in each of the three positions, or use only one.
Add header text, page numbers, the date or a logo to every page of your PDF, with a live preview. Everything runs in your browser.
Your PDF, logo and font are processed inside your browser. Nothing is uploaded, logged or stored on our server, and no third-party API is used.
Drag a PDF into the box or choose a file. A live preview of the first page appears.
Type text in the left, center or right box. Use tokens such as {page}, {pages} and {date}, add a logo and pick the pages.
Check the preview on a few pages, press Add header to PDF and download the result.
Need a title, page number, date or logo at the top of every page? This free add header to PDF tool lets you insert a header into any PDF online, with left, center and right text, page numbers, the date, the file name and a logo. Choose all pages, odd pages, even pages or a custom range, skip the cover, and check a live preview before you save. Everything runs in your browser, so you can add a header to a PDF without uploading it, without software and without a signup.
Place different header text in each of the three positions, or use only one.
Use {page}, {pages}, {date}, {file} and {title} tokens that update on every page.
Add a PNG or JPG logo, set its height and put it on the left, center or right.
Choose all, odd, even or a custom range, skip the cover and mirror even pages.
See exactly how the header looks on any page before you save the file.
Everything runs in your browser. Your PDF never leaves your device.
Adding a header to a PDF used to mean opening a paid desktop editor, finding the right menu and repeating the work for every file. With this free PDF header tool the whole process takes under a minute, and it happens inside your browser.
A PDF header is a line of text, or a small image, that repeats at the top of every page, or of selected pages, of a document. Typical headers carry the document title, the company or author name, a date, a version label, a confidentiality notice, a reference number or the page number. Readers use the header to orient themselves, and printed pages stay identifiable even when they are separated from the rest of the document.
A header is not the same as the document's metadata. Metadata, such as the title or author stored in the file properties, is invisible on the page. A header is visible content drawn onto the page itself. It is also different from a footer, which appears at the bottom, and from a watermark, which is usually large, diagonal or faint and sits across the middle of the page.
Most word processors create headers automatically while you write. The problem appears afterwards: you receive a finished PDF, or you export one without a header, and you cannot go back to the source file. That is exactly when an add header to PDF tool is useful.
Headers look like a small detail, but they solve real problems in business, legal, academic and personal documents.
| Option | What it does | Tip |
|---|---|---|
| Left, center, right text | Puts up to three separate pieces of text on the same header line. | Keep each part short so they do not collide on narrow pages. |
| Tokens | Inserts page number, total pages, date, file name or document title. | Use "Page {page} of {pages}" for numbering. |
| Font | Helvetica, Times, Courier and bold or italic variants, or your own font file. | Match the font family of the document body. |
| Size | 4 to 72 points. | 8 to 11 points works for most headers. |
| Colour and opacity | Any colour with 5% to 100% opacity. | Use dark grey at full opacity for readability. |
| Top and side margin | Moves the header away from the edges, in points. | 72 points equal one inch, about 25.4 mm. |
| Line under header | Draws a thin rule across the page width. | Good for formal reports. |
| Page selection | All, odd, even or a custom range, with an option to skip the first page. | Skip covers and title pages. |
| Mirror on even pages | Swaps left and right text on even pages. | Useful for printed, double-sided books. |
| Logo | Adds a PNG or JPG image at the left, center or right. | Use a transparent PNG for a clean look. |
Tokens are short placeholders in curly brackets that the tool replaces with real values on every page. They let you add page numbers to a PDF header without typing each number by hand.
| Token | Replaced with | Example result |
|---|---|---|
{page} | The page number, counted from your starting number | 3 |
{pages} | The total number of pages in the PDF | 12 |
{date} | Today's date in year-month-day form | 2026-11-12 |
{file} | The file name without .pdf | annual-report |
{title} | The title stored in the PDF, or the file name if there is none | Annual Report 2026 |
You can mix tokens with normal text. "Confidential - {file} - Page {page} of {pages}" is a complete and useful header. If you want the numbering to start at a different number, for example because the PDF is chapter 2 of a larger work, change the first page number on the Pages tab.
| Document | Left | Center | Right |
|---|---|---|---|
| Business report | Company name | Report title | Page {page} of {pages} |
| Contract or legal bundle | Case reference | Confidential | Page {page} |
| Invoice or quotation | Logo | (empty) | {date} |
| Draft for review | {file} | DRAFT | {date} |
| Academic paper | Running title | (empty) | Author name and {page} |
| Policy or manual | Document name | Version 2.1 | Updated {date} |
| Book or booklet | Book title (mirrored) | (empty) | Chapter name |
A good header supports the page without competing with it. The safest approach is to keep it small, quiet and consistent.
Font. Use Helvetica for a clean, modern look, Times for formal or academic documents and Courier only for technical material. If your PDF body uses a serif font, a serif header usually looks more natural. Size. Between 8 and 11 points is comfortable on A4 and Letter pages. Smaller than 8 points becomes hard to read when printed, and much larger sizes start to look like a title. Colour. Dark grey or black at full opacity gives the best contrast. Lighter colours and lower opacity are fine for a subtle look, but check that the text still stands out against the page background, because low contrast is a common accessibility problem. Line. A thin rule under the header separates it from the body and helps formal reports look finished.
The top margin is the distance from the top edge of the page to the top of the header text. It is measured in points, where 72 points equal one inch or about 25.4 millimetres. The default of 24 points is about 8 millimetres, which sits comfortably inside the blank margin of most documents. The side margin is the distance from the left and right edges to the outer header text, and the default of 36 points is half an inch.
Because the tool cannot see the page content, it places the header exactly where you tell it. Many PDFs have generous margins, but some, such as scanned pages and full-bleed designs, have content very close to the edge. In those cases use the live preview, move to a few different pages and adjust the margins until the header sits in clear space. Make the top margin smaller if the page has a large top margin you want to fill, or larger if the content starts high.
Pages with a different size are handled individually. The header is positioned relative to the visible area of each page, so a mix of A4, Letter and landscape pages keeps the same distance from the visible top edge.
The page selection works in four modes. All pages adds the header everywhere. Odd pages and even pages are useful for double-sided printing, where you might show the title on one side and the chapter name on the other. Custom range accepts page numbers and ranges separated by commas, for example 2-10, 12, 15-, which means pages 2 to 10, page 12 and page 15 to the end. An open start such as -5 means pages 1 to 5.
Tick Skip the first page to keep a cover or title page clean. If your numbering should not count the cover, set the first page number to 0 so that the second page shows 1. For printed books, switch on Mirror on even pages so that text typed on the left appears on the right on even pages and the other way round. That gives the familiar layout where the header text sits on the outer edges.
A logo in the header makes proposals, reports, brochures and invoices look consistent with your brand. Upload a PNG or JPG file on the Logo tab, choose whether it should be on the left, center or right, and set its height in points. The width is calculated automatically, so the logo is never stretched.
For the cleanest result use a PNG with a transparent background and a resolution of at least twice the size it will be printed at, so it stays sharp. A height of 24 to 36 points suits most headers. Keep in mind that the logo and the text share the same line: if the logo sits on the left, put any left-hand text in the center or right box, otherwise the two will overlap. Other image types such as WebP or GIF are converted to PNG in your browser before they are placed.
PDF has fourteen standard fonts that every reader can display without embedding them. This tool uses the common Helvetica, Times and Courier families, which cover Latin text, including accented letters used in French, German, Spanish and many other languages. They cannot draw characters from other scripts, so the tool tells you when a character is not supported.
For other languages, upload a font file in TTF, OTF or WOFF format that contains the characters you need, for example a Noto font for your script. The tool embeds only the characters you use, so the file size stays small. Scripts that need complex shaping or right-to-left layout, such as Arabic and Urdu, may not be arranged correctly, because this tool draws text left to right without full shaping. Always check the preview, and if the result is not right, add the header in a word processor that supports your language and export a new PDF.
When you press the button, your browser loads the PDF with pdf-lib, an open-source JavaScript library. For every selected page the tool works out the visible area, the page rotation and the crop box. It then measures the text with the chosen font, aligns it left, centered or right, and draws it as vector text on top of the existing page content. Logos are embedded as images, and the optional rule line is drawn as a vector line.
The original text, images, fonts and links stay unchanged, because the header is added as extra content. The file is then saved as a new PDF. Rotated pages are handled by transforming the position and rotating the text, so the header always appears at the visual top of the page as the reader sees it. The preview uses the same stamping code on a copy of the page and renders it with PDF.js, so what you see matches what you download.
| Element | Position | Typical content | Use it when |
|---|---|---|---|
| Header | Top margin | Title, company, date, status, logo | You want identification at the top of each page |
| Footer | Bottom margin | Page numbers, copyright, address | You want details that do not compete with the title |
| Watermark | Across the page | Draft, Confidential, Sample | The mark must be hard to miss or copy |
| Page numbers | Header or footer | 3, Page 3 of 12 | Readers need to navigate or cite pages |
| Metadata | Hidden in file properties | Title, author, keywords | Search engines and file managers need information |
You can use page numbers in the header with the {page} token, so this one tool covers the most common header and page-number needs.
| Problem | Likely cause | Fix |
|---|---|---|
| Header touches the page content | The page has very small margins | Change the top margin or font size and check the preview |
| Left and center text collide | The texts are too long for the page width | Shorten the text or use a smaller font |
| A character is missing | The built-in font does not support it | Upload a font that contains the character |
| Logo overlaps the text | Both are in the same position | Move the logo or the text to another position |
| Cover page shows the header | Skip the first page is off | Tick Skip the first page |
| Header does not appear on some pages | The pages are outside the selected range | Check the mode and the custom range |
| Signature shows as invalid | The file was changed after signing | Add the header first, then sign again |
| Cannot open the PDF | The file is password protected or damaged | Remove the password or repair the file first |
Many online PDF editors upload your document to a server, which is a concern for contracts, invoices, medical records and other private files. This add header to PDF tool works locally. The file is read into your browser's memory, edited by JavaScript running on your own device and offered back as a download. It is not sent to our server, not stored and not shared with any third-party service or API. Your logo and font files are handled the same way and stay on your device.
Check or change the file version with the PDF version converter. Need an editable document? Try PDF to Word. Want each page as a picture? Use PDF to image. Browse all free online tools for PDF, image, SEO, developer and security work.
People find the Add Header to PDF by searching for add header to PDF, add header text to PDF online, PDF header and page number, add logo to PDF header, add date to top of PDF and insert title on every PDF page. All of these searches describe the same job, and this free online tool handles it with no signup, no watermark and no software to install, on Windows, Mac, Linux, Android and iPhone.
This free tool helps many kinds of people. Here are some of the most common groups and what they use it for.
A few small habits give you a better result and save you time.
Quick answers about PDF headers, page numbers, logos, languages, privacy and limits.
Add your PDF, type the header text in the left, center or right box, check the live preview and press Add header to PDF. You can then download the new file. The tool is free, needs no signup or software, adds no watermark of its own and works with PDFs up to 100 MB.
Yes. Use the tokens {page}, {pages}, {date}, {file} and {title} inside any header box. For example, "Page {page} of {pages}" becomes "Page 3 of 12" on page 3, and "{file} - {date}" prints the file name and today's date. The tokens are replaced separately on every page.
Yes. Choose all pages, odd pages, even pages or a custom range such as 2-10, 12, 15-, and tick Skip the first page to leave the cover clean. You can also start the page numbering at any number, and mirror the left and right text on even pages for book-style layouts.
No. Your PDF is read and edited in your browser with the open-source pdf-lib library, and the preview is drawn with PDF.js. The file is never sent to our server or to any third-party API, and it is gone when you close the tab.
You can add a PNG or JPG logo to the left, center or right of the header. The built-in fonts cover Latin text, including most European languages. For other scripts, upload a font file (TTF, OTF or WOFF) that contains the characters, such as Noto Sans. Right-to-left text and complex shaping are not guaranteed, so check the preview carefully.
The tool places the header in the top margin, by default 24 points (about 8 mm) from the top edge, and it cannot see what is already on the page. Use the live preview to check each page, and increase or decrease the top margin if the header touches existing text or an image.
Scanned and rotated PDFs work, and the header is placed correctly at the visual top of rotated pages. A digital signature will become invalid because the file is changed, so add the header first and sign afterwards. Password-protected PDFs are not supported, so remove the password before you add the header.
Merge, split, compress, edit and convert PDF files with ease. Explore free PDF tools to manage all your documents in one place.
Explore All PDF Tools →