Export your iMessage chats

Apple has no export button for Messages. A free open-source tool on a Mac turns your chats into text files we can read.

Last updated: 2026-12-04

You need a Mac that has your Messages (Messages in iCloud turned on), or an iPhone backup on a Mac. Export as txt: we can't read the html format.

On the Mac

  1. Install imessage-exporter (github.com/ReagentX/imessage-exporter). With Homebrew: brew install imessage-exporter. Prebuilt downloads are on its releases page.
  2. Give Terminal access to your messages: System Settings → Privacy & Security → Full Disk Access → turn on Terminal, then reopen Terminal.
  3. Run imessage-exporter -f txt -o ~/imessage_export. It writes one .txt per conversation and leaves your messages untouched.
  4. Optional: add -t 5558675309 (a number, email or contact name) to export only that chat, or -s 2026-01-01 to start at a date.
  5. Open the imessage_export folder in your home folder. Each file is named after the person, number or group.

From an iPhone backup instead

Make an unencrypted (or known-password) backup of the iPhone to the Mac in Finder, then add -p and the backup folder's path to the command above. The tool's README explains where the backup lives.

Good to know

  • Your own messages are labelled Me in the file. Contact names come from the Mac's Contacts; otherwise you see numbers or emails.
  • Reactions (tapbacks), photos and voice messages are counted. Their files are not needed and never uploaded.
  • Thread replies appear twice in the file; we count each message once.

Then

  1. Come back to Chat Recap and drop the conversation's .txt file (or several, or a .zip of them) onto the upload area. Nothing is uploaded to a server: the file is read in your browser.
  2. AirDrop it to your phone or open this site on the Mac.