Add Page Numbers to a PDF Free
Select a PDF, adjust position, font, size and color with a live preview, then save. Every page gets numbered using pdf-lib, entirely in your browser. No upload, no account.
Add Page Numbers Now →Privacy • July 2026 • 7 min read
Last updated: July 2026
A thesis, a report, or a contract needs page numbers before it goes out the door. Here is what a good numbering tool should let you control, how to handle front matter correctly, and how to do the whole thing without uploading the file anywhere.
It is a familiar moment. A thesis is finished, a report is ready to circulate, a contract is about to be signed, and someone notices the pages are not numbered. The usual response is to search for a free online PDF tool, open the first result, and upload the file without thinking much about what that step actually involves.
Page numbering looks like a small, almost invisible edit, but the document behind it often is not small at all. It might be the only copy of a dissertation, a signed agreement, or a report with figures nobody else has seen yet. This article covers what a genuinely good page numbering tool should let you control, the editorial convention for numbering front matter correctly, whether numbering affects a document's existing security, and how to do all of it entirely inside your browser instead of handing the file to a server.
At a Glance
A capable page numbering tool should let you control position, alignment, font and size, and whether the total page count is shown alongside the number. Formal documents also follow a real editorial convention for front matter, preliminary pages like a cover, title page, or foreword are typically skipped or numbered with Roman numerals, with standard Arabic numbering starting once the substantive content begins. Adding page numbers is a content update similar to a header or footer, and it does not weaken or remove a PDF's existing password protection. ZeroCloudPDF's Add Page Numbers tool applies all of this entirely inside your browser using pdf.js for the live preview and pdf-lib for the final file, both pure JavaScript, so the document is never uploaded.
Stamping a number on a page sounds like it should be a single button, but the details are where a tool actually earns its keep. Position matters first, bottom center and bottom right are the most common choices for reports and books, while top placement suits documents that already use the footer for something else, like a case reference or a confidentiality notice.
Alignment, font, and size should be adjustable too, since a number that clashes with the document's own typeface or sits awkwardly close to the page edge looks like an afterthought rather than a finished document. Two further controls separate a genuinely flexible tool from a basic one: the ability to choose a starting number other than 1, useful when a document is one part of a larger set, and the option to show the total page count alongside the current one, commonly written as "Page X of Y", which helps a reader gauge how much of the document remains.
Not every tool offers every one of these, and it is worth checking before committing a large document to one, since re-numbering after the fact means starting over.
Most style guides used for theses, dissertations, and formal reports draw a clear line between front matter and the substantive content that follows. Front matter, the cover page, title page, table of contents, and any foreword or acknowledgments section, is conventionally either left unnumbered or numbered with lowercase Roman numerals, i, ii, iii, and so on. Standard Arabic numbering, 1, 2, 3, then begins where the actual content starts, typically the introduction or Chapter 1.
This convention exists for a practical reason. A reader flipping to "page 12" expects to land twelve pages into the substantive content, not twelve pages into a document that also includes a cover sheet and a three page table of contents. Switching numbering systems at the front matter boundary signals exactly where the real document begins, and it is often an explicit formatting requirement for university thesis submissions and formal reports, not just a stylistic preference.
In practice, this usually means treating a document as two numbering passes rather than one: front matter handled separately, often left as is or numbered by whatever tool produced the front matter pages, and the main content numbered as its own continuous sequence starting at 1.
No. Adding page numbers is a content update, similar in scope to adding a header or a footer. It does not weaken, remove, or otherwise interact with any password protection or encryption already applied to a PDF.
What it does require is that the tool doing the numbering can actually open the file first. If a PDF is already password protected, a numbering tool needs the correct password to open and edit it, the same way any editor would. The practical order for a protected document is to remove the password first, add page numbers, and then protect the finished file again if it needs to stay locked.
A thesis, a signed contract, or a financial report is not made less sensitive by the fact that the only edit being made to it is a page number. Uploading a document to a server just to have a number stamped onto it still means that server gets to read the entire file in the process, whatever it contains. This is the same document privacy point that applies to any conversion or edit on this site, adding page numbers included, and it is exactly why running the whole process locally, rather than trusting a stranger's server with a document for the length of a single edit, is worth doing by default rather than only when the document feels obviously sensitive.
ZeroCloudPDF's Add Page Numbers tool uses two pure JavaScript libraries, no WebAssembly needed for this particular tool. pdf.js renders page 1 of the uploaded document onto a canvas for a live preview, and a lightweight overlay redraws the number on top of that canvas as options change, so adjusting a setting never touches the actual PDF. Once the options are set, pdf-lib loads the full original file and writes the real page numbers onto every page, generating the finished PDF as a download, all inside the browser tab.
Yes. A page number is drawn as new text on top of each page, so it does not depend on the page already containing selectable text. Scanned documents and image based PDFs get numbered exactly the same way as text based ones.
Not currently. Every real page in the document is numbered starting from 1 when you save. There is no option yet to skip specific pages or begin counting from a page other than the first.
Not as a built in option. The tool applies one consistent number format across every page in a single pass. If a document needs Roman numerals on its preliminary pages and Arabic numerals from the introduction onward, that split currently has to be handled as two separate passes or with another tool for the front matter specifically.
No. Only the page number text, and its background box if an opacity above 0% is set, is added to each page. Existing text, images, fonts and layout stay exactly as they were in the original file.
Helvetica, Times New Roman and Courier. These map directly to the standard fonts built into the PDF specification itself, so the number renders correctly in any PDF viewer without embedding extra font files in the download.
Smallpdf and PDF24's own page numbering tools both work by uploading the file to their servers, stamping the number there, and returning a new file. ZeroCloudPDF draws the same page numbers using pdf-lib, entirely inside the browser, so the document never has to leave the device in the first place.
| Privacy Feature | Smallpdf | PDF24 | ZeroCloudPDF |
|---|---|---|---|
| PDF uploaded before numbering is applied | Yes | Yes | No |
| Where the numbering is generated | Smallpdf's servers | PDF24's own servers | Your browser, via pdf-lib |
| Encrypted in transit | Yes, via TLS | Yes, via TLS | Not applicable, nothing is transmitted |
| What happens to your file afterward | Auto-deleted after 1 hour | Auto-deleted after 1 hour, per PDF24's own stated policy | Nothing to delete, it never left your device |
Your PDF exists in your browser's memory only for the moment it takes pdf-lib to stamp each page. Once the numbered copy downloads, there is no uploaded copy left on any server to delete.
A page number is a small addition to a document, but the document underneath it is rarely small in what it contains. Getting the numbering convention right, front matter separated from substantive content, and doing the whole edit without a document ever leaving your device, are both worth the extra minute it takes.
Guides for the steps that often come before or after adding page numbers
Select a PDF, adjust position, font, size and color with a live preview, then save. Every page gets numbered using pdf-lib, entirely in your browser. No upload, no account.
Add Page Numbers Now →If your finished document is really several separate PDFs, merge them into one file first with ZeroCloudPDF's merge tool, then number the combined result so the page count matches what readers actually see.
Merge PDFs →Once your pages are numbered, lock the finished file with a password using real 256 bit AES encryption, so it stays exactly as you numbered it before anyone else opens it.
Protect or Unlock Now →