How to Add Headers and Footers to PDF — Free Tools & Methods
Learn how to add headers and footers to PDF files for free. Step-by-step guide for page numbers, document titles, dates, and custom text in your PDF documents.
Headers and footers turn a plain PDF into a professional document. Whether you need page numbers on a report, a document title on every page, confidentiality notices, or date stamps for legal filings, adding headers and footers is essential for business documents, academic papers, and formal submissions. This guide covers every free method for adding headers and footers to PDF files in 2026.
What Can You Put in Headers and Footers?
PDF headers and footers typically contain recurring information that appears on every page (or specific pages). Common elements include page numbers, document titles, author names, dates, version numbers, confidentiality notices, company names, and Bates numbers for legal documents. Most tools let you position text on the left, center, or right of both the header and footer area, giving you six placement zones to work with.
Method 1: Add Headers and Footers Using Free Online Tools
The fastest way to add headers and footers to a PDF is using a free online tool. Upload your PDF, configure the header and footer text for each position (left, center, right), choose font size and style, and download the modified PDF. Most tools support dynamic variables like page numbers and dates that automatically update for each page.
When choosing an online tool, prefer one that processes your PDF entirely in the browser. Client-side processing keeps your documents private — no files are uploaded to any server. This is critical for legal documents, financial reports, and other sensitive materials.
Method 2: Add Headers and Footers in LibreOffice
If your PDF originated from a word processor, the easiest approach is to add headers and footers before exporting to PDF. In LibreOffice Writer, go to Insert > Header and Footer > Header or Footer. Choose the page style you want to apply it to. Then type your header or footer text directly into the area that appears on the page.
For page numbers, go to Insert > Page Number while the cursor is in the header or footer area. You can combine static text with page numbers — for example, "Page 1 of 10" — using the page count field. Once your headers and footers are set up, export to PDF using File > Export as PDF. The headers and footers will be preserved in the PDF.
Method 3: Add Headers and Footers Using PDFtk (Command Line)
PDFtk is a free command-line tool that can add headers and footers to existing PDFs. The process involves creating a "stamp" PDF with your header or footer text, then applying it to your document. Create a PDF with just the footer or header text positioned where you want it, then run:
pdftk input.pdf stamp stamp.pdf output result.pdf
For different content on each page (like incrementing page numbers), create a multi-page stamp PDF where each page has the correct number, then use the multistamp command instead of stamp.
Adding Page Numbers to PDF
Page numbers are the most common footer element. They help readers navigate long documents and ensure pages stay in order when printed. When adding page numbers, you have several options:
Simple numbering: "1, 2, 3..." on every page starting from the first. This is the most common format and works for most documents.
"Page X of Y" format: Shows the current page and total page count. Useful for documents that might be printed or shared in parts, as readers can tell if pages are missing.
Section numbering: "1-1, 1-2, 2-1, 2-2..." for documents organized into chapters or sections. Common in technical manuals and legal briefs.
For a dedicated page numbering solution, check out our guide to adding page numbers to PDF.
Adding Dates and Timestamps
Date stamps in headers or footers are essential for legal documents, contracts, and formal correspondence. Most tools let you insert a dynamic date that displays the current date when the header or footer is applied. Choose your preferred date format — "May 8, 2026", "2026-05-08", or "08/05/2026" depending on your regional convention and document requirements.
For legal and compliance documents, consider including both a creation date in the header and a "printed on" date in the footer. This provides a clear audit trail for when the document was created and when a physical copy was produced.
Header and Footer Formatting Tips
Keep headers and footers unobtrusive. Use a smaller font size than the body text — typically 8pt to 10pt. Gray color works well for headers and footers because it does not compete with the main content. Leave adequate margin between the header or footer text and the main body content to prevent visual clutter.
Avoid putting too much information in headers and footers. A document title in the header and page numbers in the footer is sufficient for most documents. Overcrowding these areas makes the PDF look cluttered and can confuse readers about what is header content versus body content.
Common Issues and How to Fix Them
Header or footer overlaps with content: This happens when the existing PDF has narrow margins. Use a tool that lets you adjust the vertical position of the header and footer to avoid overlapping with body text.
Page numbers do not start from 1: Some tools start numbering from the first page by default. If you have a cover page, you may want to start numbering from page 2. Look for a "start from page" option in your tool.
Different first page: Many documents need no header or footer on the first page (usually a cover or title page). Most tools support excluding the first page from headers and footers, or applying different headers to the first page.
Which Method Should You Use?
For quick edits to an existing PDF, a free online tool is the fastest option. If you are creating a document from scratch, add headers and footers in your word processor before exporting to PDF — this gives you the most control over formatting and positioning. For batch processing or automation, command-line tools like PDFtk are the most efficient. Whatever method you choose, adding proper headers and footers transforms a basic PDF into a polished, professional document.