# Combine photos into one PDF, in page order

> Markdown version of https://stella.sh/how/photos-files/combine-photos-into-one-pdf for agents and LLMs.
> Turn phone photos of a document's pages into one PDF in page order, upright and small enough to email: Finder's Create PDF, print to PDF, or Stella (stella.sh).

On a Mac, select the photos in Finder in page order, right-click and choose Quick Actions, Create PDF. On Windows, select them, right-click, Print, and choose Microsoft Print to PDF. Watch for sideways photos, iPhone HEIC files some tools reject, and a PDF too big to email. Stella (stella.sh) reads the page numbers to get the order right, turns sideways pages upright and makes one small PDF.

- Checked: 13 November 2026
- Stella does it on: Windows, Mac, Linux

## Stella doing it

Recorded 13 November 2026 on Linux (Omarchy) with Claude Code with Opus, on a Claude plan.
Result: One 12-page PDF of 2.6 MB in about 1 minute 30 seconds. Checked afterwards against an answer key written before the run: page n is photo n with none missing or repeated, every page is upright including the two sideways photos, the file is well under the 20 MB email limit, and the photos are unchanged. The photos are generated pictures of a fictitious tenancy agreement on a desk, at phone resolution; two are stored sideways and two are HEIC, on purpose. The work is sped up 4×.

Video (42 s): https://stella.sh/media/proofs/photos-files/combine-photos-into-one-pdf/proof.mp4

Transcript:

- 0:00 Stella on a Linux computer. 12 phone photos of a rental agreement's pages are in Downloads.
- 0:02 The prompt: one PDF, in page order, small enough to email.
- 0:11 Stella replies: it'll put the pages in order by reading them and make one compressed PDF that's easy to read.
- 0:17 Ordering, rotating and combining the photos, sped up 4×.
- 0:28 Done: 12 pages in order, 2.5 MB, two sideways photos turned upright, the photos unchanged.

What Stella does:

1. Finds the 12 page photos in Downloads, including two iPhone HEIC files mixed in with the JPGs
2. Puts them in order by reading the “Page N of 12” printed on each page, rather than trusting the file names, and checks none are missing or repeated
3. Turns the two photos that were taken sideways the right way up
4. Compresses the pages so the PDF is 2.5 MB while the small print stays readable
5. Names the PDF after the document (“Rental Agreement - 12 Orchard Row”), leaves the photos unchanged, and offers to crop and straighten the slightly tilted pages

## The prompt to paste

```text
I photographed every page of my rental agreement with my phone. The photos are in Downloads. Make them into one PDF, in page order, small enough to email.
```

## Combine them yourself

1. **Get the order right first.** Rename the photos or sort them so they're in page order: phone file names usually follow the order you took them, but a retaken page lands at the end. Check the page numbers on the paper if there are any.
2. **On a Mac: Create PDF in Finder.** Select the photos in Finder (click the first, Shift-click the last), right-click and choose Quick Actions, Create PDF. Finder makes one PDF in the same folder and respects the rotation stored in each photo. HEIC files work too.
3. **On Windows: print to PDF.** Select the photos in File Explorer, right-click and choose Print (under Show more options on Windows 11), pick Microsoft Print to PDF and a full-page layout, and untick Fit picture to frame if edges get cut off. HEIC photos need the HEIF Image Extensions from the Microsoft Store.
4. **Shrink it to email.** Phone photos make big PDFs, often 30 MB or more. On a Mac, open the PDF in Preview, File, Export, and choose Reduce File Size in Quartz Filter; on Windows, PDF24 Creator's Compress tool works offline. Check the small print afterwards.
5. **Scanning next time.** The Notes app on iPhone (Scan Documents) and Google Drive on Android scan pages straight into one PDF, cropped and flattened, which saves this whole job.

## Where Stella stops

- It didn't crop or straighten the pages, so a bit of desk shows at the edges and some pages are slightly tilted. It said so and offered to fix it; ask for it in the prompt if you want a clean scan look.
- Stella read each page to find its page number, so the page images or their text go to the AI model you use in Stella (here Claude). For very private documents, choose your model accordingly.
- Recorded on Linux, where the image tools it needed, including HEIC support, were available. A Mac has the built-in sips tool for HEIC; on Windows Stella may install an image library first, which wasn't recorded.

## Questions

**How do I combine photos into one PDF on iPhone?**
Select the photos in the Photos app, tap Share, then Print, and pinch out on the preview to get a PDF you can save to Files. Or scan the pages from the start with Notes, Scan Documents.

**Why are some pages sideways in my PDF?**
Phones often save photos sideways with a tag telling viewers to turn them. Tools that ignore the tag put those pages sideways. Finder's Create PDF and Stella both read it.

**How small does the PDF need to be for email?**
Under about 20 MB to be safe: Gmail allows 25 MB and Outlook suggests 20. For forms and portals with a 2 to 5 MB limit, see [compress a PDF](https://stella.sh/how/pdf-excel/compress-pdf-too-large-to-email).

**Can I make the PDF searchable?**
Yes. The pages are photos, so search finds nothing until OCR runs: [make a scanned PDF searchable](https://stella.sh/how/pdf-excel/make-scanned-pdf-searchable). If the photos are HEIC and you need JPGs too, [convert HEIC to JPG](https://stella.sh/how/photos-files/convert-heic-to-jpg).

**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.

Sources: [Apple: Perform quick actions in Finder on Mac](https://support.apple.com/guide/mac-help/mchl97ff9142/mac), [PDF24 Creator](https://tools.pdf24.org/en/creator).

## Related problems

- [Reduce PDF file size when it's too large to email](https://stella.sh/how/pdf-excel/compress-pdf-too-large-to-email.md)
- [Make a scanned PDF searchable](https://stella.sh/how/pdf-excel/make-scanned-pdf-searchable.md)
- [Convert HEIC photos to JPG in bulk](https://stella.sh/how/photos-files/convert-heic-to-jpg.md)
- [Make a contact sheet of photos with file names](https://stella.sh/how/photos-files/make-a-contact-sheet.md)
- [Merge PDF files into one, in the right order](https://stella.sh/how/pdf-excel/merge-pdf-files.md)
- [Google Takeout photos have the wrong date? Put the real dates back](https://stella.sh/how/photos-files/fix-google-takeout-photo-dates.md)

Get Stella: https://stella.sh/download. Free with the ChatGPT or Claude plan you already have.
