Merge PDF files into one, in the right order
One PDF from a folder of documents and a phone photo, in the order a checklist asks for.
A real run on 14 November 2026, on a Linux computer, using Claude Code with Opus, on a Claude plan. The waiting is sped up; it took 1 min 25 s in real time.
The short answer.
On a Mac, open the first PDF in Preview, show thumbnails, drag the other files (photos too) into the sidebar in the order you want and export a new PDF. On Windows, the free PDF24 Creator merges files offline: drop them in, drag them into order, save. Stella (stella.sh) does it from a description instead: it reads what each file is, follows a checklist, turns photos into pages and leaves out what doesn't belong.
Stella does this on Windows, Mac and Linux.
What happened.
One 16-page PDF in about 1½ minutes. Checked afterwards against an answer key written before the run: every document in the checklist's order, the licence photo included as a page, the 2024 payslip left out, payslips and statements in date order, each document's own pages in order, every page there exactly once, and the original files unchanged. Missed one optional point: the PDF has no bookmarks for jumping between documents.
The mortgage application, the lender and every document (including the licence photo) are fictitious, made for this run. The work is sped up 3×.
How Stella does it.
- Reads the lender's checklist in the Mortgage application folder: seven items, in a set order
- Opens every file to see what it is, since names like scan0042.pdf and IMG_4471.jpg don't say: the application form, a phone photo of a driving licence, a council tax bill, four payslips, a P60, three statements and a gift letter
- Leaves out the May 2024 payslip, which isn't one of the last three, and the checklist itself
- Puts the licence photo on its own A4 page, keeps the landscape P60 landscape, and runs payslips and statements oldest to newest
- Saves “Mortgage application - Northgate.pdf” (16 pages) next to the originals, which are unchanged
- Flags two things for you before sending: the council tax bill is just over three months old, and October's payslip and statement may now be due
The prompt.
I'm applying for a mortgage and the lender wants everything as one PDF. All the documents are in the Mortgage application folder in my Documents, along with their checklist. Combine them into a single PDF in the order the checklist asks for. Only include what's on the checklist.
This is the exact prompt from the recording. If your files are somewhere else, say where.
Do it yourself.
Decide the order first
Write the order down before you start, from the checklist or the way the reader will expect it. Put dated documents (payslips, statements) oldest to newest, and check each file is the one you think it is: scanned files often have names like scan0042.pdf.
On a Mac: Preview
Open the first PDF in Preview and choose View, Thumbnails. Drag the other PDFs, and any JPG or PNG photos, from Finder into the thumbnail sidebar where you want them, then drag thumbnails to fix the order. Choose File, Export as PDF and give it a new name so the originals stay as they were.
On Windows: PDF24 Creator
Install the free PDF24 Creator (it works offline, so your documents aren't uploaded) and open its Merge PDF tool. Drop in the files, photos included, drag them into order and save. Microsoft Edge can open PDFs but can't combine them.
Photos of documents
A phone photo of an ID or a receipt goes in as its own page. If it comes out huge or sideways, rotate it before adding, or print it to PDF first (File, Print, Save as PDF on a Mac; Microsoft Print to PDF on Windows).
Check the result
Flick through the merged file once: page count, nothing upside down, nothing doubled. If a lender or office has a size limit, see the guide to compressing a PDF that's too large to email.
Where it stops.
- Stella follows the checklist or order it's given and says what it left out. If nothing says what belongs, it merges everything and tells you the order it chose.
- This run made a plain PDF with no bookmarks, which was an optional point in the answer key. Ask for bookmarks per document if the reader will want to jump around.
- Password-protected PDFs need the password first: see remove a password from a PDF.
- Stella reads the documents to know what each one is, so their text (and the photo) goes to the AI model you use in Stella. The merging happens on your computer, and nothing is uploaded to a PDF website.
- Recorded on Linux with free Python PDF tools. On a Mac or Windows PC Stella uses the same kind of tool, installing it if needed.
Questions.
How do I merge PDF files for free without uploading them?
Preview on a Mac and the free PDF24 Creator on Windows both merge on your own computer. Online merge sites are convenient but they upload the files, which matters for payslips, statements and ID.
Can I combine PDFs and JPG photos into one PDF?
Yes. Preview and PDF24 both accept images and make each one a page. For a whole set of photos, see combine photos into one PDF.
How do I get the pages in the right order?
Drag the thumbnails before saving. If pages are already merged in the wrong order, reorder PDF pages covers fixing it afterwards.
The merged PDF is too big to send. What now?
Compress it: make a PDF small enough to email. To go the other way and break one PDF up, split a PDF into multiple files.
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 14 November 2026.