Hit Subscribe!

Don’t Be a Noob, Subscribe Already!

iPhone

How to Save All Your iPhone Messages to Your Mac

NSA aside, Apple makes it difficult for users to extract and download text messages from their iPhones onto a computer. For whatever reason (legal, devious, neurotic, etc), we’ve all found a time where we’d like to save backups of certain meaningful, important, or perhaps incriminating conversations (including all MMS or iMessage pictures and videos).

While there are a handful of third-party applications that can help with this process, the majority of them cost money and implement certain techniques that could be shady (ex: requiring you to upload a full iOS backup to a website).

Now, thanks to chelseybaker, you can easily extract all of the text messages on your iPhone and keep them on your desktop using his open-source Perl script.

If the thought of working with an open source script sounds scary to you, don’t worry. I’m no coder and it’s pretty easy. Even if you’ve never seen a line of code in your life, I’ll hold your hand through all the steps.

UPDATE: Step 5 has been updated, since many of you were having trouble with the PERL script not running successfully. Thanks to Newell Jones for the tip!

Step 1: Back Up Your iPhone

Using iTunes, back up the iPhone with the conversation(s) you want to download. Just Right-Click on your iPhone in iTunes and click Back Up.

Step 2: Find Backup Folder

Once the backup is done, you’ll need to find the folder where the backup was stored. To do this,—

  1. Open Finder
  2. Press and hold the Option key
  3. ClickGo on the Menu Bar
  4. ChooseLibrary
  5. Select Application Support < MobileSync < Backup
  6. Right-Click and arrange all of the folders by Date Modified. The most recent one will be your latest iPhone backup.

Step 3: Create an iOSBackup Folder on Your Desktop

Create a folder on your desktop and name it iOSBackup. This is where we’re going to save everything to make running the script easy.

Step 4: Make a Copy of Your Backup

Copy the backup folder you found from step 2 into your new iOSBackup folder on your Desktop. This lets us work on it without conflicting with iTunes.

Step 5: Download iOSMessageExport Files

UPDATE: This step has been updated.

Download the iOSMessageExport script from Github (or use this direct link to the iOSMessageExport zip file) and open the zip file. The downloaded script includes the following 6 files:

  1. backup.pl
  2. iOSContacts.pm
  3. iOSMessages.pm
  4. iOSSMSBackup.pm
  5. README.md
  6. style.css

Copy all six files into your iOSBackup folder you created on the desktop during Step 3.

Step 6: Use Terminal to Execute the Script

Now you’ll need to open up Terminal (which you can find by hitting Command+Spacebar and typing “Terminal”).

Type the following Command to change to your iOSBackup folder:

  • cd ~/Desktop/iOSBackup

Now you’ll need to enter one more command to execute the script. Using the command below, replace the “<folder>” part below with the name of your backup folder (the long string of letters and numbers):

perl backup.pl –directory_path <folder>/

Note: Be sure to include the forward slash at the end of it and press enter, as seen below:

After pressing enter, head back to your iOSBackup folder.

Step 7: Open Text Messages

In the iOSBackup folder you created, you will now see an _export folder.

Open it and you’ll find folders for all the conversations you’ve had, each one consisting of HTML files that make up the text messages and images. You’ll find multiple HTML files in each folder, as the text messages are grouped by days. Next to certain HTML files you’ll see corresponding folders containing any pictures you were sent with that text message.

If you click the HTML file your web browser will open up, showing your text message conversation with pictures included. Note that Emoji will only show up if you open the html files in Safari.

And there you have it. All your raw text message data. Backed up and organized. You can now use spotlight to search them, or make copies of any of the images or videos. If you’d like, you can print-to-PDF to convert them to an easier-to-share format.

Just updated your iPhone? You’ll find new emoji, enhanced security, podcast transcripts, Apple Cash virtual numbers, and other useful features. There are even new additions hidden within Safari. Find out what’s new and changed on your iPhone with the iOS 17.4 update.

Source

 

Hey there, just a heads-up: We’re part of the Amazon affiliate program, so when you buy through links on our site, we may earn a small commission. But don’t worry, it doesn’t cost you anything extra and helps us keep the lights on. Thanks for your support!”

Avatar

GadgetBytes

About Author

Leave a comment

Your email address will not be published. Required fields are marked *

Productivity & Shortcuts

iPhone

“iPhone Home Screen: Hide & Show Pages like a Boss!”

Learn how to effectively hide and show pages on your iPhone home screen like a pro with our expert tips

Add A Knowledge Base Question !

You will receive an email when your question will be answered.

+ = Verify Human or Spambot ?