Skip to content

Latest commit

 

History

History
324 lines (228 loc) · 23.2 KB

README.md

File metadata and controls

324 lines (228 loc) · 23.2 KB

iOS Backup Explorer

Your data. Your eyes only.
A free, open-source app to open, browse and extract iPhone and iPad backups, encrypted or not, and to read them app by app: messages, notes, photos, health and more.

Version 2.7.0 Platform License: AGPL-3.0-or-later Offline No Tracking Python

The Messages tab showing a conversation
Every picture here is the program running on an invented demo backup; nothing in it is a real person's data.

iOS Backup Explorer is a hard fork of BackupLens by Eyyup (Eric) Gunes, originally released under the MIT License. The original author's copyright is preserved in LICENSE-MIT and NOTICE. This fork is licensed under AGPL-3.0-or-later. Version 2.0.0 is its first release as a project of its own; see the changelog.


Why iOS Backup Explorer?

You made an encrypted iPhone backup with iTunes, Finder, or the Apple Devices app. Now you need to get your photos, messages, or health data out of it. You search online and find tools that:

  • Cost $30–$80 for a license
  • Upload your data to unknown servers
  • Are closed source — you have no idea what they do with your passwords
  • Haven't been updated since 2019

iOS Backup Explorer is different.

iOS Backup Explorer Paid alternatives
Price Free forever $30–$80
Open source Yes — read every line No
Network access None. Zero. Offline only. Often phones home
Your password Never stored, never sent Who knows?
Platform Windows, macOS, Linux Usually one platform

