Back to Blog
PDF Tools

How to Add Page Numbers to a PDF: 3 Free Methods

PDF-Builder Team·

How to add page numbers to a PDF: 3 free methods

You finished a 40-page report, exported it as a PDF, and realized there are no page numbers. Your professor wants "Page X of Y" in the footer. Your client wants numbering to start on page 3, after the cover and table of contents. Your team lead wants Roman numerals on the intro pages.

None of this requires Adobe Acrobat Pro. You can add page numbers to any PDF for free. The real question is which method fits your situation.

There are three ways to do it. Each has real tradeoffs in privacy, customization, and convenience.


Quick comparison

MethodCostPrivacySetupCustomizationBest for
Online toolsFree (with limits)Low — files uploaded to serversNoneBasic (position, font size)Quick one-off numbering of non-sensitive docs
Desktop softwareFreeHigh — local processingInstall requiredFull (start number, skip pages, format)Regular use, sensitive documents
Browser-based local toolsFreeHigh — files stay on your deviceNoneModerate to fullPrivacy + convenience, no install

Method 1: Online tools

The fastest option. Upload your PDF, pick a position for the numbers, download the result.

iLovePDF, PDF24, and Smallpdf all offer this. The process is nearly identical across them.

Using iLovePDF as an example:

  1. Go to ilovepdf.com and select "Add page numbers"
  2. Upload your PDF or drag it onto the page
  3. Choose the number position (top or bottom, left/center/right)
  4. Optionally set the first page number and select a font
  5. Click "Add page numbers"
  6. Download the result

Takes under a minute for most files.

The limits. Smallpdf gives you 2 free tasks per day. iLovePDF allows 1 task per hour on free accounts. If you're numbering multiple documents, you'll hit caps fast.

The privacy tradeoff. Your file gets uploaded to their servers for processing. Most services say they delete files within 1-2 hours. For a class handout or a public presentation, that's fine. For a legal brief, medical record, or financial statement, think twice. Our guide on PDF tool privacy explains what happens to uploaded files in more detail.

Customization is limited. Most online tools let you pick the position and maybe the font size. Few let you start numbering from a specific page, skip the cover page, or use Roman numerals. If you need that level of control, you'll need a different method.


Method 2: Desktop software

Desktop applications process files on your computer. Nothing gets uploaded. They also give you the most control over how page numbers look and where they appear.

PDFsam Basic is open-source and runs on Windows, Mac, and Linux. While known for merging and splitting, the Enhanced version includes header/footer tools that handle page numbering.

LibreOffice Draw is free and can open PDFs for editing. It's not a dedicated PDF tool, but it works:

  1. Open LibreOffice Draw
  2. Open your PDF (File > Open)
  3. Go to Insert > Header and Footer
  4. Configure the page number, position, and format
  5. Export as PDF (File > Export as PDF)

This approach works well for shorter documents. For PDFs with complex layouts, Draw may shift some elements during import.

PDF24 Creator (Windows) includes a page number tool alongside 50+ other PDF features. All free, all local processing:

  1. Open PDF24 Creator
  2. Select "Add page numbers" from the toolbox
  3. Load your PDF
  4. Configure position, font, size, margins, and starting number
  5. Save the result

PDF24 Creator gives you control over margins, font choice, and number formatting. You can start numbering from any page and set any starting number.

All three process files locally. Your documents never leave your machine. For anyone handling sensitive files regularly, desktop software is the right category. For a broader comparison, see our best free PDF tools guide.


Method 3: Browser-based local tools

These tools look like online tools. You open a website, drag in your file, configure the page numbers, and download the result. But the processing happens in your browser using JavaScript and WebAssembly. Your file never leaves your device.

PDF-Builder works this way. You can add page numbers directly in your browser with no upload, no account, and no file size limits. The processing happens on your machine.

This is the middle ground between online tools (convenient but upload your files) and desktop software (private but requires installation). You get both convenience and privacy.

If you're numbering a confidential document but don't want to install software, this is the method to use.


Which method should you use

Adding page numbers to a school paper or public document — use an online tool or a browser-based local tool. Fastest path to a numbered PDF.

Numbering legal documents, tax filings, or medical records — use desktop software or a browser-based local tool. Your files stay on your device.

Need to start numbering on page 3 or use Roman numerals — use desktop software. Online tools rarely support this. Some browser-based tools are adding these features, but desktop apps currently have the most options.

Adding page numbers to multiple PDFs at once — use desktop software with batch support, like PDF24 Creator. Online tools process one file at a time and have daily limits.

Want it done in 30 seconds with no install — use an online tool for non-sensitive files, or a browser-based local tool if the document is confidential.


Tips for better page numbering

Skip the cover page. Most readers expect numbering to start on the second or third page, after the title page and table of contents. In desktop tools, set the "first numbered page" and "starting number" separately. If your tool doesn't support this, you can split the PDF first, number the relevant pages, then merge everything back together.

Use Roman numerals for front matter. Academic and legal documents often use i, ii, iii for the preface and table of contents, then switch to 1, 2, 3 for the body. Desktop tools like PDF24 Creator and LibreOffice support this. To do it with simpler tools, split the PDF into two parts, number each with the appropriate format, and merge them.

Pick a readable position. Bottom-center is the standard for most documents. Bottom-right works for documents that will be bound on the left side. Top-right is common for legal briefs. Whatever you choose, make sure the numbers won't overlap with existing content or get cut off during printing.

Check the result before sending. Open the numbered PDF and scroll through it. Verify that numbers appear where you expect, that they don't overlap headers or footers already in the document, and that the sequence is correct. This takes 10 seconds and catches problems before your reader does.

Consider accessibility. Page numbers should be actual text, not images of numbers. Most tools handle this correctly, but if you're using a screenshot-based workaround, the numbers won't be readable by screen readers. Our PDF accessibility checklist covers this and other common issues.


Summary

Online tools are fastest for quick, non-sensitive files. Desktop software gives you the most control and keeps everything local. Browser-based local tools give you convenience and privacy without installing anything.

Pick the method that matches your document. A homework assignment and a legal contract have different requirements, and the right tool depends on what you're numbering and who will see the file.