>>
BunchTool — Add Page Numbers to PDF
⚙️ Options
🔗 Share
↺ Reset
📂 Input PDF File
No file
📄
Drop your PDF document here
or click to browse from device
Supports PDFs up to 200 MB
✅ Numbered PDF
🔢 Numbered PDF will appear here
Related Tools

More free PDF tools


📄 PDF Tools

Add Page Numbers to PDF —
Number PDF Pages Online Free

Format multi-page PDF documents, academic papers, reports, and legal filings with our free Add Page Numbers to PDF Tool. Easily stamp custom page counts (such as Page 1 of 10 or plain numbers) into headers or footers across all pages. Select from 6 alignment positions, adjust font size, and set custom starting numbers—all rendered locally inside browser RAM with 100% privacy.

Stamps page counts: Plain numbers, "Page X", "X of Y", or "Page X of Y"
Six positioning options: Top or Bottom (Center, Right, Left)
Custom starting page number and font size controls (6pt to 24pt)
100% private client-side execution — PDF files are never uploaded to remote servers
🔢
6 PositionsHeader & Footer
100% LocalRAM Process
Vector HDOriginal Quality
How It Works

Add page numbers in three easy steps

Step 1
📂
Upload Source PDF

Load your PDF file into the client-side page numbering workspace.

Step 2
⚙️
Configure Alignment & Format

Configure page number positions, start index, font family, size, and header/footer margins.

Step 3
⬇️
Stamp & Download PDF

Click Add Page Numbers to apply dynamic page counters and download your stamped PDF.

Why BunchTool

Why use our free Add Page Numbers tool?

🔢
Flexible Page Numbering Formats

Choose between plain numbers, "Page X", "X of Y", or formal "Page X of Y" labels to match any document specification.

📐
Precise Header & Footer Alignment

Position numbers across 6 standard page coordinates (Top/Bottom, Left/Center/Right) with font size adjustments from 6pt to 24pt.

🔒
Private Local PDF Processing

All PDF modifications run directly in client RAM using pdf-lib. Your confidential documents are never uploaded to any remote server.

FAQ

Frequently asked questions

How do I add page numbers to a PDF document?
Upload your PDF file, choose your preferred position (such as Bottom-Center or Bottom-Right), pick a format (e.g. Page X of Y), set font size, and click Add Page Numbers to process and download your numbered file.
Can I customize the page number position and font size?
Yes. All PDF document rendering and processing for the Add Page Numbers To Pdf occurs locally within your browser using HTML5 Canvas and client-side JavaScript. Zero PDF files are uploaded to remote servers.
Can I start page numbering from a specific number other than 1?
Yes. All PDF document rendering and processing for the Add Page Numbers To Pdf occurs locally within your browser using HTML5 Canvas and client-side JavaScript. Zero PDF files are uploaded to remote servers.
Are my private PDF documents uploaded to a remote server?
No. All PDF page stream modifications and text stamping execute 100% locally inside your browser memory (RAM) using client-side WebAssembly and JavaScript.
Does numbering a PDF corrupt or alter original page content?
No. The tool stamps new text layer objects onto each page while leaving all existing vector text, fonts, images, and layout streams intact.
Detailed Guide

Understanding PDF Page Stream Objects & Client-Side Text Stamping

PDF (Portable Document Format) files represent content through a hierarchy of object dictionaries, including page tree nodes (/Pages) and page content streams (/Contents). Stamping page numbers involves embedding a standard Helvetica font dictionary into the PDF document's global resources and appending new operator instructions to each page's content stream.

To ensure precise position alignment regardless of page dimensions (e.g. Letter, A4, or custom landscape sizes), the client-side engine queries each page's MediaBox dimensions (width and height). Using font width metrics (font.widthOfTextAtSize(text, fontSize)), the algorithm calculates exact X/Y coordinate offsets in 72 DPI PDF point coordinates, accurately centering or right-aligning page numbers in headers and footers.

Executing this modification with pdf-lib inside client browser RAM avoids re-encoding raster graphics or flattening vector text. As a result, original document sharpness, hyperlinks, and searchability remain untouched while generating a clean, professionally formatted PDF.

Other Collections

Explore other useful categories

Explore 247 more free tools —
no login, no limits.

BunchTool covers PDF editing, text conversion, SEO analysis, calculators, design tools, unit converters and much more. All 100% free, all browser-based.

Browse All 247 tools →