OnsitePDF
Sign in

Add page numbers to a PDF online, free

Stamp clean, positioned numbering on every page.

Files stay on your device

Drop your PDF here, or click to choose

Files are processed on your device — nothing is uploaded.

Choose file

Need to add page numbers to a PDF? Drop your file in, choose where the numbers go and what they look like, and download a numbered copy a moment later. You can paginate a report, a contract, a thesis or a scanned bundle without installing software or creating an account. The numbers are stamped onto every page directly in your browser, so a confidential document never has to be sent to a server just to get a number in the corner. The tool is free and adds no watermark.

How to add page numbers to a PDF

  1. Drop the PDF onto the page, or click to choose it from your device.
  2. Pick a Position, a Start number and a Format in the options panel.
  3. Click Process, then Download to save a numbered copy of your PDF.

Your original file is never modified. If the result is not quite right, change an option and run it again; processing a typical document takes a second or two.

Options explained

Position decides which of six spots on the page holds the number: bottom center, bottom right, bottom left, top center, top right or top left. Bottom center is the default and suits most documents. For documents printed on both sides, keep bottom center: the tool puts the number in the same spot on every page, so a corner would land on the inner, bound edge of every other page. Choose a top position when the bottom of your pages is already busy with footers.

Start number sets the number printed on the first page, anywhere from 1 to 9999. Every following page counts up from there. This is useful when your PDF is one chapter of a longer document, an appendix that should continue from the main report, or a section that must carry on from where another file stopped. Leave it at 1 for an ordinary document.

Format chooses how each label reads. The plain format prints just the number, such as 4. The "1 of N" format prints the number together with the last number in the sequence, such as 4 of 12, so a reader knows immediately if a page is missing. The "Page 1" format prints the word Page before the number, such as Page 4. When you set a Start number above 1, the "1 of N" format counts toward the last number in the sequence rather than the page count.

The numbers use a small black Helvetica label placed a short distance in from the page edge, and the rest of the page is left exactly as it was.

When you'd use this

Add Page Numbers vs. Acrobat, Preview and online converters

Adobe Acrobat can number pages through its Header and Footer tool, but that feature needs a paid Acrobat plan. macOS Preview has no built-in way to stamp page numbers onto an existing PDF, so Mac users usually go back to the original Word or Pages file, or reach for another application. Most online tools can do the job, but they work by uploading your document to their servers, which is a poor fit for contracts, medical records or anything under an NDA, and many cap the free tier at a small number of pages or files.

This tool runs in a browser tab with nothing to install and no account. The trade-off is that it offers a focused set of controls: six positions, three formats and a start number. It does not offer custom fonts, colors or ranges of pages, so if you need a styled header with a logo, a full desktop editor is still the better choice. For plain, readable page numbers it is quicker than any of them.

Why your file stays on your device

Page numbers are added by the pdf-lib library running inside a background worker in your own browser. Your PDF is read from your device into memory, each page is stamped there, and the finished file is handed straight back to you as a download. Nothing is uploaded, and no request carries your file data. The site is built so that a tool page cannot send file contents anywhere, and you can confirm that yourself: see how to verify for the steps to watch your browser's network panel while a file is processed.

Frequently asked questions

Do I have to upload my PDF to add page numbers?
No. Page numbers are added entirely in your browser — nothing is uploaded, and no request carries your file data.
How do I add page numbers to a PDF for free?
Drop your PDF onto the page, choose a position, a format and a start number, then click Process and Download to save the numbered copy. It is free, with no account, no sign-up and no watermarks.
Can I start numbering at a number other than 1?
Yes. Set the Start number to any value from 1 to 9999. The first page uses it and each following page counts up from there, which is handy for an appendix or a chapter that continues from another file.
Can I choose where the numbers appear?
Yes. Put them at the bottom or top of the page, on the left, center or right — six positions in all. The default is bottom center.
What number formats are available?
Three: a plain number such as 4, the number with the last number in the sequence such as 4 of 12, or the word Page followed by the number such as Page 4.
Can I add page numbers to a PDF offline?
Only in a page that is already open. Once the tool's code has downloaded from this site on first use, an open page keeps working if your connection drops: numbering runs on your device and your file is never sent anywhere. Opening or reloading the page needs a connection, because the site does not install itself for offline use.