How to Add Page Numbers to a PDF - Free, Browser-Based
Academic papers, legal documents, reports, and manuals all need page numbers. If your PDF was created without them - or you merged several PDFs together and the numbering is now wrong - you can add them in seconds without any software or file uploads.
Why Page Numbers Matter More Than You Think
Page numbers seem like a small detail, but their absence creates real problems. In a legal context, an unnumbered document submitted as evidence or attached to a contract can create ambiguity - opposing counsel or a judge may question whether pages have been added or removed. In academic work, citations require page numbers; without them, your references are incomplete. In a business context, imagine presenting a 40-page report and asking a room full of stakeholders to "turn to the section on Q3 forecasts" without any page numbers to guide them.
When you merge multiple PDFs - for example, combining a title page, a main report, and several appendices - each source document often has its own page numbering. The merged result may have no numbers at all, or conflicting numbers from different sections. Adding a fresh, continuous sequence after merging solves this immediately.
Step-by-Step: Add Page Numbers to a PDF
- Open the Add Page Numbers tool.
- Upload your PDF by dragging it in or clicking to select the file from your device.
- Choose your settings:
- Position: Bottom centre, bottom right, bottom left, top centre, top right, or top left. Bottom centre is the most conventional position for most document types.
- Starting number: Default is 1. Set to a higher number if this PDF is one section of a larger multi-document set.
- Font size: 10 - 14pt is standard for most documents. Use 12pt as a safe default for A4 and US Letter formats.
- Click Add Page Numbers and download the updated PDF. The numbers are embedded directly into each page's content layer.
When to Use a Custom Starting Number
If you have a 200-page report split into three separate PDFs - perhaps because different team members worked on different sections - you don't want each section to start at page 1. Doing so would make the merged result show repeated numbers, which confuses readers and makes citations impossible. Instead, set the starting number to match where each section falls in the full document:
- Part 1 (pages 1 - 70): starting number = 1
- Part 2 (pages 71 - 140): starting number = 71
- Part 3 (pages 141 - 200): starting number = 141
Then merge all three using the Merge PDF tool for a consistently numbered final document. Because each section was numbered independently with the correct offset before merging, the result will have seamless sequential numbers from page 1 through to page 200.
Best Practice: Number Before Merging
A common workflow mistake is merging PDFs first and then trying to add numbers. This works, but means you have to process the entire merged document as one large file. Numbering before merging - with the correct starting offsets - gives you more flexibility and makes it easier to update individual sections later without affecting the others.
The recommended workflow for multi-section documents is:
- Finalise the content of each section as a separate PDF.
- Plan the page ranges: know how many pages each section contains.
- Number each section separately with the correct starting number.
- Merge the numbered sections in order using the Merge PDF tool.
- Result: a single PDF with continuous, correctly sequenced page numbers throughout.
Page Number Position: Which Should You Choose?
The position of page numbers follows conventions that vary by document type:
- Bottom centre: The most universally accepted position for formal documents - academic papers, reports, and legal submissions. It doesn't interfere with headers or footers already present in the content.
- Bottom right: Common in corporate documents and books. Easy for readers to locate when flipping through pages.
- Bottom left / top left / top right: Useful when the document already has content in the bottom centre (such as a footer line or footnotes).
- Top centre: Less common but occasionally required by specific style guides or submission portals.
If you're submitting to a journal, court, institution, or client with specific requirements, always check their formatting guidelines before choosing a position. Some style guides (APA, Chicago, MLA) have explicit rules about where page numbers should appear.
How It Works Under the Hood
The Add Page Numbers tool uses pdf-lib, an open-source JavaScript library, to write text directly onto each page of your PDF. For each page, it calculates the correct position based on the page dimensions (which may vary within a document - A4 pages and US Letter pages have different widths and heights), draws the page number as a text element, and saves the result as a new PDF file.
Because this runs in your browser using WebAssembly, no file data is transmitted to any server. You can verify this by watching the Network tab in your browser's developer tools during the process - you'll see requests only for the site's own JavaScript assets, not for your document.
Frequently Asked Questions
Is my PDF uploaded anywhere?
No. Page numbers are added using pdf-lib entirely in your browser. The file never leaves your device.
Can I choose the format - e.g. "Page 1 of 20"?
The tool currently adds plain numbers. "Page X of Y" format and Roman numeral support are planned for a future update.
Will this work with scanned PDFs?
Yes - page numbers are overlaid on the PDF page regardless of whether the content is text, images, or scanned documents. The number appears as a new text layer on top of the existing page content.
Can I skip the first page (e.g., for a cover page)?
Set the starting number to 0 - the first page will show "0" which effectively makes the second page show "1". Full skip support (where the cover page gets no number at all) is on the roadmap.
What happens if my PDF already has page numbers?
The tool adds new numbers as an additional text layer - it does not detect or remove existing numbers. If your PDF already has numbers baked into the content, you may see double numbering. In that case, consider using the Organize PDF tool to check the document structure first.
Ready to try it?
Open Add Page Numbers →