The fastest way to add page numbers to a PDF

Most PDF readers cannot add page numbers — you need editing software. The easiest route depends on what you have: Adobe Acrobat (paid desktop software) does this in seconds, but free tools like PDFtk, Preview on Mac, or online editors like Smallpdf will also work. The trade-off is that free tools often require you to upload your file to their server, while paid software keeps everything on your computer.

If you use Adobe Acrobat, you open the PDF, go to Tools > Edit PDF, then look for a Header and Footer option. If you use a free online tool, you upload the file, select where you want the numbers (top or bottom, left or right), choose a starting number, and download the result. The whole process takes under five minutes either way.

Key Takeaways

  • Adobe Acrobat's Header and Footer tool is the fastest method if you already own it, taking about two minutes from start to download.
  • Free online PDF editors like Smallpdf, ILovePDF, or PDFtk work without installing software, but they upload your file to their servers temporarily.
  • Mac users can use the built-in Preview app to add page numbers without any additional software or uploads.
  • Most tools let you choose the position (top or bottom, left or right), starting number, and font size before applying to all pages at once.
  • Some PDF editors cannot add page numbers to PDFs with certain security settings, so you may need to remove restrictions first.

Using Adobe Acrobat on Windows or Mac

Open your PDF in Adobe Acrobat (the full version, not the free Reader). Click the Tools tab in the top menu, then select Edit PDF. On the right side panel, scroll down until you see Header and Footer — click it.

A dialog box opens. Leave the Header and Footer fields blank if you only want page numbers. In the Page Number section, check the box next to "Add page numbers" and choose where you want them: top-left, top-center, top-right, bottom-left, bottom-center, or bottom-right. Set the starting number (usually 1) and choose your font size. Click OK, then save the file. Acrobat applies the numbers to every page automatically.

If you only have Adobe Reader (the free version), you cannot add page numbers directly. You will need to use a different tool or upgrade to Acrobat.

Using Preview on Mac

Open your PDF in Preview (the default Mac PDF viewer). Click Tools in the menu bar, then select Annotate and choose Text. This opens a text box you can place anywhere on the page. Type the page number manually, then move to the next page and repeat.

This method works but is slow for long documents because you type each number by hand. A faster Mac option is to use a free tool like PDFtk or an online editor instead. If you prefer to stay in Preview, accept that you will spend several minutes on a 20-page document.

Using free online PDF editors

Go to Smallpdf.com, ILovePDF.com, or PDFtk.com. Each site has a similar workflow: click the button to upload your PDF, wait for it to load, then look for a "Header and Footer" or "Page Numbers" option. Select where you want the numbers placed (top or bottom of the page, left or right), set the starting number, and choose font size if the option appears.

Click the button to apply the changes — this usually takes 10 to 30 seconds depending on file size. Download the edited PDF to your computer. The file is typically deleted from the server within a few hours, but if your PDF contains sensitive information, check the site's privacy policy first. Most reputable sites delete files automatically and do not store them.

Online editors work on any device with a web browser, so you do not need to install software. The downside is that your file leaves your computer temporarily, which some people prefer to avoid.

Removing security restrictions if page numbers won't add

Some PDFs have security settings that prevent editing, including adding page numbers. If you try to add page numbers and get an error message about restrictions, you need to remove them first. Many online PDF editors have a "Remove Restrictions" or "Unlock PDF" tool — upload the file, and the tool strips the security layer so you can edit it.

After removing restrictions, use your chosen method (Acrobat, Preview, or an online editor) to add page numbers normally. This adds an extra step but usually takes less than a minute. Keep in mind that removing restrictions only works if the PDF does not have a password; if it does, you will need the password to proceed.

Choosing a starting number other than 1

If your PDF is part of a larger document and you need it to start at page 50 instead of page 1, most tools let you set this. In Adobe Acrobat, the Header and Footer dialog has a field for "Start page numbering at" — enter your number there. In online editors, look for a similar field labeled "Start number" or "First page number."

This is useful when you are combining multiple PDFs into one document and want continuous numbering across all files. Add page numbers to each PDF separately with the correct starting number, then combine them in the order you need.

Frequently Asked Questions

Can I add page numbers to only some pages, not all?

Most tools add page numbers to every page at once. If you need numbers on only certain pages (for example, starting from page 5), you will need to split the PDF into sections, add numbers to one section, and recombine them — a process that takes longer than numbering everything. For most documents, it is simpler to number all pages and accept that the first few pages have numbers too.

What if I want page numbers in a specific format, like "Page 1 of 10"?

Adobe Acrobat supports this through the Header and Footer dialog — you can type custom text like "Page" and then insert a page number field. Online editors usually only support plain numbers. If you need custom formatting, Adobe Acrobat is your best option.

Will adding page numbers change the file size?

Adding page numbers increases file size slightly because you are adding text to every page, but the increase is usually less than 1 percent. A 5 MB PDF might become 5.02 MB. This is not a concern for most uses.

Can I add page numbers to a scanned PDF?

Scanned PDFs are images, not text, so standard page numbering tools cannot add numbers to them the same way. You can use an online editor to overlay page numbers on top of the scanned images, but the process is slower and the numbers may not align perfectly. For best results with scanned documents, use OCR (optical character recognition) software to convert the scan to a real PDF first, then add page numbers normally.

Do I need to save the file with a new name?

Most tools let you overwrite the original file or save it with a new name. If you are unsure whether you like the result, save it as a new file first (for example, "document_numbered.pdf") so you keep the original. Once you confirm the page numbers look right, you can delete the original or keep both versions.