Skip to content
⚠ TESTING ENVIRONMENT You are viewing a testing copy of Tolioo. Changes here do not affect the live website.

Add Header to PDF

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.

  • 100% free
  • No upload, no API
  • Live page preview
Choose a PDF to start.
Your page preview will appear here.
Add a PDF on the left to begin.
Your Privacy Matters

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.

ADVERTISEMENT
Demo Ad 728 x 90

How to add a header to a PDF

  1. 1

    Add your PDF

    Drag a PDF into the box or choose a file. A live preview of the first page appears.

  2. 2

    Write the header

    Type text in the left, center or right box. Use tokens such as {page}, {pages} and {date}, add a logo and pick the pages.

  3. 3

    Add and download

    Check the preview on a few pages, press Add header to PDF and download the result.

ADD HEADER TO PDF GUIDE

Free Add Header to PDF Tool – Add Header Text, Page Numbers, Date and Logo Online

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.

Left, Center and Right Text

Place different header text in each of the three positions, or use only one.

Page Numbers and Date

Use {page}, {pages}, {date}, {file} and {title} tokens that update on every page.

Logo in the Header

Add a PNG or JPG logo, set its height and put it on the left, center or right.

Page Control

Choose all, odd, even or a custom range, skip the cover and mirror even pages.

Live Page Preview

See exactly how the header looks on any page before you save the file.

No Upload, No API

Everything runs in your browser. Your PDF never leaves your device.

How to Add a Header to a PDF Online

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.

  1. Add your PDF. Drag the file into the upload box or click to browse. The first page appears in the live preview.
  2. Type your header text. Use the Left, Center and Right boxes on the Text tab. You can fill one, two or all three. Click a token button to insert the page number, total pages, date, file name or document title.
  3. Style it. On the Style tab choose the font, size, colour and opacity, set the distance from the top and the sides, and switch on a thin line under the header if you like.
  4. Choose the pages. On the Pages tab pick all pages, odd pages, even pages or a custom range. Tick Skip the first page to leave a cover page untouched.
  5. Add a logo (optional). On the Logo tab upload a PNG or JPG, choose its position and height. You can also upload your own font for other languages.
  6. Check the preview. Use the previous and next buttons to look at several pages, especially pages with different sizes or rotation.
  7. Press Add header to PDF and download the finished file. The original file on your device is never changed.

What Is a PDF Header?

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.

Why Add a Header to a PDF? Common Uses

Headers look like a small detail, but they solve real problems in business, legal, academic and personal documents.

  • Document identification. Add the title, project name or reference number so every page can be traced back to its document, even when pages are printed separately.
  • Page numbers. Print "Page 4 of 20" so readers can navigate and reviewers can refer to exact pages in meetings and emails.
  • Branding. Put the company name or logo at the top of reports, proposals, quotations and invoices so they look consistent and professional.
  • Confidentiality and status labels. Mark pages as Confidential, Internal Use, Draft, For Review or Final so that nobody mistakes the status of a document.
  • Version control. Show the version number and date, for example "v2.3 - 2026-11-12", so recipients know which edition they hold.
  • Legal and compliance references. Add case, contract or file numbers to each page of a bundle.
  • Academic work. Add a student name, course code or running title to assignments, theses and papers when the submission rules ask for it.
  • Merged documents. After you combine several PDFs, a header with the file name or section title helps readers see where each part begins.

Everything You Can Customise

OptionWhat it doesTip
Left, center, right textPuts up to three separate pieces of text on the same header line.Keep each part short so they do not collide on narrow pages.
TokensInserts page number, total pages, date, file name or document title.Use "Page {page} of {pages}" for numbering.
FontHelvetica, Times, Courier and bold or italic variants, or your own font file.Match the font family of the document body.
Size4 to 72 points.8 to 11 points works for most headers.
Colour and opacityAny colour with 5% to 100% opacity.Use dark grey at full opacity for readability.
Top and side marginMoves the header away from the edges, in points.72 points equal one inch, about 25.4 mm.
Line under headerDraws a thin rule across the page width.Good for formal reports.
Page selectionAll, odd, even or a custom range, with an option to skip the first page.Skip covers and title pages.
Mirror on even pagesSwaps left and right text on even pages.Useful for printed, double-sided books.
LogoAdds a PNG or JPG image at the left, center or right.Use a transparent PNG for a clean look.

Dynamic Tokens: Page Numbers, Date and File Name in the Header

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.

TokenReplaced withExample result
{page}The page number, counted from your starting number3
{pages}The total number of pages in the PDF12
{date}Today's date in year-month-day form2026-11-12
{file}The file name without .pdfannual-report
{title}The title stored in the PDF, or the file name if there is noneAnnual 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.

Header Layout Ideas for Different Documents

