Add Page Numbers to a PDF

Number every page. Pick where they go, how they look, and what number to start from. Nothing is uploaded, it all happens on your device.

Click to choose a PDF file, or drag and drop it here

Stays on your device, nothing is uploaded.

Are my PDF files uploaded anywhere?

No. Page numbers are added entirely inside your browser using JavaScript. Your files never leave your device or touch a server.

Can I start numbering from something other than 1?

Yes. Set the starting number to whatever you need, useful when a PDF continues a sequence from another document.

Can I change where the numbers appear?

Yes. Choose any corner or the top/bottom center from the position dropdown before applying.

Does this number every page?

Yes, every page gets a number in sequence. Picking specific pages to skip isn't supported yet.

Can I add page numbers to a password-protected PDF?

Not currently. Password-protected or encrypted PDFs can't be read by the tool and will show an error, remove the password first with a PDF reader.

How it works

The tool loads your PDF with pdf-lib, a library that edits the file's object structure directly in browser memory, and appends one small text-drawing instruction to each page's content stream. The font is Helvetica, one of the 14 standard fonts every PDF viewer is required to ship, so no font file needs to be embedded and the output grows by only a few hundred bytes total. Nothing else on the page is re-rendered, recompressed, or moved; your numbers are real, selectable text layered on top of what was already there.

Placement is measured, not guessed. For each page the tool asks the font for the exact width of the rendered string (so "Page 9 of 120" right-aligns as precisely as "9"), then computes coordinates from your chosen position with a fixed 24-point margin, about a third of an inch, from the page edge. Because the width is recalculated per page, the alignment stays clean even when the count rolls from 9 to 10 to 100, and even in documents that mix portrait and landscape page sizes.

One honest limitation: the number is drawn on top of the existing page. If a document already has content in that exact corner, old page numbers, a footer, the two will overlap, so pick a position that's empty in your file. The starting-number option exists for the classic case where a chapter PDF continues from page 47 of a larger work, and it can go negative-free from any integer you like.

You can verify the privacy claim in about ten seconds: open DevTools, watch the Network tab, and add your numbers. The file is read, modified, and downloaded entirely inside this tab; no request ever contains your document.