This Week's Sponsor:

Kolide

Ensures that if a device isn’t secure it can’t access your apps.  It’s Device Trust for Okta.


Health Importer Makes It Easy to Move Health Data Between iPhones

I’m in a minority, but when I get a new iPhone every year, I like to start fresh without reinstalling from a backup. I talked about this before, but, essentially, with the vast majority of my favorite apps storing data in the cloud, starting with a clean installation of iOS is mostly a matter of redownloading and rearranging apps now. In the process, a fresh install of iOS allows me to re-evaluate which apps I actually use and which ones can go – something that helps me keep my devices lean and with plenty of storage available.1

There’s one aspect that bothers me every time I decide to install iOS without a backup, though: losing my Health data. In previous years, I was okay with backing up subsets of information to external web services such as Lifesum or the excellent Gyroscope: over time, however, the inability to look at my complete health history in Apple’s Health app has become a problem that made me reconsider my stance on not restoring from a backup every year.

Fortunately, Dan Loewenherz has come up with a solution that will allow me to continue my no-restore strategy for the foreseeable future. Loewenherz created Health Importer, a simple $2.99 utility that does exactly what you’d expect: the app restores a backup of the Health database, keeping old entries with every data point logged from your iPhone, Apple Watch, or third-party apps.

Exporting a backup of the Health app was possible before, but, in my experience, no utility ever imported an old database into Apple Health as quickly and as reliably as Health Importer. The first wave of Health restore utilities relied on workarounds such as conversion from XML (Apple’s export format) to CSV, which were slow and prone to errors. Loewenherz told me that he’s spent the past few months reverse-engineering Apple’s XML backup format – which isn’t documented anywhere – and he was able to create a system that should import nearly every data type2 stored in Health. Combined with Health Importer’s straightforward approach, the app feels like something that Apple should offer for users who don’t want to deal with encrypted backups and full system restores.

Here’s how Health Importer works: open Apple’s Health app, tap the profile icon in the top right corner, and choose ‘Export Health Data’ at the bottom. Health will prepare an export file (a .zip archive) that you can save into iCloud Drive using iOS 10’s new Add to iCloud Drive extension.

Then, open Health Importer and tap Import. The app will bring up the iCloud Drive document picker interface; if you saved your Health backup file somewhere else, you can switch between document providers as usual. Pick your backup file, and Health Importer will start scanning it for samples that need to be imported. Confirm which data points you want to import, give Health Importer access to your Health categories, wait a few seconds, and old Health data will be restored on your new iPhone. I tested Health Importer with a year of data from my iPhone 6 Plus (over 453k data points), and it worked flawlessly.

In the Health app on your new iPhone, you’ll notice that old data points will appear slightly different than the old device. The associated icon of the app that captured them will be Health Importer’s, for example. If you open a single data point’s detail screen, you’ll also see that Health Importer’s process writes new Source and Date Added fields, but keeps the Original Creation Date and Original Source intact. Because of this, old data points will look like they were captured by Health Importer, but their metadata will show details for the original dare and capturing device or app.

Selecting data sources with Health Importer (left) and old entries as they appear in Health (right).

Selecting data sources with Health Importer (left) and old entries as they appear in Health (right).

Health Importer is the app I wish I had when I moved from the iPhone 6 Plus to the 6s Plus last year. Loewenherz did a terrific job with parsing Apple’s Health backup format, and Health Importer is going to be extremely useful for all those who want to switch iPhones without performing full iCloud restores. Health Imported worked perfectly in my tests and I’m going to use it again as soon as I switch to an iPhone 7 Plus.

Health Importer is available at $2.99 on the App Store.


  1. I don’t particularly mind losing my Messages and Phone history logs. ↩︎
  2. The app won’t migrate exercise minutes and stand/roll hour data. Unfortunately, that’s a HealthKit limitation the developer can’t fix – third-party apps can’t write data for those categories into the Health app. ↩︎

Unlock More with Club MacStories

Founded in 2015, Club MacStories has delivered exclusive content every week for over six years.

In that time, members have enjoyed nearly 400 weekly and monthly newsletters packed with more of your favorite MacStories writing as well as Club-only podcasts, eBooks, discounts on apps, icons, and services. Join today, and you’ll get everything new that we publish every week, plus access to our entire archive of back issues and downloadable perks.

The Club expanded in 2021 with Club MacStories+ and Club Premier. Club MacStories+ members enjoy even more exclusive stories, a vibrant Discord community, a rotating roster of app discounts, and more. And, with Club Premier, you get everything we offer at every Club level plus an extended, ad-free version of our podcast AppStories that is delivered early each week in high-bitrate audio.

Choose the Club plan that’s right for you:

  • Club MacStories: Weekly and monthly newsletters via email and the web that are brimming with app collections, tips, automation workflows, longform writing, a Club-only podcast, periodic giveaways, and more;
  • Club MacStories+: Everything that Club MacStories offers, plus exclusive content like Federico’s Automation Academy and John’s Macintosh Desktop Experience, a powerful web app for searching and exploring over 6 years of content and creating custom RSS feeds of Club content, an active Discord community, and a rotating collection of discounts, and more;
  • Club Premier: Everything in from our other plans and AppStories+, an extended version of our flagship podcast that’s delivered early, ad-free, and in high-bitrate audio.