Convert an Apple Healthkit export zip to a SQLite database
$ pip install healthkit-to-sqlite
First you need to export your Apple HealthKit data.
- On your iPhone, open the "Health" app
- Click the profile icon in the top right
- Click "Export Health Data" at the bottom of that page
- Save the resulting file somewhere you can access it on a laptop - I used Dropbox
Now you can convert the resulting export.zip
file to SQLite like so:
$ healthkit-to-sqlite export.zip healthkit.db
You can explore the resulting data using Datasette like this:
$ datasette healthkit.db