Skip to main content
MintSaaS
PDF Tools•6 min read

How to Add Page Numbers to PDF Documents in 2027

To add page numbers to a PDF, use MintSaaS PDF tools, Adobe Acrobat (Edit PDF → Header & Footer), or free tools like Smallpdf, ILovePDF. You can customize position (top/bottom, left/center/right), format (1, 2, 3 or Page 1 of 10), font, and starti...

M
MintSaaS Engineering Group
November 4, 2026
Share:
How to Add Page Numbers to PDF Documents in 2027

How to Add Page Numbers to PDF Documents in 2027

Quick answer: To add page numbers to a PDF, use MintSaaS PDF tools, Adobe Acrobat (Edit PDF → Header & Footer), or free tools like Smallpdf, ILovePDF. You can customize position (top/bottom, left/center/right), format (1, 2, 3 or Page 1 of 10), font, and starting number. For batch processing, use Python (PyPDF2/pypdf) or command-line tools. Page numbers are essential for professional documents, legal filings, and multi-page reports.[1][3][4]

Adding page numbers to PDFs is a common requirement for professional documents. In 2027, with automated document processing, this is often handled automatically — but manual addition is still needed for custom formatting and legacy documents.

Why add page numbers?

Professional requirements

  • Legal documents: Court filings require page numbers
  • Academic papers: APA/MLA formatting requires page numbers
  • Business reports: Professional appearance
  • Technical documentation: Navigation and reference
  • Contracts: Page-by-page verification

Functional benefits

  • Easy navigation in long documents
  • Reference specific pages in discussions
  • Verify document completeness
  • Professional appearance
  • Accessibility (screen readers can announce page numbers)[3]

Methods to add page numbers

1. MintSaaS PDF tools

  • Upload PDF
  • Select "Add Page Numbers"
  • Choose position (top/bottom, left/center/right)
  • Choose format (1, 2, 3 or Page X of Y)
  • Customize font, size, color
  • Download

2. Adobe Acrobat

  1. Open PDF in Acrobat
  2. Tools → Edit PDF → Header & Footer
  3. Click "Add" → "Page Number"
  4. Customize:
  • Position (top/bottom, left/center/right)
  • Format (number, Page X, Page X of Y)
  • Font, size, color
  • Starting page number
  • Page range (all or specific pages)
  1. Apply → Save

3. Free online tools

  • Smallpdf: Add page numbers (free tier)
  • ILovePDF: Page numbering with customization
  • Sejda: Free, good customization
  • PDF2Go: Add page numbers + other tools

4. Python (pypdf + reportlab)

python
from pypdf import PdfReader, PdfWriter
from reportlab.pdfgen import canvas
from reportlab.lib.pagesizes import letter
import io

def add_page_numbers(input_path, output_path):
    reader = PdfReader(input_path)
    writer = PdfWriter()
    
    for i, page in enumerate(reader.pages):
        # Create overlay with page number
        packet = io.BytesIO()
        c = canvas.Canvas(packet, pagesize=letter)
        c.setFont("Helvetica", 10)
        c.drawString(300, 30, f"Page {i + 1} of {len(reader.pages)}")
        c.save()
        packet.seek(0)
        
        overlay = PdfReader(packet)
        page.merge_page(overlay.pages[0])
        writer.add_page(page)
    
    with open(output_path, "wb") as f:
        writer.write(f)

add_page_numbers("input.pdf", "output.pdf")

5. Command line (pdftk + LaTeX)

bash
# Create page number overlay PDF
# Then stamp it onto original
pdftk input.pdf stamp numbers.pdf output output.pdf

6. Mac Preview

  1. Open PDF in Preview
  2. Tools → Annotate → Text
  3. Type page number on each page
  4. Save

Note: This adds text annotations, not true page numbers. Not recommended for professional use.

Customization options

Position

  • Top left: Formal documents
  • Top center: Academic papers
  • Top right: Technical docs
  • Bottom center: Most common (books, reports)
  • Bottom right: Legal documents

Format options

  • Simple number: 1, 2, 3
  • Page X: Page 1, Page 2
  • Page X of Y: Page 1 of 10
  • Roman numerals: i, ii, iii (for front matter)
  • Custom prefix: "Chapter 1 - Page 1"