DocumentLeftCenterRight
Business reportCompany nameReport titlePage {page} of {pages}
Contract or legal bundleCase referenceConfidentialPage {page}
Invoice or quotationLogo(empty){date}
Draft for review{file}DRAFT{date}
Academic paperRunning title(empty)Author name and {page}
Policy or manualDocument nameVersion 2.1Updated {date}
Book or bookletBook title (mirrored)(empty)Chapter name

Choosing Font, Size and Colour for a Professional Result

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.

Margins and Placement: Keeping the Header Clear of Your Content

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.

Adding the Header to Specific Pages

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.

Add a Logo to the PDF Header

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.

Headers in Other Languages: Urdu, Arabic, Chinese and More

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.

How Adding a Header to a PDF Works

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.

Header, Footer, Watermark and Page Numbers: What Is the Difference?

ElementPositionTypical contentUse it when
HeaderTop marginTitle, company, date, status, logoYou want identification at the top of each page
FooterBottom marginPage numbers, copyright, addressYou want details that do not compete with the title
WatermarkAcross the pageDraft, Confidential, SampleThe mark must be hard to miss or copy
Page numbersHeader or footer3, Page 3 of 12Readers need to navigate or cite pages
MetadataHidden in file propertiesTitle, author, keywordsSearch 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.

Best Practices for Professional PDF Headers

  • Keep it short. A header should be readable at a glance. One line is enough.
  • Stay consistent. Use the same font, size and position across all pages of a document, and across all documents of a project.
  • Do not hide key information in the header only. Put critical information in the body as well, because readers often ignore headers.
  • Check contrast. Use dark text on light backgrounds. A contrast ratio of at least 4.5:1 is the usual accessibility target for normal text.
  • Add the header before signing. Any change after a digital signature invalidates it.
  • Keep the source file. If accessibility compliance matters, such as PDF/UA, add headers in the original document where the structure can be tagged. Text added afterwards is simple page content and is not tagged.
  • Proof every page type. Look at portrait, landscape and rotated pages in the preview before you download.

Common Problems and How to Fix Them

ProblemLikely causeFix
Header touches the page contentThe page has very small marginsChange the top margin or font size and check the preview
Left and center text collideThe texts are too long for the page widthShorten the text or use a smaller font
A character is missingThe built-in font does not support itUpload a font that contains the character
Logo overlaps the textBoth are in the same positionMove the logo or the text to another position
Cover page shows the headerSkip the first page is offTick Skip the first page
Header does not appear on some pagesThe pages are outside the selected rangeCheck the mode and the custom range
Signature shows as invalidThe file was changed after signingAdd the header first, then sign again
Cannot open the PDFThe file is password protected or damagedRemove the password or repair the file first

Privacy: Your PDF Never Leaves Your Browser

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.

Limits You Should Know About

  • The tool cannot detect existing content, so overlap is controlled with the preview and the margins.
  • Password-protected PDFs are not supported. Remove the password first.
  • Digital signatures become invalid after the file is changed.
  • Added text is not tagged for accessibility, and it cannot be edited later as a header. To change it, run the original PDF again.
  • Right-to-left and complex scripts are not shaped, so results for Arabic or Urdu depend on the font and may need checking.
  • Files up to 100 MB are accepted. Very large files depend on your device memory.
  • Always open the final PDF and check a few pages before you share it.

More Free PDF Tools

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.

Popular Searches This Tool Covers

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.

Who Uses the Add Header to PDF?

This free tool helps many kinds of people. Here are some of the most common groups and what they use it for.

  • Companies: Place the report title and department in the header of every internal document.
  • Law offices: Add case names or document references at the top of each page.
  • Teachers: Put the course name and date on worksheets and handouts.
  • Freelancers: Add a logo and project name to proposals and invoices.
  • Researchers: Add a running title to papers and appendices.

Tips for the Best Add Header to PDF Results

A few small habits give you a better result and save you time.

  • Preview first: The live preview shows the header position on real pages.
  • Use a clear font size: Eight to twelve points reads well without crowding the page.
  • Add the date automatically: Use the date option so every file carries the day it was created.
  • Keep the logo small: A short, wide logo fits best in a header.
  • Combine with a footer: Add a matching footer for a complete, professional layout.
ADVERTISEMENT
Demo Ad 300 x 250
FAQ

Frequently Asked Questions About Adding a Header to a PDF

Quick answers about PDF headers, page numbers, logos, languages, privacy and limits.

How do I add a header to a PDF online for free?

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.

Can I add page numbers, the date or the file name to the header?

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.

Can I add the header to only some pages, for example to skip the cover 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.

Is my PDF uploaded to a server?

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.

Can I add a logo, or use languages such as Urdu, Arabic or Chinese?

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.

Will the header overlap the existing content of my PDF?

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.

Does it work with scanned, rotated, signed or password-protected PDFs?

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.

ADVERTISEMENT
Demo Ad 320 x 50