Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How can I access my contacts from an iPhone backup without my iPhone?

My iPhone died because I dropped it in a pool of water and I now use an old phone. Since I couldn't save any contact info on my SIM-card with my iPhone (genious move, Apple) I have no numbers left!


I know that I have made a backup from my iPhone to iTunes before. So I need to know how I can reach those backup files without plugging in my phone. I have heard of the iPhone Backup Extractors but there must be another way to access my own files of my own contacts that I have backed up myself without paying 25$?


Any help at all would be appreciated..

iPhone 4, Windows 7

Posted on Feb 22, 2012 9:09 AM

Reply
41 replies

Jun 2, 2017 6:09 PM in response to AppleIsTheWorstCompanyEver

This is about 5 years too late for you, but this is the 2nd time I've had to find this answer, so in case anyone else needs it. These steps were tested on Windows 7, if you are on some other platform most of the info will still be useful, but you will need different utilities to actually extract the data and read the file.


First

Get a program called iPhone Backup Browser (it's a google code project from waaaay back).

There are a LOT of fake or possibly fake products with this name. Here are the google code and github links I used:


Then

  1. Virus check everything (because you shouldn't trust anyone on the Internet)
  2. Run iPhoneBackupBrowser.exe
  3. Select your backup
    Note: Any backups in the default location (C:\Users\<your username>\AppData\Roaming\Apple Computer\MobileSync\Backup) will be found automatically
    There's a browse button if you need to look elsewhere
  4. Select the Advanced tab
  5. Open the tree to: Library -> AddressBook
  6. Select AddressBook.sqlitedb
  7. Enter a file save location at the bottom of the dialog
  8. Click "extract selected files"
  9. Boom, it's there in your location.
  10. This is an sql so you'll need an sqlite browser. If you don't have one, try SqlLiteBrowser at http://sqlitebrowser.org/
    It has a GitHub repository if you want to build from source: GitHub - sqlitebrowser/sqlitebrowser: Official home of the DB Browser for SQLite (DB4S) project. Previously known as "SQ…
  11. Run anti-virus again. 🙂
  12. Install sqlitebrowser (aka db.browser)
  13. Run sqlitebrowser
  14. Rename the file you extracted from AddressBook.sqlitedb to AddressBook.sqlite (it can't find .sqlitedb extension)
  15. Click Open Database and select your extracted file
  16. I'm not a DBA, but a quick google search gave me the query we need from laacz on GitHub(with slight modification to the email field). Thanks Iaacz!

    Click thje "Execute SQL" tab and paste the following (including the last semicolon) into the blank area within the "SQL 1" tab

select ABPerson.ROWID

, ABPerson.first

, ABPerson.last

, ABPerson.Organization as organization

, ABPerson.Department as department

, ABPerson.Birthday as birthday

, ABPerson.JobTitle as jobtitle

, (select value from ABMultiValue where property = 3 and record_id = ABPerson.ROWID and label = (select ROWID from ABMultiValueLabel where value = '_$!<Work>!$_')) as phone_work

, (select value from ABMultiValue where property = 3 and record_id = ABPerson.ROWID and label = (select ROWID from ABMultiValueLabel where value = '_$!<Mobile>!$_')) as phone_mobile

, (select value from ABMultiValue where property = 3 and record_id = ABPerson.ROWID and label = (select ROWID from ABMultiValueLabel where value = '_$!<Home>!$_')) as phone_home

, (select value from ABMultiValue where property = 4 and record_id = ABPerson.ROWID) as email

, (select value from ABMultiValueEntry where parent_id in (select ROWID from ABMultiValue where record_id = ABPerson.ROWID) and key = (select ROWID from ABMultiValueEntryKey where lower(value) = 'street')) as address

, (select value from ABMultiValueEntry where parent_id in (select ROWID from ABMultiValue where record_id = ABPerson.ROWID) and key = (select ROWID from ABMultiValueEntryKey where lower(value) = 'city')) as city

from ABPerson

order by ABPerson.ROWID

;

  • Click the play button above the tab
  • All your info should appear in the blank area below
  • Click on the little square button in the bottom right and select "Export to CSV"
  • It pops up a settings dialog. I used:
    - Column names in first line (checked)
    - Field seperator , (comma)
    - Quote character " (quote)
    - New line character Windows: CR+LF (didn't work well in Windows/Excel otherwise)
  • Click OK
  • Select a place/name to save the file
  • Click Save

  • Hopefully you should have your contacts back now in what's known as CSV format.

    This readable by spreadsheet programs like Excel, but you can open it up in any text reader and it should be readable.




    Good luck!

    Nov 16, 2017 5:40 PM in response to AppleIsTheWorstCompanyEver

    This is a monumentally late response but I found this post while trying to find a solution to the OP's question. And the replies led me to the appropriate solution. I have an iPhone but also a Mac Mini and I backup my iPhone to the Mac Mini through iTunes. Turns out that there's a Contacts app in OSX and, unbeknownst to me, when I was backing up my iPhone via iTunes the contacts were also being backed-up and were accessible directly from OSX.

    I believe that the post title isn't exactly fair. While I have a Mac Mini, iPad, iPhone 8 and also recently purchased an Apple TV, I'm not an Apple "fan boy." I just appreciate technology which works well, even if it's not always completely intuitive. It's an ecosystem which mostly works, although you'll never see me relying on iCloud...

    Feb 22, 2012 9:27 AM in response to gdgmacguy

    What do you mean use my phone as recommended? I have done resets before from backups and I have got all of my contacts back in that way. That means that the contacts must be inside the backup.


    Would it be possible for me to borrow a friend's iPhone and use it to recover my data so I can write down all of my numbers, and then let him reset his phone from his own backup?

    Feb 22, 2012 1:49 PM in response to AppleIsTheWorstCompanyEver

    It is possible to set up another iPhone (N) using the backup of

    your old iPhone (O). Doing so will replace what is currently on the

    new iPhone (N). You could then use the information on the new

    iPhone (N) to sync with Outlook/Contacts to get a copy of the

    information on your computer. You could then restore the new

    iPhone (N) to the backup you made before putting the old backup

    of your old iPhone (O) onto the new iPhone (N). Hopefully this makes

    some sense to you. If not, ask and someone will try to explain it better.


    iPhones do not save any info to the SIM card; you will have to decide

    whether that is a dealbreaker.

    Feb 22, 2012 1:52 PM in response to AppleIsTheWorstCompanyEver

    You can plug a new phone in and restore the backup from your computer. As has already been stated, however, contacts are NOT part of the backup. If they were restored when you restored your phone previously, they either had to come from an address book on your computer or a cloud service you were syncing to (Exchange, Yahoo, gmail, etc.).


    Most likely, you set up the contact sync when you first got your phone and never thought about it again. Just because you don't actually open and use the address book on your computer doesn't mean it isn't there.


    On Windows, look in Windows Address book or Outlook. If you had an Exchange account, Yahoo account, or G-Mail account (set up as Exchange), look at the contacts on the server.


    Even if you could save contacts to the SIM, you would only get a small fraction of the information that can be entered for each contact.

    Jun 5, 2012 3:55 PM in response to AppleIsTheWorstCompanyEver

    This answer is confusing since in the past I've purchased a new phone, restored it with iTunes from a previous phone backup and had all my contacts return. I do not sync with outlook, google or yahoo (my iTunes settings are turned off). It is not unusual that the original poster uses only iTunes - all of the iPhone users I know do this. They have no need for a program to download all their mail and contacts since it's all accessible through gmail or yahoo. Having to launch Outlook and configure settings is just adding an extra step.


    Are you truly certain that iTunes keeps no record of the contacts? Because there are several programs that claim to have the ability to extract this data from an old backup file. Are these scams? (I'm trying to recover my contacts from an iOS 5 backup since my iPhone 4 was stolen and I'm stuck with an iPhone 3G that can't run iOS 5).

    Jul 17, 2012 5:44 AM in response to AppleIsTheWorstCompanyEver

    Keeping a backup of iPhone contacts and other data via iTunes is not very effective as the backups made by iTunes are random, and in order to restore, one needs to wipe their iPhone of all songs.


    I used to have a similar problem with an iPhone backup created by iTunes which managed to restore only half of my previous iPhone contacts.


    I think managing iPhone contacts with the iCloud and not backing them up with iTunes is more effective in case you need to restore later.

    How can I access my contacts from an iPhone backup without my iPhone?

    Welcome to Apple Support Community
    A forum where Apple customers help each other with their products. Get started with your Apple ID.