---
title: "Add header and footer to PDF: free, no upload | Docsi"
description: "Add header and footer text to PDF pages: a title, a notice, a reference or page numbers, in six positions, on all pages or a range. Nothing uploaded."
url: https://docsi.si/tools/add-header-footer-to-pdf/
updated: 2026-11-19
---

[Docsi](https://docsi.si/) / [Tools](https://docsi.si/tools/) / [Edit a PDF](https://docsi.si/tools/#pdf-edit)

# Add header and footer to PDF

Stamp text in the header and footer (left, center, right). Supports {n} and {total}.

PDF

Up to 2 GB a file.

**Runs on**: Your device

**Files uploaded**: None

**Price**: Free

**Account**: Not needed

**Works offline**: Yes

**Updated**: 19 November 2026

A header or footer repeats the same line on every page: a document title, a client name, a version or a confidentiality notice. This tool gives you six slots, left, center and right at the top and at the bottom, and you fill only the ones you need. Any slot can include {n} for the page number and {total} for the page count, so one footer can carry a notice and a page count side by side. The text is drawn onto the chosen pages in small grey Helvetica unless you change the size or color.

## How to add a header or footer

1. **Add your PDF above** Drop it on the box or choose it from your device. It is opened locally and is not uploaded.
2. **Set the options** Adjust color, footer center, footer left and more, or keep the defaults.
3. **Download the result** It appears on this page when the work is done. Nothing to install, no account, no watermark.

## When to use add header and footer to PDF

**Marking a document confidential**: Put “Confidential: not for distribution” in the footer center so the notice is on every printed or forwarded page, not only the first. For a large mark across the middle of the page, use Add watermark to PDF instead.

**Labelling a draft for review**: A header such as “Draft v3, for comment” at the top left stops reviewers mixing up versions, while the top right carries the project or client name.

**Identifying scanned pages**: Scans of letters and receipts often say nothing about what they belong to. A header with the case reference or claim number makes each page identifiable when it is printed on its own.

**A title and a page count on one line**: Fill the footer left with the document name and the footer right with “Page {n} of {total}”. You get both on the same line, which a plain page-numbering tool cannot do.

## Tips for a better result

**{n} and {total} count the whole file**: Here {n} is the page's position in the PDF and {total} is its page count, even when you stamp only some pages. For numbering that skips a cover and starts again at 1, use Add page numbers to PDF.

**Type the date yourself**: There is no automatic date field. If the header should show a date, write it into the slot as it should appear, for example “Issued 17 October 2026”.

**Stamp part of the document**: Pages takes ranges such as 2-last or 1,3-5. Leave it at all to stamp every page, or skip the cover by starting from page 2.

**Keep each slot short**: Every slot is one line with no wrapping. Long text in the center can run into the left and right slots, so keep each to a few words, or lower the size from its default of 9 points.

**Mind printed headers**: The text sits 24 points from the top or bottom edge by default. If the pages already have a printed header or footer, raise the margin so the two do not overlap.

## Options

**Colordefault #555555**: Optional.

**Footer center**: Optional.

**Footer left**: Optional.

**Footer right**: Optional.

**Header center**: Optional.

**Header left**: Optional.

**Header right**: Optional.

**Margindefault 24**: Optional.

**Pagesdefault all**: Pages to stamp (default all).

**Sizedefault 9**: Optional.

## What it costs and what it takes

Nothing. No account, no watermark, no trial and no daily limit.

- **Files up to 2 GB** As big as a browser tab can open. On a phone, past about 200 MB it may run out of memory; a computer copes better.
- **Up to 2,000 files at a time** They are worked through one after another, on your device.
- **Up to 20,000 pages a document** Long documents take longer, and nothing is uploaded while they do.

## Why it runs on your device

Contracts, payslips, IDs and invoices should not sit on somebody else's server. Docsi's engine is compiled to WebAssembly and runs inside your browser tab, so the file stays where it is, there is no upload wait, and the tool keeps working offline.

In the app you can also type what you want: “header”, “footer”, “running head”, “add title to every page”, “confidential footer”.

## Questions

### How do I add a footer to every page of a PDF?

Add the PDF, type your text in one of the three footer slots and leave Pages set to all. The footer is drawn on every page in the same position, and you can download the updated copy straight away.

### Can I have different text on the left and right of the header?

Yes. Each of the six slots takes its own text, so a title can sit in the header left, a reference in the header right and a page count in the footer center, all from one run.

### Can I add a header to only some pages?

Yes. Set Pages to a range such as 2-last to leave the cover without a header, or list single pages such as 1,4,7. Pages outside the range are left as they were.

### Does it work with other languages?

Text is set in Helvetica with the Western European character set, which covers English and most European languages with accents. Letters from other scripts, such as Hindi or Chinese, cannot be drawn and appear as question marks. The rupee sign is written as Rs.

### Is the header added as a comment?

No. It becomes part of each page's content, so every viewer shows it and every printout keeps it. That also means Remove annotations from PDF will not take it off again, so keep your original.

### Are my files uploaded?

No. Add header and footer to PDF runs inside your browser using WebAssembly, so the file never leaves your device. You can turn off your internet connection after the page loads and it still works.

### Is it free?

Yes, with no watermark, no account and no limit on how often you use it.

### Does it work on a phone or tablet?

Yes, in any modern browser. Very large files are limited by the memory of the device, so a laptop handles them better than a phone.

## Related tools

[Add watermark Stamp a translucent text watermark.](https://docsi.si/tools/watermark-pdf/)[Add page numbers Stamp page numbers on every page with a template like 'Page {n} of {total}'.](https://docsi.si/tools/add-page-numbers-to-pdf/)[Replace page with image Replace a page's content with a rendered image.](https://docsi.si/tools/rasterize-pdf-page/)[Add annotations Add highlights, underlines, strike-outs, sticky notes, text boxes, rectangles or freehand ink drawings to pages, as real PDF annotations every viewer shows.](https://docsi.si/tools/annotate-pdf/)[List annotations List comments and markup annotations in a PDF with page, kind, author and text.](https://docsi.si/tools/list-pdf-comments/)[Remove annotations Remove comments, highlights and other markup from pages.](https://docsi.si/tools/remove-pdf-annotations/)[Add text Write text onto a page at a position.](https://docsi.si/tools/add-text-to-pdf/)[Add image Place an image.](https://docsi.si/tools/add-image-to-pdf/)

## Add header / footer, and 153 more tools.

[See all tools](https://docsi.si/tools/)[Open the app](https://docsi.si/app/)
