← iPhone Texts to PDF

How to export iMessages from a Mac to PDF

If you use Messages on your Mac, the whole history is already on it: every iMessage, and your ordinary texts too if your iPhone forwards them to the Mac. You don't need an iPhone backup.

Why "File → Print" in Messages isn't enough

Where the Mac keeps your messages

In your user's Library folder, in ~/Library/Messages:

Chrome and Edge won't open anything in your Library folder, so you first copy the Messages folder somewhere else, such as the Desktop.

Step 1: copy the Messages folder to your Desktop

  1. Quit Messages (Messages → Quit Messages). This makes sure the newest messages are saved.
  2. In Finder, choose Go → Go to Folder… (or press Shift-Command-G), type ~/Library and press Return.
  3. Right-click the Messages folder and choose Copy “Messages”.
  4. Click an empty part of the Desktop and choose Edit → Paste Item. A big message history can take a few minutes to copy.

If the Mac says you don't have permission (Full Disk Access)

macOS protects the Messages folder, and on some Macs Finder can't copy it, or the copy comes out empty. Then copy it with Terminal after giving Terminal "Full Disk Access":

  1. Open System Settings → Privacy & Security → Full Disk Access. On macOS Monterey and older it's System Preferences → Security & Privacy → Privacy → Full Disk Access (click the padlock first).
  2. Turn on Terminal. If it isn't in the list, click +, go to Applications → Utilities, choose Terminal, and enter your Mac password if asked.
  3. Open Terminal (Applications → Utilities → Terminal), paste this line and press Return:
    cp -R ~/Library/Messages ~/Desktop/Messages
  4. When it finishes (the prompt comes back), you can turn Full Disk Access for Terminal off again.

This only copies your messages. Nothing in the original folder is changed.

Step 2: make the PDF

  1. Open iPhone Texts to PDF in Chrome or Edge, choose Mac, then Choose Messages folder and pick the Messages folder on your Desktop. Nothing is uploaded: it all runs in your browser.
  2. Pick the conversation. iMessages and texts with the same person are shown together, as on your Mac.
  3. Set the dates and time zone you need, and check the preview.
  4. Click Save as PDF and choose "Save as PDF" as the printer. Or save a spreadsheet (CSV).
  5. Delete the copied Messages folder from your Desktop when you're done.

The PDF starts with a summary (who, which period, how many messages, and a SHA-256 fingerprint of chat.db) and then lists every message by day, with its time and sender, photos in place, and reactions, replies, edits and unsent messages marked.

Things to know

Make a PDF from your Mac's messages: the preview is free