How to Add Page Numbers to a PDF — Without Uploading Your Files
Page numbers are one of those details that seem minor until they are missing. You merge several documents into one PDF, and suddenly there is no way to reference a specific page in a meeting. You print a 30-page report, the pages fall off the desk, and now sorting them back is guesswork. You submit a thesis or legal filing, and the reviewer cannot cite page locations because there are no numbers. Adding page numbers after the fact should be simple, but most tools want you to upload your document first.
YourPDF.tools takes a privacy-first approach. Our page numbering tool works entirely inside your web browser. Your PDF is read locally, page numbers are drawn onto each page using the pdf-lib JavaScript library, and the result is saved directly to your device. There is no upload step, no remote server, and no risk of your document being stored or accessed by anyone else. It is the simplest and most private way to number your pages online.
Key Takeaways
- Page numbers are added entirely in your browser — your PDF never leaves your device.
- Choose from multiple formats: plain numbers, "Page X," "X of N," or custom prefixes.
- Position numbers at the top or bottom of the page, aligned left, center, or right.
- Skip cover pages or start numbering from any number you choose.
Step-by-Step: Add Page Numbers to a PDF
- Open the Page Numbers tool and load your PDF. Go to the YourPDF.tools Add Page Numbers page. Drag your PDF into the drop zone or click to select a file from your computer. Your browser reads the file locally. It never leaves your device.
- Choose where to place the numbers. Select vertical placement (top of page or bottom of page) and horizontal alignment (left, center, or right). The most common choice for reports, essays, and submissions is bottom-center, but footer-right is also a popular professional convention.
- Select your number format and starting number. Pick a format that suits your document. Simple "1, 2, 3" works for most cases. "Page 1 of 12" is useful when the total page count matters, such as in contracts and exam papers. Set the starting number if you want numbering to begin from a value other than one — for instance, starting at page 5 if the first four pages are an un-numbered introduction.
- Adjust font size and margin offset. The default font size and position work well for standard documents, but you can fine-tune both. Increase the font size for documents that will be read at a distance or printed in large format. Adjust the margin offset to move numbers further from the page edge if they are overlapping with headers, footers, or existing content.
- Click Add Page Numbers and download. Your browser stamps the numbers onto each page and produces a new PDF. The original file remains unchanged. Download the numbered version and it is ready to print, share, or submit.
Why Add Page Numbers to a PDF?
Page numbers make documents navigable. When you hand someone a 40-page report and ask them to review section three, they need page numbers to find it. When a court filing references "Exhibit A, page 7," the number makes that reference meaningful. Page numbers turn a loose collection of pages into an organized document with addressable locations.
They are also critical for printing. If you print a document without page numbers and the pages get shuffled, you have no way to restore the original order. This is why academic institutions, law firms, and corporate offices universally require page numbers on printed documents. It is a basic organizational standard that saves real time and prevents real confusion.
A common workflow involves merging multiple PDFs into one document and then adding page numbers to create a unified, sequential numbering scheme. The merge tool combines the files, and the page numbers tool gives the combined document a consistent footer. This two-step process is especially useful for assembling meeting packets, training manuals, and course materials.
Tips for Adding Page Numbers
- Skip the cover page. Most professional documents do not number the title page. Set the starting page to 2 (which is the second page of the PDF) and the starting number to 1 so that visible numbering begins on the first content page. This is the standard convention for reports, proposals, and academic papers.
- Use "Page X of N" for contracts and legal documents. Including the total page count alongside the current page number helps recipients verify they have received the complete document. If a 15-page contract only shows 14 pages, the "of 15" indicator makes the missing page immediately obvious.
- Match the font size to your document. For standard A4 or Letter-size documents with 11-12pt body text, a page number size of 10-11pt looks proportional. Do not make page numbers so large that they compete with the body text for attention, and do not make them so small that they are difficult to read.
- Preview before committing. Check the first page preview to make sure the numbers are not overlapping with existing headers, footers, or body content. If they are, adjust the margin offset to push them further toward the edge of the page, or switch to a different position (e.g., from bottom-center to bottom-right).
Frequently Asked Questions
Is my PDF uploaded to a server when I add page numbers?
No. YourPDF.tools processes your document entirely within your web browser. Your file is never uploaded to any server. The page numbers are drawn onto each page locally using JavaScript, and the resulting PDF is saved directly to your device. This approach guarantees your document privacy.
Can I skip numbering on certain pages like the cover?
Yes. You can set a starting page so that numbering begins after your cover page or any introduction pages you want to leave un-numbered. For example, setting the start page to 3 will leave the first two pages of the PDF without numbers and begin numbering from page three onward.
What number formats are available?
Several formats are available: plain numbers ("1"), prefixed ("Page 1"), with total ("1 of 12"), and dashed ("- 1 -"). You can also add custom text before or after the number to match your document style requirements.
Will the page numbers overlap with existing content?
Page numbers are placed in the margin area. If your document has very small margins or existing footer content, there is a chance of overlap. You can adjust the margin offset to push the numbers further from the content area, or switch to a different position (such as top-right instead of bottom-center). Always preview the first page before applying to the full document.
Can I start numbering from a number other than 1?
Yes. The starting number field lets you begin from any value. This is useful when your PDF is a section of a larger document and the numbering needs to continue from a previous section. For example, if the previous section ended on page 24, you can start this document at 25.
Related Guides
- How to Add a Watermark to PDF Files — Stamp your pages with text or image watermarks alongside page numbers.
- How to Convert Images to PDF Online — Create a PDF from images, then add page numbers to the result.
- How to Crop PDF Pages Online — Adjust page margins to make room for page numbers.
Written by Andrew, founder of YourPDF.tools