Add Page Numbers to PDF Documents Online — Free, Private, and No Software Required
You have a 60-page report, a legal contract, a university thesis, or an eBook — but there are no page numbers anywhere on it. Anyone reading or printing that document is one accidental drop away from a shuffled mess with no way to restore the order. The HB Tools PDF Page Numbering Tool by Haridash solves this in about ten seconds. Upload your PDF, pick where you want the numbers, and download a clean, permanently numbered file — all without uploading anything to a server.
How to Add Page Numbers to a PDF — Step by Step
- Upload your PDF: Click "Upload Document" or drag your file directly into the upload area. Nothing leaves your device — the file is read entirely inside your browser.
- Choose a number format: Pick from three options — a plain number (1, 2, 3), the word Page before the number (Page 1, Page 2), or the number with a total count (1 of 50, 2 of 50). The live preview updates instantly so you see exactly what the output will look like.
- Select the position: Use the visual 3×2 grid to place the number anywhere on the page — top-left, top-center, top-right, bottom-left, bottom-center, or bottom-right. The preview document icon shifts the number badge in real time so there is no guesswork.
- Set a start page (optional): If your document has a cover page, a table of contents, or a foreword that should not be numbered, enter 2 or 3 in the "Start From Page" box. Numbering begins exactly where your real content starts.
- Click Apply Numbers: The PDF-Lib engine stamps the number directly into the page data of every selected page using precise mathematical coordinates. Processing takes a second or two for most documents.
- Download your PDF: Hit "Download PDF" and your numbered document saves to your device, ready to send, print, or file.
What Makes the Position Calculator Accurate?
Most basic PDF tools stamp numbers using a fixed pixel offset from a corner, which causes misalignment on non-standard page sizes — numbers can fall too close to the edge or overlap printed content. This tool reads the actual width and height of each individual page before placing the number. It then calculates the exact X and Y coordinates using the PDF coordinate system, which has its origin at the bottom-left corner of the page. The result is a number that sits cleanly in the margin on every single page — even in documents with mixed portrait and landscape orientations, or pages of different sizes.
When Do You Need to Add Page Numbers to a PDF?
- Academic assignments and thesis documents: Most universities require page numbers on submitted papers. If you compiled your thesis from multiple sources or exported it from a tool that strips headers, this tool adds them back instantly before the deadline.
- Legal contracts and court filings: Numbered pages are not optional in legal documents. Every page of a contract needs a number so both parties can reference specific clauses without confusion during negotiations or disputes.
- Business reports and proposals: A 40-page quarterly report without page numbers looks unfinished. Adding numbers makes it easy for stakeholders to jump to a specific section during a meeting.
- eBooks and self-published documents: Readers expect numbered pages. Whether you are self-publishing a guide, a manual, or a short book, page numbers signal that the document is professionally prepared.
- Merged PDF files: When you combine several PDFs into one, the combined file starts from page 1 regardless of the original numbering. This tool re-numbers the merged document correctly in one go.
- Scanned documents and digitized records: Old scanned documents typically have no page numbers embedded in the file. Stamping numbers makes them searchable, referenceable, and safe to print.
Your Files Never Leave Your Device
When you upload a PDF to most online tools, the file travels over the internet to a cloud server, gets processed remotely, and is sent back to you. During that round trip, your document passes through infrastructure you have no control over. For sensitive files — contracts, medical records, financial reports, student submissions — that is a real risk.
HB Tools works entirely differently. Every step of the numbering process happens locally inside your own browser tab using the PDF-Lib JavaScript library. There is no upload. There is no server. There is no cloud. Your file stays on your device from start to finish, and the numbered PDF is saved directly to your downloads folder.
Other Free PDF Tools by HB Tools