What adding page numbers to a PDF means

To add page numbers to a PDF means drawing a small number onto every page of the finished file, in the same position on each page, so a reader can cite, find and reorder pages with confidence. When people search for a way to add page numbers to a PDF online free, this is what they mean: not a setting inside a reader app, but numbers saved into the document itself, visible to everyone who opens, prints or forwards the file. A 60-page report without numbers is genuinely hard to discuss — “see the table near the end” helps nobody — while the same report with “Page 34 of 60” at the bottom of every page can be navigated in seconds.

Page numbers do three jobs at once. First, they give every page an address, so a teacher, client or colleague can point to an exact page in an email or a meeting. Second, they reveal order and completeness: if a printed stack jumps from page 12 to page 14, the missing page is obvious before it causes a problem. Third, they quietly signal care — a numbered document reads as finished and considered, where an unnumbered one can look like a draft that escaped early.

Technically, this PDF page numberer loads your document with the pdf-lib library inside your browser, embeds the standard Helvetica font, works out each page’s size, and draws the right number for that page at the position, size and margin you chose. Nothing about the underlying pages is rewritten: the original text, images and layout stay exactly as they were, and one small line of vector text is added in the margin of each page. The result is saved as a brand-new file, so your original is never touched and a wrong setting costs nothing but a second run.

How to add page numbers, step by step

Inserting page numbers in a PDF here takes four steps: add the file, choose the position, choose the format and numbering options, then download the numbered copy.

Step 1 — Add your PDF. Use the file picker to choose the document from your device. The file is opened locally in your browser — it is not uploaded — and the tool immediately reports how many pages it found, so you can confirm you picked the right document before going further. If the file cannot be opened, the usual reason is that it is encrypted or password-protected; unlock it first, as the encrypted-PDF section below explains.

Step 2 — Choose the position. Pick one of six positions: top or bottom, at the left, centre or right. Bottom centre is the default and the safest general choice. Bottom right is traditional for bound documents, and a top position can be better when the document already has a footer competing for the bottom margin.

Step 3 — Set the format and numbering. Choose how the number reads — Page X of Y, X of Y, a plain X, or - X - — then set the start number, the font size and the margin, and tick Skip first page if the document opens with a cover that should stay clean. The summary panel updates as you change settings and shows exactly what will be printed on the first, middle and last numbered pages, so there are no surprises.

Step 4 — Number and download. Click Add Page Numbers. The tool draws each number and builds the new file, then offers it as a download with -numbered added to the file name. Open the result and spot-check the first, a middle and the last page before you send it anywhere — ten seconds of checking beats discovering a mistake in someone else’s inbox.

Position, format, start number and margins explained

Four settings control everything this tool prints: where the number sits, how it reads, which number the sequence starts from, and how far it sits from the page edge. Understanding each one takes a paragraph, and after that you can number almost any document sensibly on the first attempt.

Position is a choice of two edges and three alignments — six combinations in all. The vertical choice, top or bottom, is mostly about what else lives in your margins: a document with a running footer, page-border artwork or a signature block at the bottom is better numbered at the top.

Format decides how much information each number carries. A plain number is the cleanest and works when the reader holds the whole document. X of Y and Page X of Y add the total, which protects the reader when pages are printed, copied or forwarded separately — a loose sheet reading “Page 7 of 23” announces both where it belongs and whether the set is complete. The - X - style is the traditional book convention, quiet and decorative, best for long-form reading material such as ebooks and manuscripts.

Start number is the number printed on the first numbered page, and every later page counts up from it. It exists for documents that continue an earlier sequence — chapter files, split volumes, appendix packs — and for the common cover arrangement where the cover is skipped and the second physical page should still read as page 1. Margin is measured in points, where 72 points make an inch: the default 36 points is half an inch from the edge, inside the printable area of almost every printer. Font size, also in points, runs from 8 to 24, with 11 as a readable default.

Top or bottom: choosing a placement

Bottom centre is the right default for most documents, but it is not always the right answer — the best placement is the one that never collides with your content and stays visible in the way the document will actually be used. A page number that overlaps a footer, a table or a signature line helps nobody, and a number hidden in a binding is no better than no number at all.

Choose bottom centre for reports, assignments, ebooks and general business documents. It is where readers instinctively look, it survives photocopying and trimming evenly on both sides, and it reads as formal without drawing attention to itself. Choose bottom right when the document will be bound, stapled or filed in a ring binder on the left edge: the number sits at the outer edge of the page, visible even when flicking through a thick stack, which is why so many printed manuals use it.

