Add Page Numbers to PDF

Stamp sequential page numbers onto the footer of every page in your document.

Drop your PDF here

or click to browse

Ready to Process

File:

Processing...

Success!

Download File

Error

Drawing text onto existing pages

Adding page numbers involves more than just metadata. The software must modify the content stream of every page, drawing text at a specific coordinate system (usually starting from the bottom-left origin).

Using our client-side processing, we calculate the MediaBox of each page and stamp standard font glyphs (like Helvetica or Times Roman) at the specified margin, ensuring consistent pagination across varying page sizes.

Technical Details

Option Description Typical Value
PositionWhere the text is drawnBottom Center
MarginDistance from edge36 points (0.5 inch)
FormatText templatePage {n} of {m}
FontStandard 14 FontHelvetica, 12pt

Next Step: Add Page Numbers to PDF (Next Article)

Common Mistakes

  • Adding page numbers without checking if the document already has them, resulting in overlapping text.
  • Not accounting for cropped pages where the origin (0,0) is shifted.

Frequently Asked Questions

Can I choose the font?

We currently use standard embedded Helvetica for maximum compatibility.

What if my pages are different sizes?

The numbers are dynamically positioned based on each individual page's dimensions.