I have a few apps that may not be updated to support iOS 8 and HealthKit, but they do offer CSV export of data they have stored.

Is there any way to import historical data into HealthKit and Health.app?

  • Brian, would it be possible to be able to import data from a Cpap machine in the form of a CSV file into health kit under sleep category? i am currently using a Resmed S9 Cpap machine and am able to take my sleep data from the machine and export the data to a CSV file using an open source program by the name of Sleepyhead. i would really like to be able to import this data into the health kit app. i see your companies app Health Importer would be a great choice and i would love to buy the app however with out this function doesn't do me much good. i can provide more information and the cvs fil
    – user138157
    Jul 28, 2015 at 21:08
  • Jeff - the Apple approach to handling sleep data is very different than what most people would track and how most cpap's handle the data. To date, we've not seen a data set that has the necessary information that Apple wants for the data type, but I'd be happy to take a look at yours and see if it would work. Please email me a sample of your data and I can take a look. You can send it to support [at] paradox-customs.com. Thanks! Oct 11, 2015 at 0:30

3 Answers 3


Third party developers can provide import functionality to health app via the normal Health Kit API on iOS.

Some apps scrape or use web API such as Sync Solver exist to get FitBit data from the cloud to the local health app on iOS. Some such as Health Importer are more general. (proper disclosure: I work on this app)

We have an app on the store that is designed specifically for importing arbitrary CSV data into HealthKit / Health.App.

Here are a few screenshots from the development version to show how the app works:

CSV's can be sent via email and then opened in the app:

Waiting for CSV import

Open in app

You can then configure each of the columns within your CSV to a supported data type from HealthKit / Health.App:

Ready for import

After that, just tap the import button and it'll bring the data in:

Importing data

Import complete

  • Someone sent you a message as a new answer, and whoever converted it to a comment put it on my question by accident...
    – NReilingh
    Jul 28, 2015 at 21:45
  • 2
    Health Importer seems to be very buggy. It does't work very well. Sep 4, 2015 at 22:45
  • Doesn't work in iOS 9 at all. Pathetic that we can't import Apple's own health data!
    – Guillochon
    Sep 27, 2015 at 14:33
  • With almost 2000 copies installed, the app is working very well for a large number of people. We have a few bugs that we're aware of and are working on a solution for. Development on the app was halted for a number of months while moving across the country and then bringing it up-to-date with Apple's latest sdks, but we're back at it and working on a new release. We have confirmed it is working well in iOS9 and one of our updates that we're working on is for support of Apple's own exports from Health.app. Oct 11, 2015 at 0:28
  • Can this app import a folder full of csv files, in the same format that Google Fit exports? I've switched from Android to iPhone, and exported my Google Fit data using Google Takeout. Does your app import that? Oct 29, 2016 at 5:19

Lionheart Software actually just released an app called Health CSV Importer that does exactly this. Essentially, it takes pretty much any CSV you could throw at it, and pulls it into Apple Health.

Lionheart also has an app called Health Data Importer that transfers data from an old iPhone to a new one (without having to restore that phone from a backup). `


You can also use the built in iOS shortcuts app.

Here's a template that allows you to pick a csv file from iCloud. Right now, it's set up to use a CSV where the first column is the Date and then the last column is a glucose measurement.

If you're willing to tinker a bit, you may only need to modify it in a couple spots so that it works with your data.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .