How to Add Page Numbers to PDF: Free Online Guide
TutorialsFebruary 12, 202613 min read

How to Add Page Numbers to PDF: Free Online Guide

Add page numbers to any PDF for free. Learn positioning, Roman numerals, custom formats, skipping pages, and professional numbering techniques.

AllPDFMagic Team

Why Page Numbers Matter in PDF Documents

Whether you are preparing a business proposal, a legal brief, an academic thesis, or a training manual, page numbers are a fundamental element of professional document formatting. They help readers navigate through your content, make it possible to reference specific sections during discussions, and ensure that printed pages can be reassembled in the correct order.

The challenge arises when you need to add page numbers to a PDF that was created without them. Unlike word processors where inserting page numbers is a built-in feature, PDFs are not designed for easy editing. Fortunately, there are reliable methods to add page numbers to any PDF, and this guide covers every approach from free online tools to desktop software.

When You Need to Add Page Numbers to PDF

Common Scenarios

  • Scanned documents: Scanned pages from books, receipts, or handwritten notes rarely have page numbers
  • Merged PDFs: When you merge multiple PDFs into one document, the original page numbering may be inconsistent or missing
  • Draft documents: Early versions of documents often skip page numbering
  • Legal filings: Courts frequently require specific page numbering formats (e.g., Bates numbering)
  • Printed presentations: Slide decks exported to PDF for printing benefit from page numbers
  • eBooks and manuals: Long documents need page numbers for table of contents references

Method 1: AllPDFMagic Online Page Numbering (Free and Fast)

The quickest way to add page numbers to any PDF without installing software.

Step-by-Step Instructions

  1. Open the tool: Navigate to AllPDFMagic Number Pages
  2. Upload your PDF: Drag and drop your file or click to browse and select it
  3. Choose number position: Select where page numbers should appear on each page
    • Top left, top center, or top right
    • Bottom left, bottom center, or bottom right
  4. Customize format: Pick your preferred numbering style
    • Arabic numerals (1, 2, 3)
    • Roman numerals (i, ii, iii)
    • Custom prefix (e.g., "Page 1 of 20")
  5. Set start page: Choose which page should be numbered first (useful for skipping title pages)
  6. Adjust font and size: Select the font family, size, and color for the page numbers
  7. Process and download: Click apply and download your numbered PDF

Customization Options Available

OptionChoicesDefault
Position6 positions (top/bottom, left/center/right)Bottom center
FormatArabic, Roman (upper/lower), alphabeticArabic (1, 2, 3)
Starting numberAny positive integer1
Starting pageAny page in the documentFirst page
FontStandard PDF fontsHelvetica
Font size6pt to 24pt10pt
ColorAny colorBlack
Prefix/suffixCustom textNone

Method 2: Adobe Acrobat Pro

Adobe Acrobat Pro provides the most granular control over page numbering, but requires a paid subscription.

Adding Page Numbers in Acrobat Pro

  1. Open your PDF in Adobe Acrobat Pro
  2. Go to Edit > Header & Footer > Add Header & Footer
  3. In the dialog, click "Insert Page Number" for your chosen position
  4. Customize font, size, margins, and appearance
  5. Use "Page Range Options" to control which pages receive numbers
  6. Preview and click OK to apply

Advanced Acrobat Features

  • Different first page: Skip the first page or use a different format
  • Section numbering: Restart numbering at specific pages
  • Bates numbering: Add sequential identifiers for legal documents (Edit > Bates Numbering)
  • Date stamps: Add the current date alongside page numbers

Method 3: Using Preview on Mac

Mac Preview offers limited but functional page numbering through a workaround.

Steps Using Mac Preview

  1. Open the PDF in Preview
  2. Go to File > Print
  3. Check "Show Details" at the bottom
  4. No direct page numbering option exists in Preview

Limitation: Mac Preview does not natively support adding page numbers. For Mac users, the best free option is AllPDFMagic Number Pages which works directly in your browser.

Method 4: Microsoft Word Method

A workaround using Word for documents that convert cleanly.

  1. Convert your PDF to Word using AllPDFMagic PDF to Word
  2. Open the resulting .docx file in Microsoft Word
  3. Go to Insert > Page Number
  4. Select position and style
  5. Customize as needed
  6. Export back to PDF using Word to PDF or File > Save As > PDF

When to Use the Word Method

This approach works best for text-heavy documents with simple layouts. It is not recommended for PDFs with complex graphics, precise positioning, or scanned images, as the round-trip conversion may alter the layout.

Method 5: LibreOffice (Free Desktop Software)

LibreOffice Draw can open and modify PDFs, including adding page numbers.

  1. Open LibreOffice Draw
  2. Go to File > Open and select your PDF
  3. Each page opens as a separate draw canvas
  4. Add text boxes manually with page numbers on each page
  5. Export as PDF when finished

