PDF Tools

Add page numbers to a PDF.

Stamp page numbers on every page of a PDF without uploading it. Choose the corner or centre, the format, the first number, and which pages (such as a cover) to leave unnumbered.

How to add page numbers to a PDF

  1. Choose a PDF of up to 40 MB and 500 pages.
  2. Set the position, the format, the first number, the numerals and the font size.
  3. List any pages you do not want numbered, such as a cover.
  4. Press Add page numbers and download the result.

Formats and tips

You can stamp a bare number, Page 3, 3 of 10, Page 3 of 10 or a number between dashes, in any of six positions. Numbers can start at any value, which helps when a chapter continues from an earlier file, and can be Arabic or lower-case Roman numerals for front matter. When you skip pages, the total in formats such as 3 of 10 counts only the pages that are numbered.

The number is added as ordinary text on top of each page in Helvetica, a standard PDF font, and your original page content is not changed or turned into an image. Leave enough margin in the original for the number not to collide with content.

Private by design

The stamper runs in your browser, inside an isolated frame on this page that has no network access. Your file is read and written back by your own device, so it is not uploaded to TNAADO or anyone else, and nothing is stored. The advertising on this page sits outside the frame and cannot see what you choose.

About this PDF page numbering tool

The tool draws a small number onto each page of your PDF, using Helvetica, a standard PDF font that needs no embedding of your own fonts. Your original page content is not rasterised or altered; the number is added on top as ordinary text.

Choices

Limits

The file is read and written in your browser. The isolated tool frame loads no advertising or analytics scripts.

How the numbering works, step by step

The tool opens your PDF with the open-source pdf-lib library in your browser, then walks through the pages in order. For every page that is not on your skip list it works out a label, measures how wide that label is in Helvetica, and draws it as ordinary text at the position you chose. A counter starts at your First number and goes up by one for each numbered page, so skipped pages never use up a number. Finally the file is saved and offered as a download. Nothing is uploaded.

The label is drawn in dark grey (an RGB value of 0.2 on each channel, where 0 is black and 1 is white), at the font size you choose from 6 to 48 points (11 by default), with a margin of about 28 points, a little over a third of an inch, from the page edge. Horizontally, left and right positions sit at the margin and centre positions are centred on the page.

What each option does

  • Position: bottom centre (default), bottom left, bottom right, top centre, top left or top right.
  • Format: just the number, "Page 3", "3 of 10", "Page 3 of 10" or "- 3 -".
  • First number: any whole number from 0 to 100,000.
  • Numerals: 1, 2, 3 or lowercase roman i, ii, iii.
  • Font size: 6 to 48 points.
  • Do not number pages: a list of pages and ranges such as 1, 1-2,5 or 1-3, 10. Entries outside the document's page count, or typed in another style, produce an error message instead of a result.

The "of total" figure is the last number, not the page count

This is the detail that surprises people. In the "3 of 10" formats, the total is calculated as the first number plus the number of pages being numbered, minus one. In other words, it is the last number that will appear. If you start at 1 and number every page, it equals the page count. If you start elsewhere or skip pages, it does not.

Worked examples

  • A 12-page report with the cover skipped (type 1 in the skip box) and First number 1: pages 2 to 12 get 1 to 11, and the format reads "1 of 11" through "11 of 11". The cover has no number.
  • A 10-page chapter that continues a book at page 5, no skipping: it numbers 5 through 14 and reads "5 of 14" on the first page. If you wanted "of 10", use the plain number or "Page 3" format instead.
  • A 20-page document with a 2-page front section that should use roman numerals: make two passes. In the first, choose roman numerals and skip 3-20, so only pages 1 and 2 are numbered i and ii. Save the result, load it again, choose arabic numerals, skip 1-2 and start at 1. The body is numbered 1 to 18 and the roman front pages are left alone because skipped pages are not touched.

Roman numerals have no zero. If you pick roman numerals and a First number of 0, the first label is blank, so start at 1 or higher.

Common jobs

  • Reports, theses and manuals: bottom centre or bottom right, "Page 3 of 40" format, cover and title page skipped.
  • Contracts, exhibits and legal packs: "Page 3 of 25" at the bottom so that a missing page is obvious. Use top right if the bottom of the page holds a footer.
  • Scanned documents: scans are images, and the number is added on top as text. That works fine.
  • Merging several files: combine them first with the PDF merger, then number once so the sequence runs through the whole set.
  • Reordering after numbering: avoid it. The numbers are drawn on the pages, so moving pages around leaves the numbers out of order. Arrange the pages with the page organizer first.

Limits and failure cases

The file must be a real PDF under 40 MB and no more than 500 pages. Password-protected PDFs stop with an error because the file is opened without ignoring its encryption; remove the password first with the remove password tool if you are entitled to. Numbers are placed relative to the page's own width and height as the file reports them. A page with an unusual rotation setting may therefore show the number on a different edge from the one you picked. A dark grey number is hard to read on a dark full-page background, and it can collide with text that already sits near the edge, so choose the opposite edge if that happens.

Because the number is added as text on the page, it can be selected and copied, and it prints like any other text. It does not create PDF bookmarks, a table of contents or "page label" metadata, so a viewer's own page counter still shows 1, 2, 3 regardless of the numbers drawn on the pages.

Related tools

Join files with the PDF merger, cut them up with the PDF splitter, shrink the result with the PDF compressor, and sign the last page with the sign PDF tool.

Frequently asked questions

How do I add page numbers to a PDF without uploading it?

Choose the file above, set the position and format, and press Add page numbers. The numbered PDF is built on your device and offered as a download.

How do I start numbering from page 3 or leave the cover blank?

To leave the cover unnumbered type 1 in the skip box. To begin at a different number, change First number. Skipped pages do not consume a number.

Will this change my PDF's text or quality?

No. The original page content is kept and a number is added on top. The file is re-saved, so its size can change slightly.

Why does "Page 5 of 14" appear on a 10-page document?

The "of" figure is the last number that will be printed, which is the First number plus the number of numbered pages minus one. Starting at 5 on a 10-page file therefore ends at 14. To show a total of 10, start at 1 or use a format without a total.

Can I number only some pages, such as 2 to 10?

Yes. Use the skip box for pages you want left blank, for example "1" for the cover or "1, 11-12" for the cover and last two pages. Ranges are written with a hyphen and separated by commas.

Can I use roman numerals for front matter?

Yes. Select the roman option for lowercase i, ii, iii, and use a separate pass with arabic numerals for the body. Roman numerals have no zero, so do not start them at 0.

What font and size are used?

Helvetica, one of the standard 14 fonts defined in the PDF specification, at the size you set between 6 and 48 points. The default is 11 points.

Is there a limit to the size of the PDF?

Yes, 40 MB and 500 pages. Larger files stop with a message. Split them into parts, number each part with the right First number, and merge them again.

Sources

Checked

Runs entirely in your browser. Nothing you type is sent or stored.

Advertisement
Advertisement