PDF Agile Free

How to Edit PDF Page Numbers (Custom Formats)

Edit PDF page numbers — here's how to do it, step by step. Customize number formats, positions, and styles in your PDF documents.

Document Title12← Header →#

What This PDF Editing Guide Covers

This guide was written and tested by Tom Bradley, a Freelance Graphic & Print Designer with 12 years of hands-on experience in print design, color management, font embedding, pre-press. Tom has spent 12 years designing print-ready PDFs for clients ranging from small businesses to Fortune 500 companies.

Page numbers in a PDF are not metadata — they are visual elements printed on the page as part of the content. The number '7' visible at the bottom of a page is a text object positioned at specific coordinates, not a dynamic field. This is why extracting pages from a document does not reset page numbers, and why adding a cover page shifts all subsequent numbers without automatically updating them.

This guide covers four methods for adding, changing, and customizing page numbers in PDFs. We tested each on documents with existing page numbers, documents without any numbering, and documents with complex numbering schemes (roman numerals for front matter, arabic for body).

Time to read: 5-7 minutes | Difficulty: Beginner to Intermediate | Last updated: 2026-07-16

Why Editing a PDF Correctly Is Harder Than It Looks

PDF page numbering has two layers: the physical page index (1, 2, 3...) used internally by the PDF reader, and the page label (i, ii, iii, 1, 2, 3...) displayed to the user. The page label is defined in the PDF's page tree metadata and can include prefixes, suffixes, and different numbering styles. However, the visible page number printed on the page is a separate text object that is independent of the page label metadata.

This dual-layer system creates confusion: changing the page label metadata (which desktop editors can do) updates the number shown in the reader's page navigator, but does not change the number printed on the page itself. To change the printed number, you must edit or replace the text object that renders the number on each page.

Editing the PDF Step by Step with a Desktop Editor

"Page numbering gives documents a professional finish. You might also find useful: Reorder, rotate and delete PDF pages → and Add headers and footers to PDF →

1 Open the PDF and Access the Page Number Tool

Launch your desktop PDF editor and open the document. Navigate to the Tools or Edit menu and select 'Add Page Numbers' or 'Page Numbering'. A dialog will appear with options for position, format, font, and range. If the document already has page numbers, you can choose to replace them.

2 Choose Position and Format

Select the position: top or bottom of page, aligned left, center, or right. Set margins to control distance from the page edge. Choose a format: plain number ('1'), 'Page 1', 'Page 1 of N', or custom with prefix/suffix. Select font and size — most documents use the same font as the body text at 9-10pt.

3 Configure Numbering Range and Start Value

If you want numbering on all pages, leave the range as default. To exclude certain pages (e.g., cover), specify the page range to number (e.g., '2-50'). Set the start value if numbering should not begin at 1. For mixed-format documents, set up sections with different formats and start values.

4 Apply and Preview the Page Numbers

Click Apply or Add. The editor places text objects on each page at the specified position. Scroll through the document to verify numbers appear correctly on every intended page, are properly positioned, and use the correct format. Check that excluded pages do not have numbers.

5 Save and Verify in Another Reader

Save the file with a new name. Open it in a different PDF reader and check: page numbers are visible and correctly formatted, the reader's page navigator shows the correct labels, and no numbers overlap with existing content (headers, footers, watermarks). Adjust positioning if there are overlaps.

📋 Quick Recap of the Editing Steps

Print this box or keep it open while you work through the tutorial.

  1. 1Launch your desktop PDF editor and open the document. Navigate to the Tools or Edit menu and select 'Add Page Numbers' or 'Page Nu…
  2. 2Select the position: top or bottom of page, aligned left, center, or right. Set margins to control distance from the page edge. Ch…
  3. 3If you want numbering on all pages, leave the range as default. To exclude certain pages (e.g., cover), specify the page range to …
  4. 4Click Apply or Add. The editor places text objects on each page at the specified position. Scroll through the document to verify n…
  5. 5Save the file with a new name. Open it in a different PDF reader and check: page numbers are visible and correctly formatted, the …

Free Ways to Edit a PDF (and Where They Fall Short)

No desktop editor installed? Here are free alternatives — we list their limitations honestly.

Method 1: LibreOffice Draw (Free)

Insert page numbers via Insert → Page Number. Places numbers in header/footer area. Limitation: limited formatting options; may not handle mixed numbering schemes (roman + arabic).

Method 2: Microsoft Word (2013+)

Convert to DOCX, use Word's Page Number feature (Insert → Page Number), which supports sections with different numbering. Re-export to PDF. Limitation: conversion may alter the original layout; page number positioning may shift.

Method 3: PDFsam Basic (Free)

Does not support adding page numbers. Use PDFsam Visual (paid) for page number functionality. Limitation: free version has no page numbering capability.

Free Tools vs. a Desktop Editor for This Edit

We tested each method on real documents to give you an honest comparison.

MethodEdit TextLayoutOfflineFree
Microsoft EdgeNew only★★★
macOS PreviewNew only★★★
LibreOffice DrawFull★★
Microsoft WordFull★★Paid
Desktop EditorFull★★★★Trial

Verdict: For occasional edits, Edge or Preview work well. For professional work, a desktop editor consistently delivers the best results.

Why Desktop Editors Handle Page Numbering Better

Desktop PDF editors provide a 'Add Page Numbers' function that automatically places numbered text objects on every page at a specified position (bottom center, bottom right, etc.) with customizable format ('Page 1 of 10', '1', 'A-1'). They also handle page label metadata, so the reader's page navigator shows the correct label. For documents with front matter, desktop editors can apply roman numeral numbering to pages 1-5 and arabic numbering from page 6 onward.

Browser-based tools typically cannot add page numbers at all, or add them as low-resolution images rather than crisp text. They also do not handle page label metadata, so the reader's navigator and the printed number may disagree. See the full comparison →

Editing PDFs: Common Questions, Answered

How do I start page numbering from a number other than 1?

In a desktop editor, open the page numbering dialog and set the 'Start at' value to your desired number (e.g., 5). This is useful when your PDF is part of a larger document — chapters 1-4 are in another file, and this file starts at page 5. The editor applies the starting number to the first page and increments sequentially. Page label metadata is also updated.

Can I use different page number formats for different sections?

Yes. Desktop editors support page number sections: you define section breaks, then apply different formats to each section. For example, front matter (table of contents, preface) uses roman numerals (i, ii, iii), and the main content uses arabic numerals (1, 2, 3). Each section can also start at a custom number. This requires setting up section breaks in the page numbering dialog.

Why do my page numbers appear on the cover page?

Most page numbering tools apply numbers to all pages by default. To suppress numbering on specific pages (like a cover), use the 'Exclude pages' or 'Page range' option in the numbering dialog. Specify which pages should not receive numbers (e.g., '1' to exclude the cover, or '1-3' to exclude front matter). Alternatively, apply numbering only to a selected page range rather than the entire document.

Are there any limitations to this method?

Every method has trade-offs. Free built-in tools (Edge, Preview) cannot edit existing PDF text — they only add annotations or new text boxes. LibreOffice may shift complex layouts (tables, columns, images) when importing PDFs. Online tools introduce privacy risks by processing files on external servers. Desktop editors offer the most complete feature set but require a one-time purchase. For each specific task above, we have noted the most significant limitation — choose the method whose limitations you can accept for your document type. Tested on: Windows 11 24H2, macOS 15 Sequoia, PDF Agile v4.x, LibreOffice 24.x.