Add page numbers to PDF documents in your browser. Choose the position, font size, color, starting number, and format before downloading the finished file.
This tool adds a page-number label to every page in the uploaded PDF directly in your browser. You can choose where the label appears, how large it is, what color it uses, what number the sequence starts from, and how the text is formatted.
The downloaded file is a new copy. Your original PDF stays unchanged on your device.
First Page Number controls the number printed on the first PDF page. If you enter 5, the first page receives 5, the second receives 6, and so on.
It does not skip earlier pages. This tool numbers every page in the uploaded file and simply changes the number printed on page one.
The format field controls the text written on each page. {n} is the current page number and {total} is the last number in the printed sequence. The format must contain {n}.
Choose a position that does not collide with text already printed near the page edge. This tool adds text; it does not detect occupied footer or header space.
Saving a modified copy changes the PDF bytes. If the original relies on a digital signature, modifying the document can invalidate that signature.
Some protected PDFs cannot be modified by the library used in this browser tool and may fail to process.
A long label or very large font may not fit within a narrow page. The tool checks each page and stops with an error instead of intentionally drawing the label off the page.
Yes. Every page in the uploaded PDF receives a label. First Page Number changes the number printed on page one; it does not choose a later PDF page to begin numbering.
Yes. Choose a top-left, top-center, or top-right position. Bottom positions place the label near the footer area.
Yes. Use Page {n} of {total}. The {total} value is the last number in the printed sequence, so if numbering starts at 10 in a 24-page PDF, the sequence ends at 33.
They remain in the document. This tool adds another text label and does not identify or remove existing numbering.
No. First Page Number is currently limited to positive whole numbers starting at 1.
The component reads and modifies the selected file in the browser using pdf-lib. There is no upload request in this tool code.
Encrypted or otherwise restricted PDFs may not be loadable for modification. If processing fails, try an unlocked copy that you are permitted to edit.
It can. Adding page-number text changes the PDF and saving produces a modified file, which can invalidate signatures that cover the original document contents.
Related Tools
Fix crooked scanned pages.
Trim margins or whitespace from pages.
Apply legal Bates numbering.
Remove comments and markups.
Remove specific pages from a PDF.
Modify text and layout in-place.