How to Add Page Numbers to a PDF Online (Page X of Y, Roman Numerals, Skip the Cover)

November 7, 2026 · 12 min read

Add page numbers in PDFbat
Add page numbers in PDFbat
Do it now, freeNo installation. Works on any device.
Add page numbers →

If you need to add page numbers to a PDF, you do not have to open Word again, export a new copy or buy a desktop editor. PDFbat stamps numbers straight onto the pages of your existing file, in your browser, with full control over the wording, position, font, colour and starting number. This guide walks through every option, explains the settings that trip people up (like the "of Y" total when you skip a cover), and covers the situations that come up most often: reports, theses, legal bundles, scanned documents and quick jobs on a phone.

Why number the pages of a PDF at all

Page numbers sound like a small detail until someone says "see the table on the page after the chart" in a meeting. Numbered pages make a long document easier to discuss, review and print. They also matter in specific settings:

How to add page numbers to a PDF step by step

You need a free PDFbat account to run tools. It only takes a username and password, and your first file is kept while you sign up so you come straight back to it.

  1. Open Add Page Numbers.
  2. Drop your PDF onto the upload area, click to browse, or use Choose from Drive if the file is already in your PDFbat Drive.
  3. Check the Format box. The default is Page {n} of {total}. Change it to whatever wording you want (more on this below).
  4. Pick a Numbering style: 1, 2, 3, i, ii, iii or I, II, III.
  5. Choose a Position: top left, top center, top right, bottom left, bottom center or bottom right.
  6. Set Start at number if the first numbered page should show something other than 1.
  7. Use Pages to number and Skip first page (cover) to control which pages get a number.
  8. Adjust Font size, Font, Color and Margin (pt) if you want a different look.
  9. Click Add Page Numbers.

The numbered PDF downloads automatically, and a copy is saved to your Drive so you can find it again later. The result screen also lets you carry the file straight into another tool, such as compressing it or adding a password, without uploading it again.

The "Your file is ready" screen after adding page numbers, with a Download button and a note that the file was saved to Drive
The "Your file is ready" screen after adding page numbers, with a Download button and a note that the file was saved to Drive

Every option explained

Format: the words around the number

The format box is plain text with two placeholders:

Some formats that work well:

You typePage 3 of a 12 page file shows
------
{n}3
Page {n}Page 3
Page {n} of {total}Page 3 of 12
{n} / {total}3 / 12
Appendix A, page {n}Appendix A, page 3
Seite {n} von {total}Seite 3 von 12

You can write the surrounding words in any language. Keep the text short, because it is drawn on a single line.

Numbering style: Arabic or Roman numerals

1, 2, 3 is the standard choice. i, ii, iii (lowercase Roman) is the traditional style for prefaces, acknowledgements and tables of contents. I, II, III (uppercase Roman) suits formal documents and some legal styles. The style applies to both {n} and {total}, so Page {n} of {total} in lowercase Roman reads "Page iii of x".

Position: where on the page

There are six positions across the top and bottom of the page. Bottom center is the most common for books and reports. Bottom right is popular for business documents and makes numbers easy to spot when flicking through a printed stack. Top right works well if the bottom of your pages already holds a footer, a disclaimer or a signature line.

If a page in your file is rotated (for example, a landscape table inside a portrait report), the number is still drawn upright from the reader's point of view, in the same corner as on the other pages.

Start at number

This sets the first number that appears. Use it when:

Pages to number

By default every page is numbered (all). You can type a range instead:

Page positions here always refer to the physical pages of the file, counting the first page as 1, no matter what number you want printed on them.

Skip first page (cover)

Tick this to leave the first page untouched. It is the quickest way to handle a title page or cover letter. It works together with the range box, so all plus "Skip first page" numbers pages 2 to the end.

Font, size, colour and margin

