ReagentX/imessage-exporter
Export iMessage data + run iMessage Diagnostics
Featured achievements
The project's latest awards
#1 Repository of the week
#2 Repository of the week
#2 Repository of the week
imessage-exporter
This crate provides both a library to interact with iMessage data as well as a binary that can perform some useful read-only operations using that data. The aim of this project is to provide the most comprehensive and accurate representation of iMessage data available.
This free and open-source software can:
- Save, export, backup, and archive iMessage data to open, portable formats
- Preserve multimedia content (images, videos, audio) from conversations
- Facilitate easy migration of message history between devices and platforms
- Run diagnostics on the iMessage database
- Give you full ownership and control over your communication history
- Support compliance with data retention policies or legal requirements
- Run on macOS, Linux, and Windows
Example Export

Binary
The imessage-exporter binary exports iMessage data to txt or html formats. It can also run diagnostics to find problems with the iMessage database.
Installation instructions for the binary are located here.
Library
The imessage_database library provides models that allow us to access iMessage information as native, cross-platform data structures.
Documentation for the library is located here.
Supported Features
This crate supports every iMessage feature as of macOS Tahoe 26.5.1 (25F80) and iOS 26.5.1 (23F81):
- iMessage, RCS, SMS, and MMS
- Multi-part messages
- Replies/Threads
- Formatted text
- Attachments
- Expressives
- Tapbacks
- Stickers
- Apple Pay
- Group chats
- Digital Touch
- URL Previews
- Audio messages
- App Integrations
- Edited messages
- Business messages
- Handwritten messages
See more detail about supported features here.
Frequently Asked Questions
The FAQ document is located here.
Special Thanks
- All of my friends, for putting up with me sending them random messages to test things
- SQLiteFlow, the SQL viewer I used to explore and reverse engineer the iMessage database
- Xplist, an invaluable tool for reverse engineering the
payload_dataplist format - Compart, an amazing resource for looking up esoteric unicode details
- GNU Project and Archive.org, for hosting source code referenced to reverse engineer the
typedstreamformat
Similar Projects
Discover other similar projects and AI models.
Build your own 'AirTags' 🏷 today! Framework for tracking personal Bluetooth devices via Apple's massive Find My network.
Command-line tool that allows you to search for iOS, iPadOS, tvOS, watchOS, visionOS, and macOS apps on the App Store, and download .ipa or macOS .pkg app packages.
Import and export tools for elasticsearch & opensearch
🙃 A delightful, community-driven framework for managing your zsh configuration. Built by 2,600+ contributors, with hundreds of plugins (git, rails, laravel, node, python, docker, kubectl, aws, and more), themes to spice up your terminal, and automatic updates to keep your command line feeling like home.
A collection of various awesome lists for hackers, pentesters and security researchers
🔍 A Hex Editor for Reverse Engineers, Programmers and people who value their retinas when working at 3 AM.
An open-source user mode debugger for Windows. Optimized for reverse engineering and malware analysis.