Add Page Numbers to PDF

Insert page numbers into a PDF — choose position, format, and starting number.

Add Page Numbers to PDF
Drop a PDF here or click to browse
Insert page numbers in the position you choose

📐 How to Use

  1. Drop a PDF onto the drop zone, or click to browse.
  2. Choose the position — bottom centre, bottom right, bottom left, or the matching positions at the top.
  3. Pick the format: just the number, "1 / 20", or "Page 1 of 20".
  4. Optionally change the starting number or skip the first page, then click Add Page Numbers and download.

🎯 When to Use This

  • Numbering a contract before it goes out for signature, so both parties can refer to a clause by page in an email thread.
  • Continuing a sequence across a set of documents by starting the second file at 24, where the first one left off.
  • Preparing a report for printing and binding, since unnumbered pages shuffled on a desk cannot reliably be put back in order.
  • Adding numbers to an exhibit bundle assembled from several merged scans, which arrives with no numbering of its own.

❓ Frequently Asked Questions

QCan I skip numbering the cover page?
Yes. Set the first numbered page to 2 and the cover is left clean, while the numbering still counts from wherever you tell it to start.
QCan I start counting from a number other than 1?
Yes. The starting number is separate from which page numbering begins on, so you can continue the sequence from an earlier document.
QWhat if my pages already have numbers printed on them?
The new numbers are drawn on top and will overlap the existing ones. Choose a different position, or remove the old numbers first.
QWill the numbers be selectable text?
Yes. They are added as real text, so they can be selected, copied, and searched like any other text in the document.

ℹ️ About This Tool

Page numbers inside a PDF are ordinary text drawn into each page's content stream. There is no numbering field that a viewer keeps up to date; whatever is drawn is fixed from then on. So the position has to be computed page by page, because one document can mix page sizes, and a centered number has to account for the width of the digits themselves.

pdf-lib embeds Helvetica, measures each label at the size you chose, and draws it in gray 28 points in from the page edge. Centered numbers are shifted by half the measured width, so the label stays centered as it grows from 9 to 10 to 100. Numbering begins on the page you nominate and counts from the first number you give, and the file is written on your device.

⚠️ Notes & Limits

  • The "of N" total counts only the pages that receive a number, so starting on page 2 of a 20-page file produces "Page 1 of 19".
  • Numbers are drawn 28 points from the edge in the position you pick and will overlap anything already sitting there, including existing footers.
  • Only Arabic numerals are offered: there are no Roman numerals for front matter and no alternating left and right positions for double-sided printing.
  • The label is drawn straight onto the page with no panel behind it, so it can be hard to read where it falls on a dark image.