# Export a WhatsApp chat to PDF with the photos

> Markdown version of https://stella.sh/how/chats-data-exports/export-whatsapp-chat-to-pdf for agents and LLMs.
> Turn a WhatsApp chat export (a zip of a .txt and photos) into a readable PDF with names, dates and pictures where they were sent, by hand or with Stella (stella.sh).

In WhatsApp on your phone, open the chat, choose Export chat from its menu and include media: you get a zip with a plain .txt of the messages and the photos as separate files. There's no built-in way to make that a PDF with the pictures in it; by hand you paste the photos into a Word document at each “file attached” line. Stella (stella.sh) builds the PDF from the zip on your computer, messages in order with names and dates, photos where they were posted, without uploading the chat to a converter site.

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

## Stella doing it

Recorded 14 November 2026 on Linux (Omarchy) with Claude Code with Opus, on a Claude plan.
Result: A 7-page PDF in about a minute and a half. Checked afterwards against an answer key written before the run: every message in it, in the original order, each with its sender's name, multi-line messages kept whole, all 7 photos in the PDF as pictures, and no bare “file attached” file names left in their place. The group, its members and photos are made up, written in WhatsApp's Android export format. The work is sped up 7×.

Video (43 s): https://stella.sh/media/proofs/chats-data-exports/export-whatsapp-chat-to-pdf/proof.mp4

Transcript:

- 0:00 Stella on a Linux computer. A WhatsApp group chat export, a zip, is in Downloads.
- 0:02 The prompt: a readable PDF of the chat with the photos in it.
- 0:11 Stella replies: messages in order with names and dates, photos where they were posted.
- 0:17 Reading the chat and laying out the pages, sped up 7×.
- 0:29 Done: 7 pages from March 6 to April 8, all 7 photos, and notes for what couldn't go on paper.

What Stella does:

1. Opens the WhatsApp export zip in Downloads: the chat's .txt, seven photos, a route-map PDF and a voice note
2. Reads every message in order, keeping the extra lines of multi-line messages with their message, and skipping the encryption notice and other system lines
3. Lays the chat out with a cover page, a date heading for each day, the sender's name on each message and the photos shown where they were sent
4. Puts a short note where something can't go on paper: the voice note, the route-map PDF and an item WhatsApp left out of the export
5. Saves `Trailblazers Hiking Club - WhatsApp chat.pdf` next to the zip and suggests keeping the zip for the audio and the map

## The prompt to paste

```text
I exported our hiking group's WhatsApp chat, it's the zip in my Downloads. Turn it into a nice readable PDF with the photos in it so I can keep it.
```

## Make the PDF yourself

1. **Export the chat from your phone.** Open the chat in WhatsApp. On Android, tap the three dots, More, Export chat; on an iPhone, tap the group or contact name at the top, then Export Chat. Choose Include media (Attach Media) to get the photos, and save the zip to your files or email it to yourself.
2. **Unzip it on your computer.** You get `_chat.txt` (or a .txt named after the chat) and one file per photo, video or voice note. Each message line starts with a date, time and the sender's name.
3. **Text only: print the .txt.** Open the .txt in TextEdit (File, Export as PDF) or Notepad (Print, Microsoft Print to PDF). That's quick, but photos appear only as file names such as `IMG-20260308-WA0003.jpg (file attached)`.
4. **With photos: build it in Word or Pages.** Paste the text into a document, then at each “file attached” line insert the matching photo (Insert, Pictures) and delete the file name. Save as PDF when done. For a long chat this is the slow part.

## Where Stella stops

- Voice notes and videos can't play on paper. Stella put a note in their place and the files stay in the zip.
- Stella works with the export you make on your phone; it can't reach WhatsApp or your phone itself. Disappearing and view-once messages aren't in exports at all.
- The chat text goes to the AI model you use in Stella while it lays out the PDF. Nothing is uploaded to a converter site.
- Some emoji may come out as plain symbols, depending on the fonts on your computer.
- Recorded on Linux. On a Mac or Windows PC Stella may first install Python or a PDF library, which wasn't recorded.

## Questions

**How do I export a WhatsApp chat with photos?**
In the chat's menu choose Export chat and pick Include media. WhatsApp makes a zip of the text and the media files and lets you share or save it. Very long chats may be cut short when media is included.

**Can I export a WhatsApp chat straight to PDF?**
No. WhatsApp only exports a text file plus media. Making a PDF with the pictures in place takes a word processor and some copying, or a tool such as Stella.

**Can it do a Messenger chat too?**
Yes, from your Facebook data download: see [read Facebook messages from your data download](https://stella.sh/how/chats-data-exports/read-facebook-messages-from-data-download).

**Can I keep emails the same way?**
Yes: see [convert EML to PDF](https://stella.sh/how/contacts-calendar-email/convert-eml-to-pdf), and [open an mbox file](https://stella.sh/how/contacts-calendar-email/open-mbox-file) for a whole mailbox download.

**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: [WhatsApp Help: How to export your chat history](https://faq.whatsapp.com/1180414079177245).

## Related problems

- [Read your Facebook messages from the data download](https://stella.sh/how/chats-data-exports/read-facebook-messages-from-data-download.md)
- [Convert EML files to one PDF, oldest first](https://stella.sh/how/contacts-calendar-email/convert-eml-to-pdf.md)
- [Combine photos into one PDF, in page order](https://stella.sh/how/photos-files/combine-photos-into-one-pdf.md)
- [See who doesn't follow you back on Instagram](https://stella.sh/how/chats-data-exports/see-who-doesnt-follow-you-back-on-instagram.md)
- [See your Spotify listening history, all time](https://stella.sh/how/chats-data-exports/see-your-spotify-listening-history.md)

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