Add Page Numbers to a PDF Online Free

You can add page numbers to a PDF in the browser: drop the file in, choose the position, the starting number, the format, the font size and the font, tell the tool whether to skip the cover, and download a numbered copy. The pages are not re-encoded.

The number is drawn as new text on top of each page, so the original text stays selectable, links keep working and images keep their resolution. Six positions are available, from bottom center to top left; four formats cover a bare 1, Page 1, 1 / N and Page 1 of N; the font size runs from 8 to 24 points; and the font is one of four standard PDF fonts. Everything runs on your device with pdf-lib and nothing is uploaded. The output is a new file with -numbered appended to the name, and the original PDF on your disk is left untouched.

Numbering a PDF looks like a trivial job until a shared drive holds three versions of the same report and nobody in the meeting can point to page 14. This tool handles the narrow version of that problem: it writes a running number onto every page of a PDF you already have, at the position, starting value and style you pick.

Add Page Numbers

Write a running number onto every page of a PDF in the browser. Six positions, four formats, four fonts, and a switch to leave the first page blank. The file never leaves your device.

Open the tool

What "adding page numbers" actually means inside a PDF

A PDF page has no field called page number, so a number is always something that gets drawn onto the page. That is what this tool does: for each page it works out coordinates, then issues a draw-text instruction carrying the number and the selected font.

BehaviourNumber written into the page (this tool)Floating counter in a reader
Visible when printedYesNo
Found by text searchYes, the number is searchable textNo
Travels with the fileYesNo, it belongs to the viewer
Removable afterwardsOnly by editing the PDF in an editorNothing to remove, it was never in the file

A client who prints the PDF, an archivist who opens it in ten years on newer software, and a script that searches it for text all see the written number, and none of them see a viewer counter. That is why numbering belongs in the file.

How to add page numbers to a PDF

The whole job is three steps, and none of them needs an account.

  1. Add your PDF. Drop one PDF into the drop zone or click to browse. The page count is read on your device and shown on the file card, so you can confirm you opened the right document.
  2. Set the numbering. Choose a position such as Bottom center, type the start number, pick one of the four formats, drag the font size slider, select a font, and set Skip first page to Yes if the cover should stay clean.
  3. Add and download. Click Add page numbers. A progress bar walks from page to page, the result panel reports how many pages were numbered and the before and after sizes, and Download PDF saves a copy with -numbered appended.

Because the page count is read first, you can catch the wrong file before spending time on settings. A file that cannot be opened is reported on the status line instead of failing halfway through the run.

The settings that decide where the number lands

Six controls shape the result. Every value below is the actual range the tool accepts, and the default it starts with.

SettingOptionsDefault
PositionBottom center, bottom right, bottom left, top center, top right, top leftBottom center
Start numberAny whole number from 1 upward1
Format1, Page 1, 1 / N, Page 1 of N1
Font size8 to 24 points12 points
FontHelvetica, Helvetica Bold, Times Roman, CourierHelvetica
Skip first pageNo, YesNo

Position and the margin, which is fixed

Six placements cover the usual layouts: the middle of the footer, either bottom corner, and the three matching spots in the header. What you cannot change is the distance from the edge. The margin is fixed at three percent of the page height and rounded to a whole point, which is 25 points on A4 and 24 points on US Letter, so different page sizes keep the same visual relationship with the edge.

The trade is that the margin is not a dial, so a document that already prints its own footer can end up with the number sitting close to it.

Start number, format and font

The start number is the value given to the first numbered page, and the counter rises by one from there. A number below 1 is raised to 1, so nothing can be numbered zero. This is the control that lets a chapter continuing an earlier file begin at 57 rather than restarting at 1.

The four formats are a bare 1, Page 1, 1 / N and Page 1 of N. In the last two, N is the total number of pages in the document, not the highest number printed. Font size runs from 8 to 24 points and starts at 12, and the four fonts are standard PDF fonts, so no font file has to be carried inside your document.

Skipping the cover page

Skip first page is a single switch, not a range. Set it to Yes and page one receives nothing while page two takes the start number; set it to No, the default, and the title page is numbered too.

One edge case is handled explicitly: a one page PDF with the switch on has nothing left to number, and the tool says so rather than producing an empty result.

A worked example: a 24 page report with a cover

Take a 24 page report whose first page is a title page that should stay bare.

  1. Add the file and check that the card reads 24 pages.
  2. Set the options: Position Bottom center, Format Page 1 of N, Start number 1, Skip first page Yes.
  3. Click Add page numbers. Page 1 stays blank, page 2 carries Page 1 of 24, and page 24 carries Page 23 of 24.

Notice the last line: because N is the total page count, the cover is counted in N even though it carries no number, so the final numbered page reads Page 23 of 24. If the body really must end on 24 of 24, either leave Skip first page on No and accept a number on the title page, or remove the title page first with the Organize PDF tool.

What the tool cannot do

Every limit below follows from keeping the operation small and predictable. Knowing them tells you whether this page fits your document.

