How to save a WhatsApp chat as a PDF on a Mac

By

Export the chat from WhatsApp on your phone, then turn it into a PDF on your Mac. TextEdit can print the text for free, without the photos. Here's how both ways went, step by step.

A lawyer, a landlord or an insurance company wants a WhatsApp conversation on paper. Screenshots of a long chat get messy fast, and the photos and the dates have to be there too.

The short answer: export the chat from WhatsApp on your phone, move the file to your Mac, and print it to PDF. The Mac can do that for free with TextEdit, as plain text without the photos. Chat to PDF for WhatsApp makes a PDF with the photos in the messages and page numbers on every page.

How do I get the chat onto my Mac?

The export happens on the phone. These steps are WhatsApp’s own, from its Help Center page “How to export your chat history”.

On an iPhone:

  1. Open the chat.
  2. Tap the contact’s name or the group’s name, then Export chat.
  3. If the chat has photos or videos, choose With all media, With selected media… or Without media.
  4. Choose how to send it, for example Save to Files.

On Android, tap the three dots at the top, then More, then Export chat, and pick Without media or Include media.

WhatsApp’s iPhone page says the chat is exported as a ZIP file. Get it onto your Mac the way you move any other file from your phone.

Everything below starts from that zip, on a test Mac running macOS 15 Sequoia. The chat, between Nora Field and Sam Okafor, and the people in it are made up.

  1. Double-click the zip in the Finder. It turns into a folder with the same name.
  2. Open the folder and double-click _chat.txt. It opens in TextEdit.

Every message is one line: the date and time in brackets, the sender, then the text. A photo is a line like <attached: 00000012-PHOTO-2023-05-14-21-07-02.jpg>.

TextEdit showing _chat.txt from the export: lines that start with a date and time in brackets, like 14/05/2023, 21:04:01, then Nora Field or Sam Okafor and the message, with lines like attached: 00000012-PHOTO-2023-05-14-21-07-02.jpg where photos were sent

iPhone exports put invisible marks in front of some lines. TextEdit showed them as nothing, on screen and in the PDF.

  1. Choose File › Print….
  2. Click PDF at the bottom left of the print window. A save window opens.
  3. Type a name and click Save.

The PDF opened in Preview as one page of plain lines, the same as the text file. The photos aren’t in it: only their file names are. There are no page numbers either (the print window’s Print header and footer box was off).

Preview showing the PDF made from TextEdit, 1 page: the chat as plain monospaced lines with dates, names and attached file names, and no pictures

For a short chat with no photos, this can be enough. It’s free and takes seven clicks.

Can I add the photos by hand?

Here’s what happened when a photo from the folder was dragged into the TextEdit window:

  • The text file is plain text, so TextEdit pasted the photo’s location on the Mac as text, not the picture.
  • After Format › Make Rich Text, the drag worked, but TextEdit asked “Convert this document to RTFD format?” first. Convert put the photo in.
  • The photo came in at its full size, wider than the window.
  • File › Print… said “Page 1 of 1”. The PDF stopped at the line before the photo: no photo, and none of the messages after it.

TextEdit also saved those changes into the export’s own file, so the folder had _chat.rtfd instead of _chat.txt. The zip still had the original. If you try this, choose File › Duplicate first and work on the copy.

Save it with Chat to PDF for WhatsApp

Chat to PDF for WhatsApp is a Mac app I made that turns the export into a PDF. It’s my own app, not made by, affiliated with or endorsed by WhatsApp or Meta. It costs $20, paid once.

  1. Click Choose a Chat… and pick the zip. There’s no need to unzip it. Dropping it on the window works too.
  2. The chat shows as bubbles, with the photos. You are was already set to Sam Okafor, because the chat is named after the other person. Your messages go on the right.

Chat to PDF for WhatsApp showing the chat Nora Field, 12 messages, Nora Field and Sam Okafor, as bubbles with a photo inside Nora's message, and on the right You are Sam Okafor, From 5/14/2023, To 5/16/2023, Paper A4 or Letter, Text size Medium, Show photos and videos on, Show seconds in the times off, and above Save PDF the line Check the messages on the left, then click Save PDF and choose where to put it

  1. Click Save PDF…, pick a name and a folder, and click Save.

The window then says what’s in the PDF, and what isn’t: “Saved “Nora Field.pdf”: 12 messages on 3 pages.”, with a note for the photo WhatsApp left out of the export, one for a photo named in the chat that isn’t in the zip, and “2 voice notes and documents can’t go on paper, so the PDF names them.” for the voice note and the document.

The app after saving: Saved Nora Field.pdf, 12 messages on 3 pages, with three notes about a file left out of the export, a file named in the chat that isn't in the export, and 2 voice notes and documents that can't go on paper, and the buttons Show in Finder, in blue as the default, Make Another PDF and Open Another Chat

In Preview, page 1 lists the people, the dates (May 14, 2023 to May 16, 2023), the number of messages and the day the PDF was made. Page 2 has a heading for the day, each message with its sender and time, and the photo inside Nora’s bubble. The footer says “Nora Field · WhatsApp chat · made on November 14, 2026” and “Page 2 of 3”.

Preview showing page 2 of 3 of the app's PDF: a heading for Sunday, May 14, 2023, WhatsApp's encryption notice in grey, bubbles from Nora Field and Sam Okafor with times, a photo inside a bubble, a voice note named as Audio, and the footer with Page 2 of 3

The two PDFs side by side

TextEdit, then PrintChat to PDF for WhatsApp
PhotosOnly their file namesInside the message they were sent in
Sender and timeOn each line, as in the text fileOn each bubble
A heading for each dayNoYes
Page numbersNo”Page 2 of 3” on every page
A first page with the people and datesNoYes
Photos that aren’t in the exportNot mentionedNamed where they were, and listed after saving
Clicks from the zip to the PDF75
Two ways from a WhatsApp chat to a PDFOn the phone, Export chat makes a zip. On the Mac, the free way unzips it, opens the text file in TextEdit and prints it to a PDF with text only. The app opens the zip directly and saves a PDF with the photos inside the messages.Chat in WhatsApp onthe phoneExport chatZip file on the MacDouble-click tounzip_chat.txt inTextEditFile, Print, PDFPDF with text onlyChat to PDF forWhatsAppSave PDFPDF with photos,days and pagenumbers

Get Chat to PDF for WhatsApp

Turn a chat exported from WhatsApp into a clean PDF: every message with its sender, date and time, the photos where they were sent, and page numbers. For a lawyer, a court, a landlord, or to keep.

See Chat to PDF for WhatsApp → · Read the docs · $20. See the app page for tax details.

More tutorials for my apps →

Want me to talk about your product? You can sponsor this site.