Top positions earn their place when the bottom of the page is spoken for. Documents with a legal footer, a confidentiality line, a page border or a signature block at the bottom should be numbered at the top rather than crowded into the same strip. Top right is also common in drafts and review copies, where the number sits near the reader’s eye line as each page is turned. Whichever position you choose, keep the margin at 24 points or more for printed work, so the number stays inside the printable area, and check one dense page — a full table or a page with a footer — before finalising, because that is the page any collision will happen on.

Format and position guide

The table below matches the four number formats and the most useful positions to the documents they suit best, so you can copy a proven combination instead of guessing. If your document type is listed, its row is a safe, conventional choice; if it is not, the bottom-centre, Page X of Y combination is the reliable all-purpose default.

Document typeFormatPositionStart / skipWhy it works
Business reportPage X of YBottom centreStart 1, skip cover if presentReaders can cite exact pages and confirm the set is complete.
Thesis or assignmentXBottom centreStart 1, skip title pageClean and formal; matches most institutional style guides.
Ebook or manuscript- X -Bottom centreStart 1, skip coverThe traditional book style, quiet enough for long reading.
Bound manualX of YBottom rightStart 1, no skipNumber stays at the outer edge, visible past the binding.
Chapter of a larger workXBottom centreStart at the continuing numberContinues the sequence of the previous chapter exactly.
Invoice or statement packPage X of YTop rightStart 1, no skipTop placement avoids clashing with totals and footers below.
Appendix or exhibit bundleX of YBottom rightStart 1, no skipTotal exposes a missing page before the bundle is filed.

Worked example: numbering a 24-page report

Consider a concrete case: a 24-page PDF report with a designed cover page, which must be emailed to a client who will print it. The cover should stay clean, the first content page should read as page 1, and every printed page should show how far through the document it sits. Here is exactly how that job runs through this tool, setting by setting.

The file is added and the tool reports 24 pages. Position is set to bottom centre — the report has no footer, so the bottom margin is free, and centre placement survives the client’s printer trimming evenly. Format is set to Page X of Y, because printed pages will be separated from the whole and each one should announce its place and the document’s length. Skip first page is ticked, so the cover stays clean; the start number stays at 1, which means the second physical page — the first content page — is printed as page 1. Font size stays at the 11-point default, and the margin stays at 36 points, half an inch, safely inside the printable area.

With the cover skipped, 23 pages are numbered, so the totals read accordingly: the first content page shows “Page 1 of 23”, a middle page such as the twelfth numbered page shows “Page 12 of 23”, and the final page shows “Page 23 of 23”. The summary panel shows those three samples before anything is built, which is the moment to catch a wrong start number or a forgotten skip. One click on Add Page Numbers draws all 23 numbers, and the download arrives as report-numbered.pdf. A ten-second spot check — cover clean, first content page reading Page 1 of 23, last page reading Page 23 of 23 — confirms the job, and the file is ready to send. Total time, including checking: about a minute.

Privacy: your file never leaves your device

Everything this tool does happens inside your own browser tab: the file is read from your device, the numbers are drawn by code running on your device, and the result is downloaded straight back to your device. There is no upload step, no server queue and no copy of your document on any FreeSoftis system — not during processing, and not afterwards.

That design matters most for exactly the documents that most often need numbering. Reports, theses, contracts, financial packs and personal records are numbered precisely because they are finished documents that matter — and they are usually the last files you should be handing to an unknown server. Here, the pdf-lib library is downloaded to your browser once as ordinary page code, and after that your document itself never travels anywhere.

The supporting web standards are the ordinary, audited ones: the browser’s File and FileReader interfaces read the file you picked, a Blob packages the result, and a locally created object URL powers the download link. No account is required, no sign-up form asks for your email, and the summary text the tool offers to copy contains only the settings and counts you chose — never any content from your document. When you close the tab, the in-memory copy of your file goes with it.

Honest limits: numbers are drawn on, not detected

This tool does one job — drawing new page numbers onto a PDF — and it is worth being plain about what it does not do, because three of its limits regularly surprise people. Reading this section before you rely on the output will save you from each of them.

First, the numbers are drawn onto each page; they become part of the file. That is what makes them visible in every reader and printable everywhere, but it also means they are not a separate, switchable layer you can toggle off in a viewer.

