Skip to content

imessage-exporter

Command-line tool that exports and archives your iMessage history to text or HTML

Copyleft (OSI) · GPL-3.0
  • macOS
  • Linux
  • CLI

Listed by , founder & editor

73

Health

Active

Overview

Stars

5,781

Last commit

8 days ago

Nov 2026

Repository age

4 years

since May 2022

Latest version

5.0.1

Oct 2026

Contributors

–

1 active in 90 days

Releases

9

last 12 months

Language

Rust

imessage-exporter reads the iMessage database and writes your conversations to portable files. It is a Rust project that ships as a command-line binary and as a library, imessage_database, which exposes message data as native structures. The binary exports to txt or html, and it only reads data, so your original database stays untouched.

It keeps attachments such as images, videos and audio with the conversations. It supports iMessage, RCS, SMS and MMS, along with threads and replies, formatted text, tapbacks, stickers, edited messages, group chats, audio messages, URL previews, Apple Pay and handwritten messages. It can also run diagnostics to find problems in the iMessage database.

You can install it with Homebrew on macOS, and it runs on Linux and Windows as well. It is licensed under GPL-3.0 and maintained mostly by one contributor, with nine releases in the last year and version 5.0.1 current. People use it to back up message history, move it between devices, or keep records for retention needs.

Who it's for

iPhone users who want a local archive of their messages

It exports conversations and attachments to plain text or HTML you can keep anywhere.

Skip if: You want a graphical app with point-and-click backup, since this is a command-line tool.

People moving off Apple devices

Open formats let you keep your message history after you switch platforms.

Skip if: You need to import messages into another chat app, because the tool exports files only.

Developers and forensic or compliance staff reading iMessage data

The Rust library gives structured access to messages, and the binary can diagnose the database.

Skip if: You need a vendor-supported compliance product with formal retention workflows.

The problem it solves

Your iMessage history sits in a database that Apple provides no simple way to export. If you switch phones or want a backup, conversations and attachments are hard to get out. This tool turns that database into readable files.

Strengths

  • Exports to txt or html with images, video and audio kept alongside
  • Handles iMessage, RCS, SMS, MMS, tapbacks, edits, threads and group chats
  • Read-only operations leave the source database unchanged
  • Includes a diagnostics mode for the iMessage database
  • Usable as a Rust library as well as a binary

Trade-offs

  • Command-line only, with no graphical interface
  • Export formats are limited to txt and html
  • Maintained largely by a single contributor
  • Does not write messages back to a phone or another app

Frequently asked questions

Which formats does it export to?

The binary writes txt and html files. Attachments such as images, videos and audio are preserved with the conversations.

Which operating systems does it run on?

macOS, Linux and Windows. On macOS you can install it with Homebrew.

Will it change my iMessage data?

No. The operations it performs are read-only, so the original database is not modified.

How is it licensed?

It is released under the GPL-3.0 license and is free to use.

Does it support RCS and SMS?

Yes. It covers iMessage, RCS, SMS and MMS, plus features like replies, tapbacks, stickers and edited messages.

Similar tools in Backup and archiving software

Portabase

Backup and archiving software

Self-hosted web tool to schedule, store and restore backups of many database engines

1.9k 145 5 days ago Thriving Apache-2.0

lsyncd

Backup and archiving software

Daemon that mirrors a local directory to a remote target using rsync

6.1k 476 2 years ago Dormant GPL-2.0

Ludusavi

Backup and archiving software

Cross-platform backup tool for PC game saves, with GUI and command line

6.6k 156 15 days ago Active MIT

Vorta

Backup and archiving software

Desktop backup client for macOS and Linux built on BorgBackup

2.5k 253 4 days ago Thriving GPL-3.0

Pluton

Backup and archiving software

Self-hosted backup manager with a web UI, built on Restic and Rclone

894 38 today Thriving Apache-2.0

snapraid

Backup and archiving software

2.6k 98 today Thriving Unknown