Skip to main content
L
Loopaloo
Buy Us a Coffee
All ToolsImage ProcessingAudio ProcessingVideo ProcessingDocument & TextPDF ToolsCSV & Data AnalysisConverters & EncodersWeb ToolsMath & ScienceGames
Guides & BlogAboutContact
Buy Us a Coffee
L
Loopaloo

Free online tools for developers, designers, and content creators. Your files are processed in your browser and are never uploaded - no accounts required. A few network utilities (like What's My IP and Currency Converter) call public APIs to do their job and say so on their pages.

support@loopaloo.com

Tool Categories

  • Image Tools
  • Audio Tools
  • Video Tools
  • Document & Text
  • PDF Tools
  • CSV & Data
  • Converters
  • Web Tools
  • Math & Science
  • Games

Company

  • About Us
  • Contact
  • Blog
  • FAQ

Legal

  • Privacy Policy
  • Terms of Service
  • Disclaimer

Support

Buy Us a Coffee

© 2026 Loopaloo. All rights reserved. Built with privacy in mind.

Privacy|Terms|Disclaimer
  1. Home
  2. PDF Tools
  3. PDF Header/Footer Adder
Add to favorites

PDF Header/Footer Adder

Add page numbers, dates or any text to the top and bottom of PDF pages, with placeholders and a live preview.

PDFs never leave your deviceMore pdf toolsJump to full guide
Related readingPDF Accessibility: Making Documents Everyone Can Read12 min

Initializing in your browser…

You might also like

PDF Watermark Adder

Add a text watermark such as CONFIDENTIAL or DRAFT to PDF pages, in one of nine positions or repeated, with a live preview.

PDF Page Remover

Delete pages from a PDF by tapping thumbnails or typing numbers. Bookmarks, links and form fields on the remaining pages are kept.

PDF to Images

Convert PDF pages to PNG, JPEG or WebP images at up to 600 dpi, with the exact pixel size shown before you convert.

PDF Header/Footer Adder: a worked example

A 20 page proposal assembled from several files needs page numbers on every page except the cover.

Input

proposal.pdf · 20 pages · footer "Page {page} of {total}", centred, 10 pt grey · Pages: 2-
What PDF Header/Footer Adder produces

Output

proposal_with_headers.pdf · cover untouched · "Page 2 of 20" to "Page 20 of 20" centred half an inch above the bottom edge

The placeholders are filled in for each page as it is written: {page} is the page's position in the document and {total} is 20, so the first numbered page reads "Page 2 of 20", which matches the number a reader would look up. 2- means page 2 to the end, so 19 pages get a footer. Each footer is centred on the visible width of its page and placed 36 points (half an inch) above the visible bottom edge, and the preview showed the same text on every page before it was applied.

About the PDF Header/Footer Adder

Add page numbers, dates, titles or any text to the top and bottom of every page of a PDF. Type a header and a footer, choose left, centre or right, and see the result on a preview of your own pages with the numbers already filled in. Placeholders such as {page} of {total} and {date} are filled in for each page. Pages stay sharp and the text remains selectable, and nothing is uploaded.

Working with your PDF

  1. 1Drop a PDF onto the tool, or press Try a sample PDF.
  2. 2Pick a preset such as Page numbers, or type your own header and footer.
  3. 3Tap placeholders like {page}, {total} or {date} to insert them.
  4. 4Choose left, centre or right for each line, then set the text size and colour.
  5. 5Check the preview on a few pages. Open More options for the font, the distance from the edge and which pages to change.
  6. 6Press Add, then Download PDF.

Key features

  • Header and footer, each aligned left, centre or right
  • Placeholders for page number, total pages, "page of", dates, time, year and file name
  • Presets for page numbers, dates, CONFIDENTIAL and DRAFT
  • Live preview with placeholders filled in for each page
  • Text size, colour and six standard fonts
  • Adjustable distance from the edge
  • Apply to all pages or a range, such as 2- to skip the cover
  • Correct placement on cropped and rotated pages
  • Text stays sharp and selectable; existing content is untouched
  • Runs in your browser: no upload

Common scenarios

  • Legal and court documents

    Add the page numbering that filings and exhibits require.

  • Reports and theses

    Number pages and add a running title after assembling the final PDF.

  • Document control

    Stamp the file name and date on every page of controlled documents.

  • Printed packs

    Make sure loose printed pages can be put back in order.

Tips & best practices

  • Grey text at 9 or 10 points looks professional and does not distract from the content.
  • Number a document after merging, never before, so the numbers run through the whole file.
  • Use {isodate} in documents shared internationally to avoid day and month confusion.
  • For facing pages, apply right-aligned numbers to odd pages and left-aligned numbers to even pages in two passes.

Examples

  • Numbering a merged report

    After merging five chapters into a 48 page PDF, the footer "Page {page} of {total}" centred at 10 points gives "Page 1 of 48" through "Page 48 of 48".

  • A dated draft

    Header "DRAFT, {date}" in red on the right and footer "{page}" in the centre marks every page of a policy document as a draft from today.

  • Leaving the cover clean

    With Pages set to 2-, a 20 page proposal gets "Page 2 of 20" to "Page 20 of 20" while the cover stays untouched.

How it works

Type what you want on each page. The header runs along the top and the footer along the bottom, each aligned left, centre or right. Use placeholders to add details that change from page to page: {page} for the page number, {total} for the number of pages, {pageof} for "3 of 12", {date} for today in your usual date format, {isodate} for a date like 2026-10-20, {time}, {year}, and {filename} for the PDF's name without .pdf. Tap a placeholder to insert it into whichever line you were last editing. Six presets cover the common needs, from plain page numbers to "DRAFT" with a date.

What you see is what you get. The preview renders your actual page and draws the header and footer on it with every placeholder filled in, so page 5 shows "Page 5 of 12" exactly as the file will. Step through the pages with the arrows. The date and time are taken once when you add the file, so a long document gets the same date on every page.

Placed against the visible page. Headers and footers are positioned from the edge of the area a reader actually sees. On a page that has been cropped they stay inside the visible area, and on a page set to display sideways they still run along what looks like the top and bottom. The distance from the edge defaults to half an inch (36 points) and can be changed under More options, along with the font (Helvetica, Times or Courier, regular or bold).

Choosing pages. Under More options, limit the change to certain pages: 2- leaves a cover page untouched, and odd or even let you place numbers differently on facing pages in two passes. {page} always counts from the first page of the document, so page 3 is numbered 3 even if the first two pages are skipped.

Good to know. The text is added on top of each page, so it does not move or resize the existing content; if a page already has text in the margin, increase the distance from the edge. The built-in fonts cover Western European letters, digits and common punctuation, and the tool warns about characters outside that set. Restricted PDFs that open without a password are unlocked automatically, and everything is processed in your browser.

Frequently asked questions

How do I add page numbers?

Press the Page numbers preset, or type {page} in the footer. For "Page 3 of 12", type Page {page} of {total}. The preview shows the result on each page before you apply it.

Can I skip the first page?

Yes. Open More options and type 2- in Pages. The cover is left alone, and the second page is still numbered 2 because numbering counts from the start of the document.

Can I start numbering at 1 on page 2?

Not directly; {page} is always the real page position. A common workaround is to number pages 2 onwards with "Page {page}" and leave the cover unnumbered, which matches how most printed documents count.

What date format does {date} use?

The usual format of your browser and region, such as 20/10/2026 or 10/20/2026. Use {isodate} for an unambiguous 2026-10-20.

Will the header overlap my existing content?

It is placed half an inch from the edge by default. If the PDF already has text there, increase the distance under More options and check the preview.

Is my PDF uploaded?

No. Headers and footers are added in your browser.

Related tools and how they differ

  • PDF Watermark Adder: Stamps text across the middle of pages, such as CONFIDENTIAL or DRAFT, rather than along the edges.
  • PDF Merger: Merge first, then number: page numbers added before merging restart in every file.
  • PDF to Booklet: Prints a numbered document as a folded booklet.

Further reading

  • PDF Accessibility: Making Documents Everyone Can Read12 min read

Private by design

PDF parsing and editing happen in your browser. Documents, and everything inside them, are never uploaded or stored remotely.