Add Page Numbers to PDF (Header or Footer)

Upload a PDF, configure your page number style and position, and download the numbered document. Everything runs locally in your browser.

How it works

Number pages in four simple steps—fully private, in your browser.

  1. Upload

    Drag & drop your PDF (local-only).

  2. Choose style

    Header or footer, alignment, start number, “Page X of Y”.

  3. Select pages

    Apply to all or selected thumbnails.

  4. Generate

    Create & download your numbered PDF.

Tip: Need Roman numerals for front matter? Number selected pages first, then run again for the rest.

Page numbering that fits any document

Customize placement, alignment, and counters—without leaving your browser.

Flexible numbering

Start at any number, add prefixes/suffixes, and show “Page X of Y”.

Header & footer placement

Put numbers at the top or bottom with precise margins.

Accurate alignment

Left, center, or right—auto-centered text for clean layouts.

Selective apply

Number all pages or only selected thumbnails—counter respects your selection.

Private by design

Everything runs on your device. No uploads, no servers, no tracking.

Fast & precise

Powered by PDF.js and pdf-lib for snappy previews and pixel-perfect output.

Private & local processing

Add page numbers in seconds—clean, consistent, print-ready

Choose header or footer placement, alignment, custom counters, and optional “Page X of Y”. Everything runs in your browser.

No sign-upLightning-fastFiles stay on device

What this tool does

Add professional page numbers to any PDF directly in your browser. You control placement (header/footer), alignment, start number, and formatting. Optionally display “Page X of Y” for formal documents.

Great for

  • Reports, manuals, coursework, proposals, and legal docs.
  • Adding or fixing page numbers before printing/sharing.
  • Selective numbering for appendices or front matter.

Privacy & performance

Everything happens locally on your device—no uploads. Optimized previews make large PDFs responsive, and the counter respects your selected pages.

Tips for perfect results

  • Use a subtle gray (e.g., #4B5563) for a professional look.
  • Keep margins generous for print bleed and bind allowances.
  • Number selected pages first for Roman numerals, then the rest for Arabic.

Related PDF Tools

Explore our comprehensive collection of PDF tools. From compression and merging to conversion and security - we have everything you need to work with PDF files efficiently and securely.

Need a PDF tool we don't have?

We're constantly adding new PDF tools based on user feedback. Let us know what you need and we'll consider adding it to our toolkit.

Request a Tool