Add Page Numbers to PDF
Number the pages of a PDF in 123 or Arabic ١٢٣ digits: 1, Page 1 of 10 or صفحة ١ من ١٠, any position, start number and page range. Nothing is uploaded.
Loading tool…
Page numbers that read right in Arabic and English
Page numbers are drawn into the PDF itself, on every page you choose, so they print and show in every reader. You pick the digits (Western 123, Arabic-Indic ١٢٣ as used in most of the Arab world, or Persian and Urdu ۱۲۳), the wording (1, - 1 -, 1 / 10, Page 1 of 10, صفحة ١, صفحة ١ من ١٠, ١ من ١٠, or your own text with {n} and {total}), the corner, the start number, the size, the margin and the colour.
Arabic needs care in a PDF. The usual PDF fonts have no Arabic letters, most PDF libraries write Arabic letters apart and in the wrong order, and PDF readers read a line with Arabic in it from right to left, which turns a number like ١٠ into ٠١ when you copy it. Here, a label in Latin letters is real text in Helvetica. A label that is just an Arabic number, such as ١٢, is drawn with the outlines of the embedded Noto Naskh Arabic font, as sharp as text at any zoom. A label with Arabic words, such as صفحة ٣ من ١٠, is laid out by your browser, which joins the letters and orders the line right to left, and placed as a sharp picture (432 dpi). Under both goes the same text, invisible, as in a scanned PDF's text layer, written so that readers give it back in the right order: searching finds "صفحة ١٠" and copying gives ١٠, not ٠١.
We checked the results with pdf.js (the reader in Firefox) and with Poppler's pdftotext (used by many Linux readers): the labels come back as text, in order, on the right pages, two-digit and three-digit numbers included. Pages that are turned with a rotation setting get their number upright at the bottom of the page as you see it, and pages of different sizes in one file each get the number at the same distance from their own edge.
Why we built this tool
Number a thesis, a report, a contract or a book before printing or sending it; renumber a file made by merging several PDFs; or leave the cover unnumbered and start the count at 1 on the next page.
Choose "Swap left and right on even pages" for a printed book, so the numbers sit on the outer corner of facing pages.
Tips and common mistakes
- To leave a cover and a contents page unnumbered and start at 1, write 3-20 (for a 20-page file) in Pages to number and keep Start at 1.
- "Page 1 of 10" counts the numbered pages: with pages 3-20 and a start of 1, the last page reads Page 18 of 18.
- Choosing an Arabic wording switches the digits to Arabic-Indic; switch them back if you want صفحة 1 من 10.
- In a custom text, {n} is the page number and {total} the last number: الصفحة {n} or Seite {n} von {total}.
- If a page already has a footer, put the numbers at the top or raise the margin.
Quick start: using Add Page Numbers to PDF
- Drop your PDF, or click to choose it.
- Choose the digits, the wording and the position.
- Set the pages to number, the start number, the size, the margin and the colour.
- Press Add page numbers. The numbered PDF downloads, and its first and last numbered pages are shown.
To put pages in order first, use Merge PDF or Reorder PDF Pages; to write other Arabic text on a page, Write Arabic on PDF.
Frequently asked questions
Is my PDF uploaded?
No. The numbers are added in your browser and the file never leaves your device.
Can I number pages with Arabic numerals ١٢٣?
Yes. Choose ١٢٣ in Digits. A number alone is drawn with the outlines of an embedded Arabic font; with words, such as صفحة ١ من ١٠, the label is drawn joined and right to left. Both carry the text in an invisible layer, so you can search for it.
Can I skip the first page?
Yes. Tick "Leave the first page (cover) unnumbered", or type the pages to number, such as 2-30. Numbering starts at the Start at number on the first numbered page.
Does it work on password-protected PDFs?
Not on a PDF that needs a password to open. Remove the password first with Unlock PDF (you need to know it), then add the numbers.
Will the numbers be selectable and searchable?
Yes. Latin labels are real text. Arabic labels carry the same text in an invisible layer, written so that readers copy ١٠ as ١٠ and not reversed, so search and copy work.