Second, existing numbers are not detected or removed. The tool does not read your pages looking for numbers that are already there, and it cannot erase them. If your document already carries numbers — typed into a footer by a word processor, for example — the new numbers will be drawn as well, and a page can end up showing two. The fix is to number the unnumbered original: export the document again without its built-in numbering, or cover the old numbers with a PDF editor first.

Third, the tool numbers physical pages in file order, nothing smarter. It does not understand front matter, roman-numeral sequences, appendices with their own numbering, or a table of contents whose listed page numbers should change. The start-number and skip-first-page settings cover the common cases — a cover, a continuing chapter — but a document that needs i, ii, iii followed by 1, 2, 3 needs a word processor’s section tools before export, not this page. Knowing that boundary up front is the difference between a tool that disappoints and a tool that does exactly what it promised.

Encrypted and damaged PDFs

An encrypted or password-protected PDF cannot be numbered here, because the tool cannot open it — and that refusal is the PDF security model working as designed, not a fault in your file. Encryption exists to stop software from reading a document without the password, and a browser tool that quietly bypassed it would be a security hole, not a feature. If your file needs a password to open, this page will tell you it could not be read rather than guessing or half-processing it.

The correct order of operations is: unlock, number, re-protect. Unlock the file first, using the password you already know and are entitled to use — the FreeSoftis PDF Password Remover does that job in the browser too. Then add the page numbers here, on the unlocked copy. Finally, if the finished document still needs protection, apply a password again with a Protect PDF tool, and share the new password through a separate channel from the file itself, as you would with any protected document.

Damaged files are the other failure you may meet. A PDF truncated by an interrupted download, corrupted in email transit or saved by faulty software may refuse to open anywhere, including here. The reliable fix is to go back to the source: download the file again, or re-export it from the program that created it, and number the fresh copy. If the file opens in a desktop reader but not here, re-saving it from that reader — Print to PDF, or Save As — produces a clean, standard file that this tool can almost always process.

Quality, file size and mixed page sizes

Adding page numbers does not degrade your document: the existing pages are not re-rendered, re-compressed or rasterised, so text stays sharp, images keep their resolution and the file grows only by the few kilobytes the numbers themselves need. The numbers are drawn as vector text in Helvetica, a standard PDF font, which means they are crisp at any zoom and on any printer, and they add no images to the file at all.

File size grows modestly and predictably. The embedded font subset and the small text-drawing instructions for each page are all that is added — a few kilobytes in total for an ordinary document, whether it has ten pages or two hundred, because the font is stored once and shared by every page. On a large scanned document of several megabytes, the difference will not be measurable in practice.

Mixed page sizes are handled page by page. Many real documents combine portrait and landscape pages, or A4 and letter pages, in one file. This tool measures every page individually and places its number relative to that page’s own edges, so a landscape table page gets its number centred on its own width, not stranded where a portrait page’s centre would have been. The margin and font size stay constant in absolute points, which is what you want: the number looks the same size on every page, and only its position adapts. Rotated pages are numbered according to their displayed orientation, so the number reads the right way up when the page is viewed as intended.

Common mistakes and how to avoid them

Almost every bad numbering result comes from one of five avoidable mistakes — and each of them is cheap to prevent before the file is sent, and annoying to discover afterwards.

Numbering a document that already has numbers. Files exported from word processors often carry footer numbers already. Adding a second set produces doubled, conflicting numbers on every page. Check page two of your original before you start; if it already shows a number, export it again with the built-in numbering switched off. Forgetting the cover. A designed cover with a lone “1” in the corner looks like an error, because it is one. If the first page is a cover or title page, tick Skip first page — and confirm the second page then shows the start number you intended.

Starting at the wrong number. When a file continues an earlier document, a start number left at 1 restarts the sequence and breaks every cross-reference. Set the start number to one more than the last page of the previous file, and check the summary’s first-page sample before building. A margin too small for printing. Numbers placed within about a quarter inch — 18 points — of the edge can fall outside a printer’s printable area and be clipped. Keep the margin at 24 points or more for anything that will be printed, and use the 36-point default when in doubt.

Sending the wrong file. The numbered copy carries -numbered in its name precisely so the two versions can be told apart — but only if you look. Before attaching, open the download and check the last page: it should show the final number of the sequence.

Sources & References

Every figure in this guide was checked against the method described on this page, so you can reproduce each one exactly with the tool above. Sources note: all seven sources were verified live (HTTP 200) on the day this page was built; no substitutions were needed.