Add Page Numbers

Insert page numbers into your PDF document easily and perfectly.

1,2,3

Select PDF File

Drag & Drop your document here

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

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. 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?

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.

Frequently Asked Questions

Yes. HB Tools PDF Page Numbering Tool is 100% free with no hidden charges, no subscription, and no account required. You can number unlimited PDF files at no cost, with no daily limits or restrictions.
No. The entire numbering process runs locally inside your web browser using the PDF-Lib engine. Your file never leaves your device and is never sent to any server, making it completely private and secure.
Yes. The "Start From Page" setting lets you specify exactly which physical page in the document should receive the first page number. Set it to 2 and the cover page is left unnumbered. Set it to 3 and the first two pages are skipped. You can enter any page number up to the last page of your document.
Three formats are available. You can display a plain number (1, 2, 3), the word Page followed by the number (Page 1, Page 2), or the number alongside the total page count (1 of 10, 2 of 10). The live preview in the tool updates instantly so you can see exactly what each format looks like before applying it.
Six positions are available: top-left, top-center, top-right, bottom-left, bottom-center, and bottom-right. The tool calculates the exact placement coordinates based on each page's real dimensions, so the number always sits neatly in the margin without covering your content.
Yes. The tool reads the actual width and height of each page individually before calculating the X and Y coordinates. If your PDF contains a mix of portrait and landscape pages, or pages of different sizes, the number is positioned correctly on each one independently.
No. HB Tools does not add any watermark, logo, or branding to your PDF. The output file is completely clean — the only addition is the page number on each selected page.
No. Encrypted PDFs cannot be modified by this tool. You will need to remove the password first using our Unlock PDF tool, and then add page numbers using this tool.
There is no strict file size limit. Processing speed depends on your device's memory and processor. Most documents up to 100MB are handled within a few seconds. Very large files may take slightly longer depending on the hardware you are using.