The Grey Mirror

imessage-exporter or Unbubble: which iMessage exporter to use

imessage-exporter is a free, open-source command-line tool that runs on a computer and reads the Messages database on a Mac or an iPhone backup, writing HTML or text files. Unbubble is a free, open-source iPhone app that exports a conversation to PDF or CSV on the iPhone itself, with no computer, Terminal or backup. If you have a Mac and are comfortable in Terminal, imessage-exporter is excellent for archiving everything at once. If you only have your iPhone, use Unbubble.

By Layne Weant

Published

Updated

imessage-exporter vs Unbubble

When imessage-exporter is the better choice

You want every conversation archived in one run, you already use a Mac with Messages in iCloud, or you want HTML pages to browse. It is a mature, well-maintained project; follow its own install and usage instructions.

When Unbubble is the better choice

You have an iPhone and no Mac, you do not want to make a computer backup, or you need a PDF to print or a CSV for Excel of one particular conversation. Unbubble runs entirely on the iPhone and connects only to 127.0.0.1, the iPhone’s own address.

  1. Download Unbubble free from the App Store.
  2. Tap Start export and add the Unbubble Export shortcut once.
  3. Choose the conversation and tap Allow when iPhone asks about 127.0.0.1.
  4. Save it as PDF, CSV or CSV with attachments.

Analyze either export

Grey Mirror reads both: the HTML or text files from imessage-exporter and the PDF or CSV from Unbubble, with no size cap.

Analyze your iMessage export free

Upload the file to Grey Mirror and see who reaches out first, how reply times changed and when the conversation turned, with the messages behind every finding. The first analysis is completely free, with no card required.

Two free, open-source iMessage exporters, checked November 2026
What you getimessage-exporter (computer tool)Unbubble (iPhone app)
Runs onA computer, from the command lineiPhone with iOS 26 or later, as an app
ReadsThe Messages database on a Mac, or an iPhone backup made on a computerThe conversation on the iPhone, through an Apple Shortcut you approve
OutputHTML or plain text filesPDF, CSV, or CSV with every attachment
ScopeEvery conversation at onceOne conversation at a time
NeedsTerminal, plus installing the toolNothing beyond the App Store
PriceFree, open sourceFree, open source, no account

Frequently Asked Questions

Does imessage-exporter work on iPhone?

No. imessage-exporter runs on a computer. It can read an iPhone backup made on that computer, but it does not run on the iPhone. To export on the iPhone itself, use Unbubble.

What is the best free iMessage exporter without a Mac?

Unbubble. It is free and open source and exports a conversation to PDF or CSV on the iPhone, with no Mac, PC, cable or backup.

How do I use imessage-exporter?

Install it on your computer, then run it from Terminal to read your Messages database or an iPhone backup and write HTML or text files. Its GitHub page has the exact commands. If Terminal is not for you, Unbubble exports a single conversation on the iPhone with a few taps.

Can Grey Mirror read imessage-exporter files?

Yes. Upload the HTML or text file for the conversation. Grey Mirror accepts any file type with no size cap.

References and methodology

Related Grey Mirror guides

Start here

Keep the distinctions

Two free ways to export iMessages

Visual guide updated

  1. imessage-exporter on a computer

    A free command-line tool that runs on a Mac or PC and reads the Messages database there.

  2. Unbubble

    A free, open-source iPhone app that exports a conversation straight from the phone, no computer needed.

  3. The file you get

    Unbubble saves a PDF, a CSV, or a CSV with attachments directly to the Files app.

Conceptual reading guide. This diagram explains what to inspect; it is not a customer report, diagnostic test or measured relationship score.
Use this guide on the question you came with

Pick Unbubble when the messages live only on your iPhone, and imessage-exporter when a Mac already holds the full Messages history.