My Tools Garage

Add Page Numbers

Stamp page numbers onto any PDF, in your browser.

in-browser

How to use

  1. 1 Drop a PDF onto the box, or click to choose one.
  2. 2 Pick a position, then set the font size and margin.
  3. 3 Write the label, e.g. Page {n} of {total}, and a start number.
  4. 4 Click Add numbers & download to save the numbered PDF.

About Add Page Numbers

The Add Page Numbers tool stamps clean, consistent numbering onto every page of a PDF without re-exporting from the original application.

Drop in a file, choose where the numbers sit — any of the six corners or edge centers — pick a font size and margin, and write the label however you like.

The format field understands two tokens: "{n}" for the current page and "{total}" for the page count, so "Page {n} of {total}" produces "Page 3 of 12" while a bare "{n}" gives a quiet number in the corner.

A start value lets you offset the count, which is handy when a cover sheet should not be numbered or when a chapter continues from an earlier file — set it to 0 to skip the cover, or to 17 to carry on where the previous part left off.

The text is measured precisely before it is placed, so right-aligned and centered labels line up exactly rather than drifting with longer numbers near the end of a long document.

Everything happens locally with pdf-lib: the PDF is parsed, the labels are drawn, and a fresh file is handed back as a download, all inside your browser.

Nothing is uploaded, which matters for contracts, statements and drafts, and the tool keeps working offline once loaded.

Your original file is left untouched.

FAQ

Can I start numbering from a page other than 1?

Yes. Set the start value to any whole number — use 0 to leave a cover sheet effectively un-numbered, or a higher value to continue from another file.

What can the format field contain?

Any text plus the tokens {n} for the current page and {total} for the count, for example "{n}" or "Page {n} of {total}".

Is my PDF uploaded?

No. The file is read and rewritten with pdf-lib entirely in your browser, so it never leaves your device.