RepositoryRust
RE

ReagentX/imessage-exporter

Export iMessage data + run iMessage Diagnostics

5.8kstars
325forks
3issues
1views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: imessage

#1 Repository of the week

2
TINIX TRENDING·Topic: export

#2 Repository of the week

2
TINIX TRENDING·Topic: cli-app

#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

HTML Export Sample

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_data plist 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 typedstream format

Similar Projects

Discover other similar projects and AI models.

RepositorySwift
seemoo-lab/openhaystack

Build your own 'AirTags' 🏷 today! Framework for tracking personal Bluetooth devices via Apple's massive Find My network.

14.3k
Aug 17, 2026
RepositoryGo
majd/ipatool

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.

12.6k
Nov 17, 2026
RepositoryC++
BlueMatthew/WechatExporter

Wechat Chat History Exporter 微信聊天记录导出备份程序

8.7k
Nov 22, 2026
RepositoryJavaScript
elasticsearch-dump/elasticsearch-dump

Import and export tools for elasticsearch & opensearch

7.9k
Nov 1, 2026
RepositoryShell
ohmyzsh/ohmyzsh

🙃 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.

191.0k
Nov 29, 2026
Repository
Hack-with-Github/Awesome-Hacking

A collection of various awesome lists for hackers, pentesters and security researchers

127.1k
Oct 27, 2026
RepositoryJava
NationalSecurityAgency/ghidra

Ghidra is a software reverse engineering (SRE) framework

101.9k
Dec 1, 2026
RepositoryC++
WerWolv/ImHex

🔍 A Hex Editor for Reverse Engineers, Programmers and people who value their retinas when working at 3 AM.

56.2k
Dec 2, 2026
RepositoryC++
x64dbg/x64dbg

An open-source user mode debugger for Windows. Optimized for reverse engineering and malware analysis.

50.4k
Nov 22, 2026