Add Page Numbers to PDF
Insert page numbers into a PDF — choose position, format, and starting number.
How to Use
- Drop a PDF onto the drop zone, or click to browse.
- Choose the position — bottom centre, bottom right, bottom left, or the matching positions at the top.
- Pick the format: just the number, "1 / 20", or "Page 1 of 20".
- 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
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.