Backup and View Your iPhone SMS Messages For Free

Update: this does not work for iOS 4 and up, due to iTunes encrypting the backed up files. There is an easy fix for all of those with jailbroken devices, however. Stay tuned for that update!

Lately I wanted to backup some of my text messages from my iPhone 3GS onto my desktop, but couldn’t figure out how to do that. After some quick research and some poking around, I was able to figure out how to view them quickly and easily.

Disclaimer

I am not responsible if you screw something up on your computer. It’s not my problem if something breaks. Do this at your own risk (which should be pretty low, unless you’re one of those people that shouldn’t be allowed near a computer).

What you’ll need

Let’s Get Started

In a nutshell, the SMS system on the iPhone is just a carefully hidden SQLite database. All we have to do is find the file and open it up in the SQLite Browser.

  1. First, we need to locate the file that contains the SMS messages, which will be either:
    • 3d0d7e5fb2ce288813306e4d4636395e047a3d28.mdbackup
    • 3d0d7e5fb2ce288813306e4d4636395e047a3d28.mddata

    This will be in one of the following locations:

    • Windows Vista/7: C:\Users\[Your User Name]\AppData\Roaming\Apple Computer\MobileSync\Backup\[iPhone ID]\
    • Windows XP or lower: C:\Documents and Settings\[Your User Name\Application Data\Roaming\Apple Computer\MobileSync\Backup\[iPhone ID]\
    • Mac OS X: User > Library > Application Support > MobileSync > Backup >[iPhone ID]
  2. Copy this file to a new location to protect the file in case you accidentally screw something up (your Desktop, for example).
  3. Open up the new copy of the file in SQlite Browser, then select the “Browse Data” tab. Finally, select the “message” table from the “Table:” dropdown box

And that’s all it takes! From here, you can export this as a CSV via File -> Export -> Table as CSV so you can import it into Excel, or manipulate it however else you wish. If I get the time, I’m going to write a quick tool to nicely export the messages to PDF so that they look good instead of being in a table. But, it’s a nice fix for wanting to go through them on a computer, or do fulltext searches with the content.

Tagged with: , , , , , ,
Posted in Technology
5 comments on “Backup and View Your iPhone SMS Messages For Free
  1. karl says:

    whats up with the date column. how does one convert that number to a date?

    oh and thanks for the program. you saved me and my son

  2. karl says:

    how do i convert to pdf or print out?

  3. EssentialMac says:

    Doesnt seem to work with iOS6 or mountain lion.

Leave a Reply