What it does

  • Opens any local backup: encrypted (with your backup password), unencrypted, or a folder that was already decrypted and extracted. Nothing in the backup is ever changed.
  • A real file manager for the whole backup: folders, sorting, instant search, extraction of any file, folder or the entire backup, and optionally mounting it as a read-only drive.
  • One tab for each app, reading the app's data the way the phone shows it, with search, details and export. A tab appears only when the backup has its data.
  • Reads backups of many iOS versions, iPhone and iPad (iOS 13 to 27, and iOS 12 as far as it was checked), each checked against real backups; iOS versions lists which, and what differs between them.
  • Devices & backups, on Windows, macOS and Linux alike: one list of every backup on the computer (Apple's folders, your own, any folder you add) that you can check, copy or move to another drive, and delete safely; and, with libimobiledevice's tools installed, pair with a plugged-in iPhone or iPad, back it up into any folder, manage its backup encryption and copy its crash reports, which is how you do it on Linux, where there is no iTunes or Finder. See Devices and backups.
  • Forgot a password? A button next to every password prompt (the backup's, a locked note's) opens Apple's own answer, workarounds, and an optional hashcat helper you install yourself; see Forgot a password?.
  • Exports in formats you can use: text, Markdown, web pages, PDF, spreadsheets, JSON, vCard, iCalendar, GPX routes, bookmarks files, JPEG, audio with transcripts. The original files can always be extracted untouched, too.

The tabs

Messages: chat bubbles, tapbacks, attachments, search, and the messages that no conversation lists any more Notes: formatting, checklists, pictures, folders, call recordings, and notes locked with a password Calls and Contacts
Photos: a thumbnail grid with albums Voice Memos Voicemail with the phone's transcripts
Safari: history, bookmarks, reading list, tabs Calendar and Reminders Health: activity, workouts and routes, body measurements, sleep per night, medications, health records and clinical documents, hearing tests, symptoms, Medical ID
Screen Time: days, weeks, apps, websites Network: Wi-Fi, Bluetooth, data used by apps Accounts and device information
Keychain: saved and Wi-Fi passwords (encrypted backups)
Maps, Podcasts, Books Privacy: app permissions and location access Recents, Apps, iCloud Drive
Photos: a thumbnail grid with albums
Photos: thumbnails made only for what is on screen, with the phone's albums
Health: workouts with distance, energy and heart rate
Health: workouts with routes (export to GPX), measurements, sleep, Medical ID
Notes: a recipe with headings, lists and a picture
Notes: formatting, checklists and pictures like on the phone
Screen Time by day
Screen Time: time per day, week, app and website
Keychain: saved passwords, Wi-Fi networks and website logins
Keychain: saved and Wi-Fi passwords of an encrypted backup, with every stored detail
A note locked with a password, opened
Locked notes open with their own password, and every note with the same password opens too
Health: medications with their form and ingredients
Health: medications and their log, sleep per night, health records, hearing tests
The Forgot password window
Forgot password? next to every password prompt: Apple's own answer, workarounds, optional hashcat

More pictures are in the documentation.


Installation

You need Python 3.9 or newer (tkinter comes with it on Windows and macOS; on Linux: sudo apt install python3-tk).

git clone https://github.com/slammingprogramming/iOS-backup-explorer.git
cd iOS-backup-explorer
pip install -r requirements.txt          # one small required package
# Optional: picture previews, HEIC photos, PDF export, sleep per night on Windows
# pip install -r requirements-optional.txt
python ios_backup_explorer.py

No build step, no Docker, no configuration. Details, optional extras and platform notes: Installation.

Quick start

  1. Start the program. It looks for your backups; if it finds none, Browse... to the device's folder (the long hex-named one inside MobileSync/Backup, containing Manifest.plist).
  2. If the backup is encrypted, type its encryption password (the one you set in iTunes/Finder, not your Apple ID password) and click Decrypt & Open; otherwise click Open Backup.
  3. Browse the Files tab, or click an app's tab. Use Export... to save what you see, Extract original files... to take the raw files.

The password box for an encrypted backup

Full walkthrough: Getting started. Don't have a backup handy? Make the invented demo backup: python tools/make_demo_backup.py "C:\Demo\Demo iPhone Backup" and open that folder (how).


Documentation

Installation · Getting started · The file browser Using the program
The app tabs One page per group of tabs
Exporting · Where the data comes from · Health data Reference
FAQ · Troubleshooting · Forgot a password? · Glossary · How a backup is built Help and background
iOS versions · How to help · The demo backup and the screenshots Which versions were checked, how to help without sharing anything private, how the pictures are made
Contributing · Architecture · Development · Testing · Versioning Working on it
Changelog · Security policy · Supporting the project Project

What is checked, and what is not (yet)

Honesty matters when you are reading someone's data:

  • Every tab has automated tests on invented data, and the readers were mutation-checked (the code is broken on purpose to prove the tests notice).
  • Most tabs were also checked against real backups (iOS 12.4, 12.5 on an iPad, 16.7, 26.6 and 27.0.1): their counts and values were compared with the raw databases, and what differs between versions is handled and written down in iOS versions. Podcasts has never had a real library to read, and parts of Maps, Books and Voice Memos could not be compared because the backups held no data for them, so those are tested on generated data only. Where the data comes from lists the status of each tab.
  • Health is read reliably where it can be proved, and the rest is listed openly as not yet covered: kinds of data the database does not name, values whose unit was not verified, ECG waveforms (no backup used held one). Sleep per night, medications, the contents of health records and the files of clinical documents, hearing tests, symptoms and cycle tracking, awards and friends' activity are read now. Why, and what is needed to close each gap, is in Health data.
  • A backup holds only what the phone kept: iCloud-only photos and messages, are not readable; passwords (the keychain) open only from an encrypted backup, and "this device only" items from none. Locked notes open with their own password, but that part has not been checked against a real locked note (how). See the FAQ.

Security & Privacy

iPhone backups contain your most sensitive data — photos, messages, health records, passwords, financial apps, and more. You should be extremely careful about which tools you trust with this data.

Our security promises:

  1. 100% Offline — iOS Backup Explorer makes zero network connections. Disconnect your internet and it works identically. (The one thing it can talk to is a phone plugged into your computer by its cable, through the computer's own local usbmuxd service, and only when you ask in Devices & backups; nothing leaves the computer.) Verify it yourself.

  2. Your password is never stored — It's held in memory only while the app runs. When you close iOS Backup Explorer, it's gone.

  3. No telemetry, no analytics, no tracking — We don't know you exist. We don't want to.

  4. Fully auditable — The app is plain Python (about 17,000 lines in 70 files, with no build step): the app itself, the file browser, the file index, and a reader and a view for each app. Read them. We encourage it.

  5. Open source dependencies — Our only required dependency (iphone_backup_decrypt) is also open source and MIT licensed.

  6. Read-only — Backups are never modified; unencrypted and extracted backups are opened read-only. What the program writes (exports, extractions, private temporary working copies it deletes when you close the backup) is described in SECURITY.md.


Where are my backups?

Windows

  1. Press Win + R, type %APPDATA%\Apple Computer\MobileSync\Backup, press Enter (or %USERPROFILE%\Apple\MobileSync\Backup if you installed iTunes from the Microsoft Store or use the Apple Devices app)
  2. Each subfolder (long alphanumeric name) is one device backup

macOS

  1. Open Finder, press Cmd + Shift + G
  2. Paste: ~/Library/Application Support/MobileSync/Backup/
  3. Each subfolder is one device backup

Linux

Nothing else keeps backups here, so the program makes its own folder, ~/.local/share/ios-backup-explorer/Backups, which Devices & backups uses and searches (as well as any folder you add). Backups copied from a Windows or macOS computer can be kept anywhere; choose the folder with Browse....

How to create an encrypted backup

  1. Connect your iPhone/iPad to your computer
  2. Open iTunes (Windows), Finder (macOS) or the Apple Devices app, or, on any system including Linux, this program's own Devices & backups window (it needs libimobiledevice's tools)
  3. Select your device and tick "Encrypt local backup"
  4. Set a password — remember this password!
  5. Click Back Up Now

(An encrypted backup holds more than an unencrypted one: Health data, for example.)


FAQ

The full list is in the FAQ. A few of the most asked:

Can it crack or bypass my backup password?

The program's own check cannot be bypassed: it needs the exact password, so no one else can read your backup without it either. The password field's Forgot password? button can try to find a short or guessable one for you, with hashcat (a separate program you install yourself) — see Forgot a password?. It does not help with a long, random password.

Does it work with iCloud backups?

No. Only local backups made by iTunes, Finder or the Apple Devices app. iCloud backups live on Apple's servers.

Why is something missing?

A backup holds what was on the phone when it was made: iCloud-only data and unencrypted-backup omissions are not there, locked notes need their password, and the apps' layouts change between iOS versions. See Troubleshooting. If something that is in your backup does not show, please report it, without sending your data.

What iOS versions are supported?

Encrypted backups from iOS 13 and newer, checked on real backups of iOS 16.7, 26.6 and 27.0.1 (and of iOS 17 and 18 before), and of an iPad; iOS 12 is read as far as real iOS 12.4.8 and 12.5.8 backups have been checked; unencrypted backups with the Manifest.db layout (iOS 10 and newer). The aim is every iOS version; what was checked on which one is in iOS versions. Details in Where the data comes from.


Helping without sharing anything private

Support for an iOS version needs someone to have looked at a real backup of it, and you do not have to send anything private for that: small tools print the shape of your backup (which tabs fill, how its databases are built, how many rows they have) and nothing from inside it, and you paste that into an issue. See How to help and the issue forms. A backup of an iOS version that is not checked yet is the most useful thing anyone can bring.

Contributing

Contributions are welcome, and the rules are short: no network access, keep it auditable, never put real data anywhere (tests use invented data), and never remove the original author's credit. See CONTRIBUTING.md, the development guide and Testing. Releases follow Semantic Versioning.

Support the project

iOS Backup Explorer is free and stays free: nothing in it depends on a donation, and it never asks. If it was useful to you and you would like to say thanks, you can, entirely optionally:

  • Ko-fi: https://ko-fi.com/scenprogramming
  • Bitcoin (BTC): sp1qq2637t6ve9zp4wh0e4ly2u7h7jwfn0k6c4535lxpp3wrqvmkua6xjqkwevyz0wwqx5ly2f0q29qh48wgf9gl0zt049za9kr9m8xgkey4cyggxa0x
  • Ethereum (ETH): 0x8F238db898102125Fd968ed7CaD959Cb594a7e93
  • Monero (XMR): 8AYK93mQEzsFFEFkuPN7wC9rPcXCyEXa1Ye5bH9U2GR3PpaZiYc84SxjMcdSdVMaaQUGmCXYkuxdDSG5bM3EVyqR25nbumV

The Bitcoin address is a Silent Payments address, so only a wallet that supports them can send to it. Please check an address here against the support page (and the program's About & support window, at the top right, or F1) before you send: a cryptocurrency payment cannot be taken back. The program itself never contacts any of these.


Verify It Yourself

Don't trust us? Good. Here's how to confirm iOS Backup Explorer makes zero network connections:

# Option 1: Disconnect from the internet and run the app — it works identically.

# Option 2: Monitor network activity (macOS)
sudo lsof -i -P | grep python

# Option 3: Monitor network activity (Windows PowerShell)
Get-NetTCPConnection | Where-Object { $_.OwningProcess -eq (Get-Process python).Id }

# Option 4: Read the source — it's plain Python, and the app contains no networking code.

Acknowledgements

iOS Backup Explorer is a hard fork of BackupLens, created by Eyyup (Eric) Gunes. The application design, user interface, documentation and original code are his work, and this project would not exist without it. See AUTHORS and NOTICE.

Several features here were inspired by open pull requests and issues on the original project, and are credited to the people behind them:

  • Nikhil-42, whose pull requests #1 and #2 proposed unencrypted-backup support, extracting the entire backup, and mounting a backup as a file system
  • jakubstetz, whose pull request #5 found and fixed the same extraction, threading and macOS startup bugs
  • heebeejeebees, who asked for unencrypted-backup support in issue #4

iOS Backup Explorer is built on top of the excellent iphone_backup_decrypt library by James Sharkey. Thank you for making encrypted backup decryption accessible to everyone.

The Keychain tab, the opening of locked notes and of the files in clinical records, and the reading of Health records were written independently, but only because others published how those formats work. No code was copied, and thanks go to:

  • iphone-dataprotection by Jean-Baptiste Bedrune and Jean Sigwald (Sogeti ESEC Lab), for the layout of keychain items in an encrypted backup (and, through iphone_backup_decrypt, the key bag code)
  • the Apple Cloud Notes Parser by Jon Baumann of Ciofeca Forensics (threeplanetssoftware), for where locked notes and their attachments keep their lock details and how they are opened
  • hashcat, whose Apple Secure Notes module (and, for a backup's key bag, its iTunes Backup module) confirms how a locked note's key is made, and which the optional "Forgot password?" helper can hand a password to try to
  • itunes_backup2hashcat by philsmd, a worked example of that format by darell tan, and applenotes2john.py from John the Ripper by Dhiru Kholia, for the hash line formats that helper builds
  • CUPP by Mebus, an optional wordlist generator that same helper can run
  • libimobiledevice by Nikias Bassen, Martin Szulecki and its contributors, and usbmuxd, whose command-line tools the Devices & backups window runs (as separate programs you install yourself, never bundled or copied) to pair with a device, back it up and manage its backup encryption
  • kinnay/AEA (python-aea) by Yannik Marchand, which the reader for the Apple Encrypted Archive files in Health's clinical records was checked against, ipsw by blacktop, and The Apple Wiki, for how that format is built
  • The Protocol Buffers encoding guide, for reading the Maps records of iOS 12
  • HL7 FHIR and Apple's HealthKit documentation, for the names and values used to read Health records, symptoms and cycle tracking
  • Apple's Platform Security Guide, RFC 3394 and NIST SP 800-38D, and PyCryptodome

License

iOS Backup Explorer is free software, licensed under the GNU Affero General Public License, version 3 or (at your option) any later version (AGPL-3.0-or-later). You may use, modify and share it, provided derivative works stay under the same license and source is made available to their users.

The original BackupLens code is Copyright (c) 2026 Eyyup (Eric) Gunes and was released under the MIT License, whose notice is preserved and must remain with this software. See NOTICE for details.


Originally created as BackupLens by Eyyup (Eric) Gunes
Because your data should be yours — no subscriptions, no surveillance.

Maintained by slammingprogramming and contributors.
Please also star the original BackupLens project.