You can handle this directly in your browser with our free add page numbers tool — nothing gets uploaded.
Adding page numbers to a PDF is one of the most frequently requested edits in the document workflow. Whether you are preparing a legal contract, a white paper, or a scanned textbook, clear page numbers make it easier for readers to reference specific sections, file documents correctly, and maintain professional formatting. This guide explains when you should add page numbers, how the process differs for Word-generated PDFs versus scans, why some PDFs cannot be numbered directly, how to resolve mismatches between displayed and actual page counts, how to start numbering from page two, and answers four of the most common questions people have.
Page numbers are not optional for casual sharing, but they become essential once a document moves into a more formal or operational context. You should add page numbers when the document will be printed and filed, when readers will cite specific pages, when the document exceeds a few pages, or when the content will be distributed across multiple stakeholders who need a shared reference system.
In legal filings, every page must be clearly identified to avoid disputes over which version was submitted. In academic papers and business reports, page numbers help reviewers locate figures, tables, or appendices quickly. Even in internal operations manuals, page numbers reduce confusion when teams refer back to a specific procedure later. If your PDF is short, under five pages, and will only be read on a single device, page numbers may be optional, but once the document grows or is shared broadly, numbering becomes a practical necessity.
Another common trigger is when a PDF has been assembled from multiple source files. If you merged several reports into one document, the original page numbering from each source can clash, so applying a unified set of page numbers ensures consistency across the entire file.
PDFs that originated in Microsoft Word or similar layout programs are text-based. This means every page contains actual characters that software can detect, count, and overlay with new text. Tools like Adobe Acrobat, PDFtk, or online services can simply add a footer or header with a page counter, because the underlying structure still recognizes the page as a text container.
In contrast, scanned PDFs are image-based. Each page is essentially a photograph or raster image of a physical document. There is no text layer for the software to manipulate unless OCR (Optical Character Recognition) has already been run. That fundamental difference changes the entire workflow.
For a Word-generated PDF, you typically just open the file in a PDF editor, choose "Add Page Numbers," select a position such as bottom center, pick a font and size, and export. The result is clean, scalable, and searchable because the new numbers are vector text, not pixels. For a scanned PDF, the same menu option may appear, but the tool may fail to count pages correctly, or it may place the numbers at the wrong vertical position because it has no text baseline to align with.
A practical rule of thumb: if you can select and copy text from the PDF, numbering will be straightforward. If you cannot select any text, you are dealing with an image-based PDF, and the process becomes more involved.
The core reason scanned PDFs resist simple page numbering is that they have no text layer. A scanner captures light and converts it into a bitmap. Every character on that page is just a pattern of dots. Without OCR, the PDF software has no semantic understanding of where one line of text ends and where the footer space begins.
This creates two distinct problems. First, page counting can be unreliable. Some scanning utilities create one image file per sheet, while others bundle several sheets into a single object. If the file is malformed, the software may miscount pages, leading to wrong numbers. Second, placement is tricky. Since there is no text margin defined, the tool must guess where to put the number, and that guess may overlap with existing content, fall off the edge of the page, or land in the middle of a paragraph.
Running OCR before numbering solves both issues. Once OCR is complete, the software indexes the text, identifies the footer region, and can insert page numbers with the same precision it uses for a Word-generated file. Many modern OCR engines also create a hidden text layer, so the document becomes searchable while still looking exactly like the original scan. If your scanned PDF has not been through OCR, that step is not optional; it is the prerequisite for reliable numbering.
There is a nuance worth noting: some scans are already OCR-processed, even if the user did not realize it. You can check by trying to select text with your cursor. If selection works, OCR has already been applied, and you can proceed to numbering without an extra pass. If nothing is selectable, schedule the OCR job first.
A frequent complaint is that the displayed page number says "42" but the document actually has forty-five pages, or vice versa. This mismatch usually stems from one of three causes.
The first cause is hidden or blank pages. Some PDFs contain pages that are technically part of the file but are set to zero opacity or are completely white. The page counter still counts them, but the reader does not see them, so the visible sequence appears to skip numbers. To fix this, open the page tree in a PDF editor and delete the empty pages, or reset the numbering scheme so that the counter restarts at the first visible content page.
The second cause is a numbering offset that was not cleared. If you previously added numbers starting from a custom value, such as starting at five instead of one, the new numbering will carry that offset forward. Always reset the start value to one before applying a new sequence, unless you intentionally want a different starting point.
The third cause is merged files with conflicting numbering. If you combined two documents that each had their own page numbers, the second document may continue from where the first left off, producing duplicates or gaps. In that case, strip the old numbers from both sources and apply one global numbering pass to the final merged file.
A quick diagnostic routine helps. Open the document in a page-list view, note the total page count reported by the tool, then flip through to the last page and compare. If the last visible number is lower than the total, you likely have hidden pages or an offset problem. If it is higher, the numbering engine counted pages that are not part of the visual document, which points to a merge issue.
Many users want the first page to remain unnumbered, such as a cover or title page, and then begin numbering with the second page as "Page 1" or as "Page 2" depending on the desired convention. This is a standard requirement in books, reports, and legal documents, where the cover does not count toward the pagination.
In most PDF editors, the workflow is similar. Open the page numbering settings and look for an option labeled "Start numbering at page," "First numbered page," or "Skip first page." Set that value to two if you want the second visible page to carry the number one, or to three if you want it to carry the number two. Some tools use zero-indexing, so read the help text carefully.
For scanned PDFs, the same logic applies, but you must confirm that the cover page is truly recognized as a separate object by the software. If the cover is embedded in the same image strip as page two, the tool may not be able to skip it cleanly. In that case, split the cover into its own page object before applying the numbering rule.
If you are using a command-line tool such as PDFtk, the equivalent operation involves writing an FDF or using the stamp feature with a start-page parameter. The principle is identical: tell the tool which page index should receive the first number, and it will calculate the rest from there.
Will adding page numbers change the file size significantly?
Usually not. The numbers are small text objects, and the file grows by only a few kilobytes. If you are adding them to a scanned PDF after OCR, the OCR layer itself may increase the size, but that is a separate change from the numbering step.
Can I change the font or size of the page numbers after they are added?
In most editors, yes. You can edit the text style of the footer or header directly. However, if the numbers were applied via a batch script, you may need to remove and re-apply them with the new style, because some scripts do not support in-place text editing.
Does adding page numbers make the PDF unsearchable?
No. In fact, for scanned PDFs, adding a text-based number layer often improves searchability, because the number itself becomes indexable. Just make sure the OCR layer is present; without it, the numbers will not appear in search results even if they are visible on screen.
Can I add different numbering schemes to different sections of the same PDF?
Yes, but the implementation depends on the tool. Adobe Acrobat and several online services allow you to set a new numbering restart point at any page boundary. This is useful for reports where the table of contents is unnumbered, the main body starts at one, and the appendix restarts at one. Command-line tools are less flexible here and may require you to split the document into sections, number each, and merge them again.
Adding page numbers to a PDF is a small task with a surprisingly wide range of variables. Text-based PDFs from word processors are quick to number, while scanned documents require an OCR pass before reliable numbering is possible. Mismatches between displayed and actual page counts almost always trace back to hidden pages, stale offsets, or merged files, and each has a clear fix. Starting numbering from the second page is a standard feature in most editors, useful for covers and title pages. If you keep these distinctions in mind, you can choose the right tool for your document type and avoid the most common pitfalls in pagination.
Related reading: add blank page to pdf, add page numbers formatting, batch add page numbers to many pdfs.
Does this tool change the original PDF file on my device?
No, your original file remains untouched. The tool processes the PDF in your browser's memory to generate a new document with page numbers. You download the modified version separately, preserving the integrity of the original file stored on your computer or mobile device without any risk of data loss.
Can I customize where the page numbers appear on the page?
Yes. After uploading, you can select specific positions like top-center, bottom-right, or outer corners. You can also adjust the font size and color to ensure visibility. These settings apply uniformly to all pages unless you choose to skip the first page, allowing for clean, professional formatting that matches your documents existing style.
Is it possible to skip page numbering on the first page?
Absolutely. There is a dedicated option to exclude the first page from numbering. This is useful for title pages or covers where a number is unnecessary. The remaining pages will continue the sequence correctly, starting with number two on the second page, ensuring logical ordering throughout the entire document without manual adjustments.
What happens if my PDF is scanned rather than text-based?
The tool adds visible numbers as a graphical overlay, so it works on scanned images too. However, these numbers are not selectable text; they are rendered visually. If you need searchable, editable text within the page number itself, you would need to perform OCR first, as this tool only overlays visual numbering on the existing page content.