Limitation: This is manual work for each page, making it impractical for long documents. Use automated tools for anything over five pages.

Customizing Page Number Formats

Standard Numbering Styles

StyleExampleBest For
Arabic numerals1, 2, 3, 4General documents, reports
Lowercase Romani, ii, iii, ivPreface, table of contents, front matter
Uppercase RomanI, II, III, IVSection dividers, formal documents
Alphabetic lowera, b, c, dAppendices, supplementary pages
Alphabetic upperA, B, C, DSection labels, exhibit pages

Custom Format Strings

Professional documents often use formatted page numbers such as:

  • "Page X of Y": Shows current page and total (e.g., "Page 3 of 47")
  • "Section A - Page X": Includes section identifier
  • "Draft - Page X": Adds document status
  • "Confidential - X/Y": Combines security marking with numbering

Handling Front Matter and Body Separately

Many professional documents use different numbering for front matter (table of contents, preface) and the main body:

  1. Front matter pages: Roman numerals (i, ii, iii, iv)
  2. Body pages: Arabic numerals starting at 1
  3. Appendix pages: Alphabetic or continuation of Arabic numerals

To achieve this with AllPDFMagic, process the document in sections:

  1. Split the PDF into front matter and body sections
  2. Add Roman numeral page numbers to the front matter
  3. Add Arabic numeral page numbers to the body starting at 1
  4. Merge the sections back into a single document

Skipping the First Page (Title Page)

Most documents should not have a page number on the title or cover page. Here is how to handle this:

With AllPDFMagic

Set the "starting page" option to page 2. This adds numbers beginning from the second page onward. You can also set the starting number to 1 so that page 2 of the PDF displays as "Page 1."

With Adobe Acrobat

In the Header & Footer dialog, use "Page Range Options" to set the page range from 2 to the last page. The first page will have no number.

With the Split-and-Merge Workaround

  1. Extract the first page separately
  2. Add page numbers to the remaining pages
  3. Merge the unnumbered first page with the numbered remainder

Positioning Page Numbers Professionally

Standard Placement Conventions

Document TypeRecommended Position
Business reportsBottom center or bottom right
Academic papersTop right (header) or bottom center
Legal documentsBottom center (often with Bates number)
BooksBottom outside corners (alternating left/right)
PresentationsBottom right
Technical manualsTop outside corners with section ID

Margin and Spacing Guidelines

  • Keep page numbers at least 0.5 inches (12mm) from the page edge
  • Ensure numbers do not overlap with existing content
  • Use a font size 2 to 4 points smaller than body text
  • Match the font family to the document body for consistency

Troubleshooting Common Issues

Page Numbers Overlap Existing Content

If your PDF already has headers, footers, or content near the margins, page numbers may overlap. Solutions:

  • Try a different position (switch from bottom to top, or move to a corner)
  • Reduce the font size of page numbers
  • Increase the margin offset if the tool allows it

Numbers Appear on the Wrong Pages

If page numbers are misaligned or appear on pages they should not:

  • Double-check the starting page setting
  • Verify that your PDF does not have blank pages that throw off the count
  • Delete unwanted blank pages before numbering

Rotated Pages Display Numbers Incorrectly

If some pages in your PDF are landscape-oriented, page numbers may appear rotated. Fix this by rotating pages to the correct orientation before adding numbers.

Frequently Asked Questions

Can I add page numbers to a scanned PDF?

Yes. Page numbers are added as an overlay on top of the existing page content, so it does not matter whether the underlying content is scanned images or native text. Any tool that supports page numbering will work with scanned PDFs.

Will adding page numbers increase the file size?

Only minimally. Page numbers are small text elements that add negligible data to the file. If the resulting file is too large for other reasons, you can always compress the PDF afterward.

Can I remove page numbers that were added incorrectly?

If you still have the original unnumbered PDF, simply start over with the correct settings. If you only have the numbered version, you would need to use a PDF editor to manually remove the text elements, or you could crop the margins using a PDF editing tool.

How do I add page numbers to a password-protected PDF?

You will need to unlock the PDF first by entering the password, add the page numbers, and then optionally re-protect the document with a new password.

Conclusion

Adding page numbers to a PDF is a simple task when you have the right tool. For quick, free results with full customization, AllPDFMagic Number Pages handles everything from basic numbering to custom formats, Roman numerals, and selective page ranges, all directly in your browser with no signup required.

For complex documents requiring different numbering schemes for different sections, combine the page numbering tool with our Split and Merge tools to create perfectly formatted professional documents.

Ready to number your PDF pages? Try our free page numbering tool now. No software installation, no watermarks, and your files are automatically deleted after processing.

Tags:add page numbers to pdfnumber pdf pagespdf page numberinginsert page numbers pdfpdf header footer

Try Our PDF Tools

Put what you've learned into practice with our free tools.

Explore Tools