Add Page Numbers to PDF — Free & Private
Add professional-looking page numbers to any PDF in seconds — no design software required. DimlyPDF stamps clean, customizable page numbers directly onto your document using pdf-lib in the browser. Choose from six placement positions (header or footer, left/center/right), set a custom starting number for front matter, and use a format template like "Page {n} of {total}" to match your document style. The numbered PDF is generated entirely in your browser — no file ever leaves your device.
Frequently asked questions
Which positions are supported for page numbers?
Six positions are available: Bottom Center, Bottom Right, Bottom Left, Top Center, Top Right, and Top Left. Choose from the in-tool dropdown.
Can I start from a page number other than 1?
Yes. Set the starting number so cover pages or front matter can be excluded from the numbering sequence. For example, start at 1 on what is physically page 3 of the document.
Can I customize the page number format?
Yes. Use the format template field with tokens like {n} (current page) and {total} (total pages). Examples: "Page {n}", "{n} / {total}", or "- {n} -".
Will numbering flatten my existing text?
Numbers are drawn as a new content layer on top of the existing page. Your original body text remains fully selectable and searchable.
Is my PDF uploaded to a server?
No. Page numbers are added entirely in your browser using pdf-lib. The file never leaves your device.
Can I add page numbers to a password-protected PDF?
You need a PDF that is not restricted from modification. If the PDF has editing restrictions, remove them first before adding page numbers.