Starting number

  • Start at 1 (default)
  • Start at 0
  • Start at custom number (for continued documents)
  • Different numbering for sections (i, ii, iii → 1, 2, 3)

Font and styling

  • Font family (Helvetica, Times, Arial)
  • Font size (8-12pt typical)
  • Color (black, gray, or custom)
  • Bold/italic
  • Background (none or subtle)[3][4]

Advanced scenarios

Skip first page (title page)

Many documents don't number the title page:

  1. Set starting page to 2
  2. Or exclude page 1 from numbering
  3. Most tools support "start numbering on page X"

Different numbering for sections

  • Front matter: Roman numerals (i, ii, iii)
  • Main content: Arabic numerals (1, 2, 3)
  • Appendices: A-1, A-2, B-1, B-2

Bates numbering (legal)

  • Format: PREFIX-000001, PREFIX-000002
  • Sequential across multiple documents
  • Used in legal discovery
  • Adobe Acrobat Pro supports Bates numbering

Page numbers in headers/footers

  • Combine page numbers with document title
  • Add date, author, or confidentiality notice
  • Different headers for odd/even pages (book layout)[3][4]

Page numbers and accessibility

Tagged PDFs

For accessible PDFs (PDF/UA):

  • Page numbers should be in the document structure
  • Use actual text (not images of numbers)
  • Tag as "page number" role
  • Screen readers should announce page numbers

Reading order

  • Page numbers shouldn't interfere with reading order
  • Place in header/footer (outside main content flow)
  • Don't place in the middle of text[3]

Frequently Asked Questions (FAQ)

How do I add page numbers to a PDF?

Use MintSaaS PDF tools, Adobe Acrobat (Edit PDF → Header & Footer → Page Number), or free online tools (Smallpdf, ILovePDF). Choose position, format, and styling, then save.[3]

Can I add page numbers to specific pages only?

Yes. Most tools allow selecting a page range. In Adobe Acrobat: Header & Footer → Page Range Options → specify pages. In Python: add numbers only to selected page indices.[3]

How do I start page numbering from a specific page?

Set the "starting page number" option. E.g., if page 1 is a title page, start numbering at page 2 with number 1. Most tools support this.[3]

Can I use Roman numerals for page numbers?

Yes. Some tools (Adobe Acrobat, Sejda) support Roman numerals (i, ii, iii). For custom formats, use Python with reportlab to generate any numbering style.[3]

Does adding page numbers change the PDF content?

No. Page numbers are added as an overlay (header/footer). The original content is preserved. The PDF structure remains the same.[3]

How do I add "Page X of Y" format?

Select the "Page X of Y" or "Page # of ##" format option. This shows both current page and total pages (e.g., "Page 3 of 10").[3]

Can I add page numbers to a scanned PDF?

Yes, but the PDF must be editable (not image-only). If it's a scanned PDF, first run OCR to make it searchable, then add page numbers. Some tools can add numbers to image-only PDFs as an overlay.[3]

Is there a free way to add page numbers to PDFs?

Yes. MintSaaS PDF tools, Smallpdf, ILovePDF, Sejda, and PDF2Go offer free page numbering. For command-line, use pdftk (free) or Python (pypdf + reportlab, free).[3]

Related reading on MintSaaS

Sources

[1] Adobe — Add page numbers: https://www.adobe.com/acrobat/how-to/add-page-numbers-pdf.html

[2] pypdf — Documentation: https://pypdf.readthedocs.io/

[3] MintSaaS Image Compressor: https://www.mintsaas.net/products/image-compressor

[4] Web.dev — Core Web Vitals: https://web.dev/vitals/

[5] MintSaaS PDF Compressor: https://www.mintsaas.net/products/pdf-compressor

Free tools on MintSaaS

Try our free tools to put this guide into practice:

Editorial Transparency & AI Disclosure

MintSaaS Dispatch articles are researched and synthesized with the assistance of artificial intelligence analysis, then edited, verified, and benchmarked by our engineering editorial team. Customer personal data and platform source files are strictly segregated and are never used to train or fine-tune public artificial intelligence models.

Related Tags
#add page numbers pdf#PDF Tools#page#numbers#documents#document management#PDF security#file compression#digital documents#PDF editing#document workflow#PDF conversion#secure sharing