PDF Page Numbers & Watermarks

Stamp page numbers or a text watermark onto a PDF in your browser. Set the position, font, size, colour and opacity, then save.

Runs entirely in your browser — nothing is uploaded

Drop a file or click to browse

One PDF · opened by your browser, never uploaded

About the PDF Page Numbers & Watermarks

Drop in a PDF and it gets a footer, a header, or a diagonal watermark, drawn as real selectable text on top of the pages you already have. The label is a small template — Page {n} of {total}, {n}, — {n} —, or anything you type — so you get "Page 4 of 12" rather than a bare digit. Position, margin, font, size, colour and opacity are all yours; numerals can be Arabic, Roman (i, ii, iii) or letters; and you can restrict the stamp to a range like 3-, odd or 2,5,9. The preview is not a mock-up: it renders the finished page through the same drawing code the download uses, on a one-page copy that keeps its own boxes and rotation, so what you see really is what lands in the file.

The non-obvious trap here is that a PDF page has more than one size. The MediaBox is the sheet; the CropBox is the part a viewer actually shows. Print-ready files routinely carry 3–9mm of bleed, so the MediaBox is bigger than the finished page — and a number placed 36pt from the *MediaBox* edge sits out in the bleed, where the reader never sees it and the guillotine cuts it off. Every measurement here is taken from the CropBox, clipped to the MediaBox so that a CropBox written in the wrong units cannot push the stamp off the sheet entirely. The second trap is /Rotate. A page scanned sideways stores its content the normal way round and asks the viewer to turn it 90°; draw at "bottom centre" in content coordinates and the number appears sideways down the left edge once the page is turned. This tool works out where the corner is *as the reader sees it*, maps that point back into content coordinates, and counter-rotates the text so it reads upright — the number lands in the same visual corner on a sideways page as on every other one. Pages whose MediaBox does not start at the origin are handled the same way.

The file is edited in place rather than rebuilt from copied pages, so bookmarks, internal links, form fields and attachments all survive, and so do the document properties — the title, author, producer and creation date are left exactly as they were rather than being overwritten with this tool's name. The text uses one of the standard 14 PDF fonts (Helvetica, Times and Courier, with their bold, italic and oblique cuts). Those are referenced rather than embedded, which every conforming viewer is required to support, so the file grows by a few hundred bytes instead of by a whole font. The price is the WinAnsi character set: Latin letters, digits, accented European letters, currency symbols and typographic quotes all work, but Chinese, Japanese, Korean, Cyrillic, Greek, Arabic, Hebrew and emoji do not. Rather than dropping the glyphs it cannot draw and handing you a file with holes in it, the tool names the offending character and refuses to write anything. There is also no zero-padding, so 0001-style Bates numbering is out of reach.

Three settings answer the question numbering tools usually get wrong: what happens to the cover. Page 1 is number sets what the first sheet counts as, so a cover you do not want stamped can still be counted — set it to 0 and page 2 reads 1. Skip the first page hides the stamp without changing the count. Count from decides whether a restricted range keeps the document's own numbering (page 5 of the file is called 5) or starts fresh at the first page you stamp. For double-sided printing, mirror on facing pages swaps left and right corners on even sheets so the number always sits on the outer edge. Before you save, the tool tells you exactly how many pages will be touched and how many are left alone, and warns you if the label is wider than the space between the margins, if the margin is bigger than half the page, or if a placeholder you typed is not one it recognises.

Everything runs inside your browser using standard web APIs. Your data is never uploaded, never stored on a server, and never leaves your device — you can confirm that by opening your browser devtools Network tab, or by switching off your Wi-Fi and using the tool offline.

Frequently asked questions

Can I write "Page 3 of 12" instead of a bare number?

Yes. The label is a template: `{n}` is replaced by the page's number and `{total}` by the highest number that will be printed. `Page {n} of {total}` gives "Page 3 of 12". Anything else you type is printed literally, so `ACME — {n}` or `Draft {n}/{total}` work too. A placeholder the tool does not recognise, such as `{foo}`, is printed exactly as written and flagged in a warning rather than silently deleted.

Some of my pages are sideways. Will the numbers come out sideways too?

No. A sideways page carries a `/Rotate` flag that tells the viewer to turn it, while its content coordinates stay the normal way round. The tool computes the corner position as the reader sees it, then counter-rotates the text so it reads upright and lands in the same visual corner as on every other page. It tells you how many rotated pages it found.

Why does my page number end up inside the printed area on some files?

Because that file's CropBox is smaller than its MediaBox — usually a print-ready PDF with bleed. This tool measures from the CropBox, which is what a viewer and a printer both treat as the page, so the number sits inside the trimmed area rather than out in the bleed. If your margin still overlaps existing content, reduce it: nothing here inspects what is already on the page, so an existing footer and a new one will simply overlap.

Can I use Chinese, Japanese, Cyrillic or emoji in the stamp?

No, and the tool will tell you so rather than pretending. It draws with the standard 14 PDF fonts, which use WinAnsi encoding — 218 code points covering Latin letters, digits, accented European letters, currency symbols, dashes and typographic quotes. Anything outside that has no glyph, so the tool names the character and refuses to write, instead of producing a file with characters silently missing. Embedding a Unicode font would fix it but would add hundreds of kilobytes to every output.

Will this destroy my bookmarks, links or form fields?

No. The pages are edited in place — a text operator is appended to each page's content stream — rather than copied into a fresh document. Bookmarks, internal and external links, AcroForm fields, attachments and the document's own metadata all come through untouched. The one exception is a digitally signed PDF: any change rewrites the file and invalidates the existing signature, and the tool warns you before you save if it finds a signature field.

Can I remove or change the page numbers afterwards?

Not with this tool. Once the text is written into a page's content stream it is part of the page, like any other text on it — there is no separate "page number" layer to peel off. Keep your original file and re-stamp that if you want to change the numbering. The same applies to the watermark.

Does a watermark actually protect the document?

It marks it, it does not protect it. The watermark is ordinary text in the content stream: it can be selected, copied, and removed by anyone with a PDF editor, and it does nothing to stop copying, printing or forwarding. Use it to label a draft or a confidential copy, not as a security control.

Is my PDF uploaded anywhere?

No. The file is read locally and rewritten on your own machine. There is no server to upload to — this site is static hosting. Disconnect from the internet after the page loads and the tool still works, which is the easiest way to check.