LimitWhat it means in practiceWhat to use instead
No Roman numerals or section numberingOnly the four formats exist, so a front matter numbered i, ii, iii is out of reachThe source document, where the numbering style can be set once
The number is always blackThe colour is fixed, so a number that must match a coloured footer will not matchA layout tool, or re-export the PDF from the source with the colour set there
The margin is fixed at three percent of the page heightYou cannot nudge the number inward to clear a printed footerCrop the page first, then the number sits relative to the new edge
Only the first page can be excludedPages three to five, or an appendix, cannot be left out of the sequenceSplit the PDF, number the parts separately, then merge them back
Encrypted files are refusedA password protected PDF will not load, and the tool reports the failure on the status lineStrip the password you know with the Unlock PDF tool, then number the opened copy
One PDF per runA folder of invoices is one run per file, not one batchMerge them first if one continuous number is acceptable
Numbering cannot be undone hereThe tool has no undo and cannot strip the numbers out of the output againKeep the original PDF and re-run the tool on the original with new settings

When a different workflow fits better

Page numbering is a formatting feature everywhere except in a finished PDF. Word, Google Docs, Pages and InDesign keep numbers as document properties, so they reflow with the text and can restart per section. If you still have the source file, doing it there is usually the better move; this tool exists for the cases where the PDF is all you have.

The document is still being edited

Stamping numbers while a document is still changing is the classic mistake. Insert one paragraph and every later number shifts, but a stamped number is now fixed text on a fixed page. Number the file once the content is frozen.

The PDF is a scan or came from a camera

A scan is an image wrapped in a PDF, and this tool still numbers it correctly, because all it does is draw text on top of the page. What it cannot fix is that the underlying text is not searchable. If you plan to search the document later, run optical character recognition first and number it afterwards, since the numbering step is harmless either way.

The PDF is locked

A password protected file fails to load, and the status line says so plainly instead of producing a broken output. Remove a password you already know with the Unlock PDF tool, number the opened copy, then re-apply protection if the document has to travel locked.


Frequently asked questions

Open the Add Page Numbers tool and drop one PDF into the drop zone. The browser reads the page count locally, then shows the settings. Choose a position, set the starting number, pick one of the four formats, adjust the font size and font, and decide whether the first page should stay blank. Press Add page numbers and the tool draws the number on each page in sequence; a progress bar walks through the document. When it finishes, the result panel reports how many pages were numbered plus the source and output file sizes, and the Download PDF button saves a copy named after the original with -numbered appended. The original file on disk is never modified, so you can close the tab at any point. Nothing is uploaded, and there is no account, no daily cap and no watermark.
Yes. The whole operation runs inside the browser tab with pdf-lib, the JavaScript library the tool loads locally, so the PDF is opened from your disk into memory and the numbered copy is written back as a download. No server ever receives the file, which matters for contracts, invoices, medical records and anything signed or under an NDA. You can confirm this yourself: load the page, switch the network panel in your browser developer tools to offline after the tool has loaded, and the numbering still completes. The file never appears in an upload queue, there is no temporary link that expires, and there is no retention window to read. The trade is that everything runs on your own device, so a very large document is limited by the memory of the machine rather than by a server quota, and the tool handles one PDF at a time.
Four formats are built in. The plain option writes a bare number such as 1. The Page option writes Page 1. The slash option writes 1 / N, where N is the total page count. The Page of option writes Page 1 of N. You can also choose a starting number, so a chapter that continues another file can begin at 57 instead of 1, and the counter still increases by one per page. Font size can be set from 8 to 24 points, and the font is one of Helvetica, Helvetica Bold, Times Roman or Courier, all standard PDF fonts that do not need to be downloaded. The number is drawn in black at a margin fixed to three percent of the page height, which keeps the same visual distance on A4, US Letter or any other page size. There is no Roman numeral option and no per-section numbering.
Yes. Set Skip first page to Yes and the numbering starts on page two with the number you entered, so a cover or title page stays clean while the body still counts in sequence with no gap. The setting only skips the first page: there is no page range box and no way to exclude, say, pages three to five or the appendix. Two details are worth knowing. If the document has only one page, turning the option on leaves nothing to number, and the tool reports that instead of producing an empty result. And skipping the first page does not restart anything, so page two receives your chosen start number and the rest follow upward. If a document needs numbered bodies but unnumbered chapter openers in several places, that is a job for a word processor or a publishing tool, not for this page.
No. This tool writes real text into the content of each page, so the number travels with the file. A reader's floating page number is only an interface element drawn by the viewer, and it never appears in a print, in a screenshot or in another application. Because the number is genuine page content, it will show up wherever the PDF is opened, and it will also be found by text search: searching for your start number jumps to the pages that carry it. The practical consequence is that the change is permanent in the output copy. The tool has no undo and cannot strip the numbers again, so keep the original file and treat the -numbered download as a separate document. If you need to revise the numbering, run the tool again on the original PDF with new settings rather than on the numbered copy.
No. The numbers are added with a draw-text call on top of each existing page, so pages are not rasterized, flattened or re-exported as images. Links keep working, images keep their original resolution, and any existing bookmarks, form fields and annotations survive. Text that was selectable stays selectable, and the original text is not re-encoded, so a search that worked before the numbering still works after it. Two things do change. The file size changes, because each page gains a small content stream holding the number, and the result panel reports the source and output sizes side by side so you can see the difference. And a number can land on top of content that already sits in that spot, such as a footer your generator printed, because the placement is measured from the page edge rather than from what is already on the page.

Number your PDF now

Free, private and unlimited. No account needed.

Open Add Page Numbers