Add page numbers to a PDF
A 16-page report numbered at the bottom of every page, in its own font.
A real run on 13 November 2026, on a Linux computer, using Claude Code with Opus, on a Claude plan. The waiting is sped up; it took 1 min 39 s in real time.
The short answer.
Preview on a Mac can't add page numbers, which is where many people get stuck. If you still have the Word or Pages file, add numbers there and export the PDF again. Otherwise use a free offline tool such as PDF24 Creator on Windows, or Acrobat's Header & Footer if you pay for it. Stella (stella.sh) adds the numbers to a copy, matches the document's font and checks that none of them sit on top of text.
Stella does this on Windows, Mac and Linux.
What happened.
All 16 pages numbered in about 1 minute 40 seconds. Checked afterwards against an answer key written before the run: every page shows its own number in the bottom 15% of the page, the page count is still 16, and all 16 original headings are still there.
The report is a fictitious charity's annual report, made for this run. The work is sped up 4×.
How Stella does it.
- Finds the annual report in Downloads: 16 pages, no numbers yet
- Adds a small grey number centred at the bottom of every page, in the report's own font
- Numbers the first page too, because this report has no separate cover; say so if yours does and should be skipped
- Checks that no number covers any of the report's text
- Saves a new file with “- numbered” added to the name and leaves the original as it was
The prompt.
Add page numbers to the bottom of every page of the annual report PDF in my Downloads.
This is the exact prompt from the recording. If your files are somewhere else, say where.
Do it yourself.
Start from the original document if you have it
In Word, choose Insert, Page Number, Bottom of Page; in Pages, click in the footer and choose Insert, Page Number. Then export a new PDF. The numbers become part of the layout, so they can't collide with text.
On Windows: PDF24 Creator
Install the free PDF24 Creator, open its Add page numbers tool, drop in the PDF, choose the bottom centre position and the first number, and save. It runs on your computer, so the report isn't uploaded anywhere.
With Adobe Acrobat
In Acrobat (paid), choose Edit PDF, Header & Footer, Add. Click into the centre footer box, use Insert Page Number, set the font size and bottom margin, and use Page Range Options if the cover should stay unnumbered.
On a Mac without Acrobat
Preview has no page number tool on any current macOS. Use a free offline PDF editor that has a header and footer or page number feature (PDFgear is one). Online tools like iLovePDF and Smallpdf do it too, but upload the file.
Check the bottom of every page
Page through the result at full size. Numbers can land on footnotes, table rows or an existing footer; if they do, raise the bottom margin setting or shrink the font and run it again.
Where it stops.
- It added plain numbers (1, 2, 3) centred at the bottom. For “Page 3 of 16”, another position, Roman numerals for front matter or an unnumbered cover, say so in the prompt.
- The numbers are stamped onto the pages of the PDF. If you later change the original Word file and export again, the new PDF needs numbering again.
- The report's text goes to the AI model you use in Stella while it works on the layout. For confidential documents, choose your model accordingly.
- Recorded on Linux, where Stella had the PDF tools it needed. On a Mac or Windows PC it may install a small PDF library first; that step wasn't recorded.
Questions.
Can Preview add page numbers to a PDF?
No. Preview can rotate, reorder, sign and redact pages, but it has no header, footer or page-number tool. Use the original document, a free PDF editor, or Stella.
How do I start numbering on page 2?
In Acrobat's Header & Footer, use Page Range Options and set the start number. In Word, tick Different First Page in the footer settings. With Stella, ask it to “skip the cover and start at 1 on page 2”.
Will adding page numbers change my PDF?
Acrobat and PDF24 write the numbers into whichever file you save. In the recording Stella saved a new copy with “- numbered” in the name, and the original was unchanged.
Can it also split or combine the PDF?
Yes, in the same chat. You can split a scanned pile into one PDF per document, or number a merged file after combining. If the result is too big to send, compress it.
Is Stella free for this?
Yes. Free with the ChatGPT or Claude plan you already have. Sign in with your ChatGPT plan, or use your Claude plan through Claude Code, and this task costs nothing extra. New accounts also get a small free trial of Stella’s own models.
Can I control what Stella changes on my computer?
Yes. Stella works on Windows, Mac and Linux with your own files and shows each step in the chat, so you can watch it and stop it at any point. Tell it what it may not do, as the prompts on these pages do (“don't delete anything without asking”). In the Downloads recording it deleted nothing until it was told to go ahead. It also refuses commands that would wipe a whole disk, your home folder or system folders.
Checked against these sources on 13 November 2026.