You can choose Helvetica (clean and modern), Times (classic serif, good for academic and legal work) or Courier (typewriter style). The default size is 10 points, which matches most body text footers. Colour defaults to a dark grey (#333333) that reads clearly without shouting; pick a lighter grey for a subtle look or black for scanned pages that will be photocopied.

Margin is the distance in points from the edge of the page to the number. The default is 24 points, about a third of an inch. Raise it if your printer trims the edges or if the number sits too close to the edge for binding.

Getting the "of Y" total right

This is the part that confuses most people, so here is exactly how it works. The total is the number of pages you number, plus any offset from your start number. In other words, the last numbered page always shows the total.

SituationSettingsResult on a 10 page file
---------
Number everythingall, start 1Page 1 of 10 to Page 10 of 10
Skip the cover, count from 1skip first, start 1Page 1 of 9 to Page 9 of 9
Skip the cover, but count itskip first, start 2Page 2 of 10 to Page 10 of 10
Continue a sequenceall, start 47Page 47 of 56 to Page 56 of 56

The last row shows the catch with continuing a sequence: the total becomes the final page number of this file, not of the whole book. If you need "of 300" across several separate files, use Page {n} without the total, or merge the files first and number them all in one pass.

Common situations and how to handle them

Skip the cover and table of contents

Leave "Skip first page" unticked and enter 3-last in Pages to number. Set Start at number to 1 if the introduction should be page 1, or to 3 if you want the numbering to reflect the physical position.

Roman numerals for front matter, Arabic for the body

Run the tool twice:

  1. First pass: Pages to number 2-6 (your front matter), style i, ii, iii, format {n}, start at 1.
  2. Download the result, or use the result screen's Add Page Numbers shortcut to carry it into a second pass. Then set Pages to number to 7-last, style 1, 2, 3, start at 1.

Keep the same position, font and size in both passes so the two sequences look consistent. Use {n} rather than {total} here, since a total from one pass would not match the other.

Numbering a merged file

When you combine chapters, appendices and attachments with Merge PDF, each source file brings its own numbering, which will clash. Merge first, then add page numbers to the combined file so the sequence runs from start to finish. If the source files already had numbers in the same spot, choose a different position for the new ones so they do not overlap. Our guide to merging PDF files without software covers ordering and bookmarks.

Scanned documents

Scans are just images of pages, but numbers stamp onto them like any other PDF. Two tips: choose black and a slightly larger size (11 or 12 points) so the number survives printing and copying, and check the margin, because many scans have dark edges or punch holes near the border. A margin of 30 to 40 points usually clears them.

Double sided printing

If you print on both sides and bind on the left, a corner number ends up on the inner edge, near the binding, on every other sheet. The simple fix is the bottom center position, which looks right on both fronts and backs. Each run of the tool counts the pages it numbers one after another, so splitting odd and even pages into separate passes would give the wrong sequence. Stick with a centred number for anything you plan to print double sided.

Very large files

The free plan accepts files up to 25 MB. Most text documents are far smaller than that, even at hundreds of pages. If a scanned file is over the limit, run it through Compress PDF first, then add numbers to the smaller copy.

Adding page numbers on a phone, Mac or Windows

PDFbat runs entirely in the browser, so the steps are the same everywhere.

On a small screen, the options panel is longer than the screen, so scroll down to find Add Page Numbers after you set everything.

Browser tool versus desktop software

PDFbat in the browserDesktop PDF editors
---------
InstallNoneDownload and install
CostFree plan, or Pro at $4 a monthOften a paid subscription
Page X of YYesYes
Roman numeralsYesUsually
Skip cover, custom rangesYesYes
Works on phoneYesRarely
Offline useNoYes

Desktop editors make sense if you edit PDFs all day, offline, with complex layouts. For adding page numbers to a document now and then, a browser tool is quicker and works on any computer, including ones you do not control.

Common problems and fixes

More numbering and labelling tools

Privacy and limits

Files travel to PDFbat over HTTPS and are processed in memory. The result is stored only in your private Drive, which comes with 1 GB free, and you can delete it at any time. The free plan includes 10 tasks a day with files up to 25 MB, which is plenty for occasional numbering. Pro costs $4 a month and removes the daily task limit, which is useful if you number documents as part of your regular work.

Frequently asked questions

Can I start numbering at a different page?

Yes. Tick "Skip first page (cover)" to leave the cover blank, or type a range such as 3-last in "Pages to number". Set "Start at number" to choose the first number that appears.

Can I use Roman numerals for the front matter?

Yes. Choose i, ii, iii or I, II, III in "Numbering style". To mix Roman front matter with Arabic body pages, run the tool twice on different page ranges.

Why does "Page 1 of 9" show the wrong total?

The total counts only the pages you number, plus any offset from the start number. If you skip a cover and want the total to include it, set the start number to 2.

Will the page numbers cover my content?

They are placed inside the page margin, 24 points from the edge by default. If they overlap a footer, raise the margin value or pick a top position instead.

Can I number pages on my phone?

Yes. The tool runs in any modern mobile browser, so you can upload from your phone, add numbers and download the result without installing an app.

What is Bates numbering?

A legal numbering scheme with a prefix and zero padded numbers, such as ABC000001, that continues across a whole set of documents. Use the Bates Numbering tool for that.

Add page numbersFree account · No credit card · Every language
Get started →