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
- Install imessage-exporter (github.com/ReagentX/imessage-exporter). With Homebrew:
brew install imessage-exporter. Prebuilt downloads are on its releases page. - Give Terminal access to your messages: System Settings → Privacy & Security → Full Disk Access → turn on Terminal, then reopen Terminal.
- Run
imessage-exporter -f txt -o ~/imessage_export. It writes one.txtper conversation and leaves your messages untouched. - Optional: add
-t 5558675309(a number, email or contact name) to export only that chat, or-s 2026-01-01to start at a date. - Open the
imessage_exportfolder 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
- Come back to Chat Recap and drop the conversation's
.txtfile (or several, or a.zipof them) onto the upload area. Nothing is uploaded to a server: the file is read in your browser. - AirDrop it to your phone or open this site on the Mac.