How to export an iMessage chat (iPhone, Mac)

Apple doesn't give Messages an export button, so there are two ways round it. On just your iPhone, screen-record the chat while you scroll back. On a Mac, a free tool exports every message as a text file.

Open the chat in Messages
  1. Open the chat in Messages
  2. Swipe down from the top right, then tap Screen Recording
  3. Drag the chat down, as fast as you can, weeks or months back
  4. Tap the red time, then Stop
  5. Go back to Chat Detective in your browser
  6. Tap the upload box, then Photo Library
  7. Tap your screen recording, the newest video
  8. Uploaded! The Detective has your chat

On your iPhone: screen-record the chat

No Mac, no problem. You record yourself scrolling back through the conversation, then upload the video. The messages are read from it frame by frame.

  1. Open the chat in Messages.
  2. Swipe down from the top right corner and tap Screen Recording.
  3. Drag the chat down, as fast as you can, weeks or months back.
  4. Tap the red time at the top of the screen, then Stop.
  5. Come back here, choose "On your iPhone", tap the upload box and pick your screen recording.

A few things make it work better. Hold the phone upright. Turn off the conversation background while you record (in Settings › Apps › Messages; it may be labelled differently on older iOS). Don't open photos or voice notes on the way. And scroll back far enough: at least 50 messages are needed, and more is better.

This route is for chats with one person. For a group, use a Mac.

On a Mac: export every message (free)

This is the more accurate route. It uses a free open-source tool called imessage-exporter and a few lines in Terminal.

  1. Make sure Messages on your Mac is signed in to the same Apple Account as your iPhone, and that Messages in iCloud has synced the conversation.
  2. Open Terminal and run brew install imessage-exporter.
  3. Give Terminal Full Disk Access: System Settings → Privacy & Security → Full Disk Access, then switch on Terminal. Quit and reopen Terminal.
  4. Run imessage-exporter -f txt -t "<phone or email>" with the other person's number or email as it appears in Messages.
  5. The tool prints where it saved the export. Upload that .txt file.

Numbers match best in full international format, like +44 7700 900123. You can switch Full Disk Access off again once you're done.

On a Mac or Windows PC: iMazing

iMazing is a paid third-party app that reads messages from an iPhone backup. Chat Detective isn't affiliated with it.

  1. Install iMazing and connect your iPhone.
  2. Let it back up the phone, or load an existing backup.
  3. Open Messages in iMazing and select the conversation.
  4. Export it as CSV.
  5. Upload the .csv file.

What about exporting to PDF?

Plenty of people search for a way to save iMessages as a PDF. A PDF is fine for printing or keeping, but it can't be uploaded here: PDFs lose the structure that says who sent what, and when. If you want the Detective's take, use one of the routes above and upload the .txt, the .csv or the video. If you already made a PDF, keep it for yourself and export again.

Common problems

Older messages are missing from the Mac export

imessage-exporter only sees what Messages on that Mac has downloaded. Open Messages, scroll back in the chat, let iCloud finish syncing, then export again.

The export is empty or shows the wrong chat

Check what you typed after -t. It has to match the number or email exactly as Messages shows it, in quotes. Try the full international number if the short one fails.

The recording was rejected

Usually it's too short, scrolled the wrong way (toward newer messages), or the background made the bubbles hard to read. Record again, dragging down toward older messages, with the background off.

One file, one conversation

Each upload is a single chat. If you exported several conversations, pick the one you actually want a take on.

Once you have your file or video, drop it in the upload box below. The file is opened on your device first, and only the message text is uploaded, encrypted.

Got the file? Ask the Detective

How do I export my chat?

Opened on your device. Never used for training. Deleted 7 days after your take. It's their chat too, so ask first where you can. Privacy

Questions

Which is better, the screen recording or the Mac export?

The Mac export. It gets every message with exact times, years of them in one go. The screen recording is the fallback when you don't have a Mac: it's slower, less exact on long chats, and only goes as far back as you scroll.

Can I export an iMessage group chat?

Yes, but only through a Mac or iMazing. Screen recordings work for chats with one person for now, and a recording of a group will be turned down with a note saying so.

Are green-bubble texts included?

In a screen recording, whatever is on screen gets read. With imessage-exporter, SMS texts are included when your iPhone forwards them to your Mac, so if green bubbles are missing, check that your iPhone forwards texts to that Mac.

Do I need to pay for anything?

No. imessage-exporter is free and so is a screen recording. iMazing is a paid third-party app, and it's only one option. Chat Detective is free too, and isn't affiliated with either tool.

Will the other person know I exported our messages?

No. Nothing in either route sends anything to them or shows up in the conversation. It all happens on your own phone or computer.