Add page numbers to a PDF — offline & private

Stamp professional page numbers into headers or footers — 6 positions, custom formats like “Page 3 of 12”, adjustable font size, and custom starting index. Stamping runs locally in your browser with pdf-lib, so your file never leaves your device.

How to Add page numbers to a PDF — offline & private

  1. Step 1. Upload your PDF (it stays on your device).
  2. Step 2. Choose a format like “Page {n} of {total}” or a plain number.
  3. Step 3. Pick one of the 6 header/footer positions and a font size.
  4. Step 4. Set a starting number if this continues another document, then Execute — numbering is applied locally in your browser.

Frequently asked questions

Can page numbers say “Page 1 of 10”?

Yes — use the format string Page {n} of {total}; {n} becomes the current page and {total} the page count.

Can I start numbering at a number other than 1?

Yes — set the starting index, useful when appending to an existing numbered document.

Is my file uploaded to a server when numbering pages?

No. Page numbering is 100% offline — the PDF is processed in your browser memory and never sent anywhere. Encrypted files are skipped with a warning.

Which positions are available?

Six: top-left, top-center, top-right, bottom-left, bottom-center, bottom-right.