How to add page numbers to a PDF
In short Open the PDF in OasisPDF, open the menu of a page in the strip of thumbnails and choose "Number the pages…". Click where the number should stand, choose what it says, set "From page" and "First number", click "Number the pages", and save. To leave out a cover and a page of contents, set From page 3 and First number 1: the third page is then page 1. Numbers already printed on the pages stay, and a new number is printed over whatever stands where you put it.
Last checked in OasisPDF: By the makers of OasisPDF
No Chrome on this Mac? Download it free from Google.
Why the limit? The editor works on your file on your own device, with nothing uploaded. That takes browser features only recent desktop versions of Chrome and Edge have.
Your file stays on this device. Nothing is uploaded.
or drop one anywhere on this page
Do it here: this page is the editor.
Your file stays on this device. Nothing is uploaded.
- Free
- 100% private
- No watermark
- No account required
What you need
- The PDF, on your computer.
- Google Chrome or Microsoft Edge on a computer. Phones and tablets cannot run the editor yet.
- No account and nothing to install. The file stays on your device.
Step by step
Step 1
Open your PDF
Click "Choose a PDF" on this page, or drop the file anywhere on it. The file opens in the editor, right here. It is not uploaded: the editor works on it on your own device.
The pages of the file stand in a strip of thumbnails at the side. If you do not see the strip, click the "Pages" button in the bar at the top (the icon of a window with a side panel). Look at the foot of a few pages: is something printed there already?

Step 2
Choose "Number the pages…"
Point at the thumbnail of a page and click the button with three dots on it, or right-click the thumbnail, and choose "Number the pages…". Commands in the bar at the top (Ctrl+K, Cmd+K on a Mac) has it too: type "page numbers".
The dialog "Page numbers" opens. The page in its picture is the first page that will get a number.

Step 3
Choose where the number stands and what it says
Click one of the six round places on the picture of the page: at the top or at the bottom, on the left, in the middle or on the right. The place you chose shows the number on an orange label. The label is larger than the number and covers the page there, so look at the page itself to see whether something is printed at that place.
Under "What it says", choose one of five: "1", "1 / 6", "1 of 6", "Page 1" or "Page 1 of 6". The buttons show the figures your first page will get, and change as you set the pages in the next step.

Step 4
Choose the pages and the first number
"From page" and "To page" are the first and the last page that get a number, counted as the strip of thumbnails counts them. "First number" is the number the first of them gets. To leave out a cover and a page of contents, set From page 3 and First number 1: page 3 then says "Page 1 of 6", and the last page "Page 6 of 6". If you picked a run of pages in the strip before you opened the menu, From page and To page are set to them already.
"Size" is the size of the numbers, and "From the edge" how far they stand from the edge of the page, both in points (72 points make an inch). The first time they are 10 and 30.
Click "Number the pages". A message says how many pages have their numbers. Look at a page: if a number stands on something, click "Undo" in that message, and number the pages again at another place or another distance from the edge. Undo takes all the numbers off at once, as long as the document is open.


Step 5
Save
Save writes into the file you opened. To keep the original as it was, do not click "Save": open the menu beside it, choose "Save a copy…", and give the new file a name. Keep the original if you may want the pages without numbers again: once the file is closed, the numbers come off one page at a time.
Otherwise click "Save". The browser may ask whether the site may save changes to the file: allow it. The numbers are now text of the pages in the file on your computer, and other PDF programs show them too.

Good to know
What the saved file holds
The numbers are text of their pages, on exactly the pages you chose. Other PDF programs show them and read them as text. Saved as "A clean file", which is how OasisPDF saves unless you chose otherwise, the file holds the pages with their numbers. "A file with its history" adds the numbers to the file as it was, so the version without numbers can still be read from it. The choice is in the menu beside Save.
Numbers already on the pages stay
OasisPDF does not find, change or remove numbers that are already printed on the pages, and it puts the new ones where you say, whatever stands there. If a page has a line of its own at the foot, a new number at the foot can stand under it, beside it, or right over it. Choose a place where nothing is printed, or delete the old line on each page first: click it, press Esc, then Delete or Backspace.
What "of" counts
The number after "of" is the last number given, not the number of pages in the file. In a file of eight pages, From page 3 with First number 1 gives "1 of 6" to "6 of 6". From page 3 with First number 3 numbers the pages by their place in the file instead: "3 of 8" to "8 of 8".
One look
Every number is set in one plain typeface, in black, whatever fonts the pages have. The size can be 6 to 48 points. On a dark page, such as a colored cover, a black number can hardly be seen: start after such pages.
What it cannot do
There are five wordings and nothing else: no Roman numerals (i, ii, iii), no letters, no words of your own such as the name of the document, and no other place for left and right pages. Every page from "From page" to "To page" gets a number: a page in between cannot be left out. The words "Page" and "of" are in the language of the editor’s page, English here; "1" and "1 / 6" have no words. In a PDF tagged for screen readers, the new numbers are not marked as page numbers.
Numbering again adds a second set
Each time you click "Number the pages", the pages get new numbers, and the numbers they already have stay. Two numbers at the same place stand one over the other. To change the place or the wording right after numbering, click Undo first, then number the pages again.
Changing or taking the numbers off later
Each number is ordinary text of its page. To change one, click into it and type. To delete one, click it, press Escape, then Delete or Backspace. After the document was closed, there is no way to take all of them off at once: it is done page by page.
Turned, cropped and other pages
The number stands at the place you chose on each page as you see it in OasisPDF, the same distance from that page’s own edges. A page you turned has it at its foot as it stands now, and a cropped page inside the part that is shown. A page that lies on its side in the file gets its number along its side: turn such pages upright first.
What the dialog remembers
The place, the wording, the size and the distance from the edge are kept on this device for the next time. "From page", "To page" and "First number" start again each time.
If something goes differently
I do not see the thumbnails.
Click the "Pages" button in the bar at the top (the icon of a window with a side panel), or press Ctrl+\ (Cmd+\ on a Mac).
The cover got a number.
Click Undo. Open the dialog again and set "From page" to the first page after the cover, and "First number" to 1.
A number stands on text of the page.
Click Undo, then number the pages again at another of the six places, or with another "From the edge".
"Number the pages" is dimmed.
Something in the dialog cannot be done, and the line above the buttons says what: a page that is not in the file, a first page after the last, a first number that is not a whole number up to 999,999, a size outside 6 to 48, or a distance from the edge over 200.
Save asks me where to put the file.
Then the browser did not let the site write into the original file. Choose a name and a folder: the new file holds the numbered pages, and the original is unchanged.
How this guide was made
Every step was done in OasisPDF on , with the document in the pictures: an invented document of an invented harbor. When the editor changes, the guide is checked again.