iMessage Exporter

Save your iMessages as PDF, TXT, CSV or HTML, from a Mac's Messages database or an iPhone backup. Search every conversation and export any chat. Files never leave your browser.

Drop chat.db here

or choose from your files

chat.db and chat.db-wal from ~/Library/Messages, both at once

Where is chat.db?

  1. In Finder press G, paste ~/Library/Messages and press Return
  2. Select chat.db and chat.db-wal together (click one, -click the other) and drag both onto this page in one go. The -wal file holds the newest messages, so without it the last few days can be missing
  3. Or click the button above, press the same keys in the file dialog and pick both files there

Or open an iPhone backup

A backup made with Finder or iTunes contains the same messages database. Pick the whole backup folder and it is found automatically, attachments included. Encrypted backups are not supported: make a backup with "Encrypt local backup" unticked first.

  1. On a Mac the backups live in ~/Library/Application Support/MobileSync/Backup, on Windows under %appdata%\Apple Computer\MobileSync\Backup
  2. Click below and choose the backup folder (the one named with long letters and numbers)

Your browser will ask to "upload" the folder. That is its standard wording for letting a page read files. Nothing is sent anywhere: this page is blocked from making network requests, and only the files you actually view are read.

Desktop only

This app needs a screen at least 1024px wide. Open vajba.com/imessage-export on your desktop or laptop.

A conversation open in the exporter, with search, per-conversation stats and PDF, HTML, TXT, CSV and JSON export buttons
chat.db
How your own messages are labelled in exports and the stats card. Show names instead of numbers Messages only stores phone numbers and emails. Export your contacts and pick that file here: open the Contacts app, press A to select everyone, then File > Export > Export vCard. Names stay in this tab and are never saved anywhere. See photos and videos in conversations They live in a separate folder. In the folder dialog press G, paste ~/Library/Messages/Attachments and choose that folder. Your browser will ask to "upload" it - that is its standard wording for letting a page read files, not a transfer: nothing leaves your Mac, and only the photos you scroll to are read. Also enables "Embed photos" in HTML and PDF exports. Export every conversation (or a selection) at once, as a ZIP of files or as one combined CSV. Totals, streaks, busiest hours, top emoji and most messaged contacts, for everything or one conversation, with a downloadable stats card.

Pick a conversation

Every conversation from your Messages database is listed on the left. Nothing has been uploaded anywhere.