Health Export
Open the Apple Health export.zip, even a large one, and see steps, sleep and heart rate charts by week and month, with a CSV of any metric.
Open your export
Download a CSV of any metric
What it does
The Health app's export is one zip holding export.xml, often gigabytes of XML that spreadsheets cannot open. This page reads the zip a piece at a time in your browser, without unzipping it first or loading it all into memory, and keeps one total per metric per day. From those days it draws steps, sleep and heart rate by week or by month, and it saves any metric in the file as a daily, weekly or monthly CSV, or as every raw record of that metric.
How to use it
- On your iPhone, open the Health app, tap your picture, then Export All Health Data, and send export.zip to your computer.
- Drop export.zip on this page, or choose it. A large export takes a few minutes; the bar shows how far it has got.
- Switch between Week and Month to read the charts, or pick a metric and download its CSV.
What it does not do
- Steps and other daily totals use the busiest single source each day (your iPhone or your watch, whichever counted more), so a day can differ a little from the Health app's own merged figure.
- Sleep is hours asleep from the Health app's sleep stages; nights with only time in bed show 0 hours asleep in the chart and their in-bed hours in the CSV. A night counts on the morning it ends: sleep ending at 18:00 or later counts toward the next day.
- It reads Record entries only: workouts, workout routes, ECGs and clinical records are not charted or exported.
- Records in a different unit from the rest of their metric are left out and counted in the status message, not converted.
- Very large exports need a computer with a current browser; a phone may run out of memory.
Questions
Is my health data uploaded?
No. The page reads the file with your browser's own code and sends nothing anywhere. Closing the tab clears everything.
How large an export can it open?
It streams the file, so size is limited by time rather than memory: a 2 GB export.xml takes several minutes on a laptop. Zip64 files, which the Health app makes for big exports, are supported.
Why do my step totals differ from the Health app?
When an iPhone and an Apple Watch both count the same walk, adding them would double it. This page takes the higher of the sources for each day; the Health app merges them minute by minute, so the two can differ slightly.
What is in the CSV?
The daily CSV has one row per day with the total or average. Weekly and monthly CSVs match the charts. Every record (CSV) reads the file again and lists each record of that metric with its source, unit, value and times.