macOS
brew install imessage-exporterlocal Homebrew formula metadata
brew
Command-line tool to export and inspect local iMessage database. Version 4.2.0 via Homebrew; verified 2026-06-19.
install
brew install imessage-exporterlocal Homebrew formula metadata
overview
Command-line tool to export and inspect local iMessage database
history
iMessage Exporter is a Rust CLI and library for reading Apple's Messages databases and exporting message history to portable formats. It is package-nerd interesting because it turns a private, shifting Apple data store into a reproducible command-line archive workflow.
The repository was created in May 2022. Its README describes a dual crate: a binary named imessage-exporter and a library named imessage_database for accessing iMessage data as native cross-platform structures.
The project grew from basic export into detailed reverse engineering of Messages.app data. The feature docs cover macOS chat.db, iOS backups, jailbroken iOS filesystem data, typedstream message bodies, attachments, edited and unsent messages, tapbacks, stickers, URL previews, Apple Pay messages, Digital Touch, and many other message forms.
Release 3.0.0 in June 2025 adopted the crabstep typedstream deserializer and emphasized performance. Release 4.0.0 in March 2026 added jailbroken iOS filesystem support, restructured diagnostics, dependency reductions, API breaks, and HTML-output hardening.
The binary docs list installation through Cargo, Homebrew, prebuilt macOS binaries, and source builds. Homebrew formula metadata records bottled distribution, while the GitHub repository has accumulated several thousand stars, indicating visibility beyond a narrow personal script.
The project also accumulated a small ecosystem around the author's reverse-engineering work: crabstep for typedstream parsing and crabapple for encrypted iOS backup handling are both referenced by the documentation.
The CLI exports local macOS Messages data or iOS backup data to txt or html, can copy or convert attachments, and can run diagnostics against the message database. The documented default macOS source is ~/Library/Messages/chat.db and the default export directory is ~/imessage_export.
It is mostly read-only archival tooling: useful for personal backups, migration, compliance retention, legal discovery preparation, and diagnostics, rather than for sending messages or modifying Apple's database.
iMessage Exporter is significant because the hard part is not the CLI wrapper; it is the encoded domain knowledge about Apple's SQLite schemas, binary typedstream payloads, attachment formats, and platform-specific backup layouts.
For package managers, it packages a high-churn reverse-engineering project into a normal command. That makes a local-data liberation workflow installable with brew or cargo instead of a pile of ad hoc scripts.
security posture
broad file, network, media, or database tool signal.
blue risk · medium confidence · tool
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
imessage-exporter | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/ReagentX/imessage-exporter
install metadata
| Package key | brew:imessage-exporter |
|---|---|
| Version | 4.2.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/imessage-exporter |
| Homepage | https://github.com/ReagentX/imessage-exporter |
| Repository | https://github.com/ReagentX/imessage-exporter |
| Upstream docs | https://github.com/ReagentX/imessage-exporter#readme |
| License | GPL-3.0-only |
| Source archive | https://github.com/ReagentX/imessage-exporter/archive/refs/tags/4.2.0.tar.gz |
| Last updated | 2026-06-19T01:16:53Z |
| Pulse | updated |
| Build dependencies | rust |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | imessage-exporter |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.