Apple Health to CSV: convert export.zip in your browser
To get Apple Health data as CSV, export it from the Health app and choose the export.zip below. This free converter runs entirely in your browser and gives back daily totals for every metric, sleep, every workout and the raw records of any metric you pick, and the page is not allowed to make network requests, so your health data never leaves your computer.
Your files
Every record of one metric
Heart rate, for instance, comes as thousands of samples a day. Pick a metric for a CSV with each sample, its source and its time.
What your export contains
How do I get export.zip from my iPhone?
- Open the Health app and tap your picture or initials, top right.
- Tap Export All Health Data at the bottom, then Export.
- Wait while it builds the file. Years of data can take several minutes.
- Send
export.zipto your computer with AirDrop, or save it to Files and open this page in Safari on the iPhone.
A computer is the better place for a big export. A phone browser can run out of memory on an export of several gigabytes.
What is in each file?
| File | One row per | Columns |
|---|---|---|
apple-health-daily-metrics.csv | Day, metric, source and unit | date, type, source, unit, samples, sum, average, min, max |
apple-health-daily-categories.csv | Day, category, source and value | date, type, source, value (for sleep: InBed, AsleepCore, AsleepDeep, AsleepREM, Awake), samples, minutes |
apple-health-workouts.csv | Workout | start, end, activity, minutes, source, distance, distance unit, active energy, energy unit, average heart rate |
apple-health-summary.json | Everything above | The same rows as JSON, plus a list of every type with its record count and date range |
apple-health-<metric>.csv | Sample, for the metric you pick | type, source, unit, value, start, end |
Dates are the day each sample started, in the time zone your phone recorded it in. Type names drop Apple's prefixes, so HKQuantityTypeIdentifierStepCount becomes StepCount. Use sum for things that add up over a day (steps, distance, active energy, dietary nutrients) and average, min and max for readings (heart rate, weight, blood oxygen).
The first rows of apple-health-daily-metrics.csv look like this (sample values):
date,type,source,unit,samples,sum,average,min,max 2026-11-05,StepCount,Apple Watch,count,214,8746,40.87,1,312 2026-11-05,HeartRate,Apple Watch,count/min,1873,133071,71.05,52,148 2026-11-05,BodyMass,Smart Scale,kg,1,81.3,81.3,81.3,81.3
Why are my steps higher than the Health app shows?
Because your iPhone and your Apple Watch both count steps, and Apple Health keeps both sets of samples. The Health app shows one total by preferring one source when they overlap. The export does not do that work for you, so this converter keeps each source on its own row instead of adding them together. For a daily step count, use the row for one source (usually your watch), or the higher of the two, rather than the sum of both.
Is my data uploaded?
No. The converter is three scripts that run on your computer (the page, the parser and the zip and XML reader, all readable). This page is served with a security policy that blocks every network connection, so even a bug could not send your file anywhere, and there is no analytics on it. You can switch off Wi-Fi after the page loads and it works the same.
How big an export can it handle?
Gigabytes. It reads the zip as a stream instead of loading it whole, so memory stays low however big export.xml is, and the large-file (zip64) format Apple uses for big exports works. In our tests a 1.1 GB export (over four million records) took about 20 seconds. It needs a current Safari (16.4 or later), Chrome, Edge or Firefox.
Can I open the files in Excel, Numbers or LibreOffice Calc?
Yes. They are plain CSV files with a header row, so any spreadsheet opens them. In LibreOffice Calc, pick comma as the separator when it asks. To chart one metric, filter the type column of the daily metrics file to that metric and one source.
Can I convert only one metric or one date range?
Apple's export always holds everything. After the conversion, pick a metric under Every record of one metric for its raw samples, or filter the daily files by date in your spreadsheet.
If it does not work
- "This browser is too old for the converter." Update the browser, or open the page in a current Safari, Chrome, Edge or Firefox.
- "The converter stopped unexpectedly." Usually the browser ran out of memory, most often on a phone. Try again on a computer.
- The zip will not open. Unzip it yourself and choose the
export.xmlinside. It works the same. - The Health app never finishes exporting. Keep the phone unlocked on that screen while it builds the file. Many years of data can take several minutes.
- A spreadsheet shows one long column. Import the file as CSV with a comma as the separator instead of opening it as plain text.
Want this without exporting every time?
The Health app's export is a full backup, rebuilt from scratch each time. Marrow reads Apple Health directly on your iPhone, so you can export any metric as CSV or JSON, and workout routes as GPX, whenever you like, with daily totals reconciled against Apple's own (no double-counted steps). It reads three years of Apple Health history when you install it, and Settings, Data types, Apple Health history takes that to five years, everything, or from a date. All of that is free.
- In Marrow, open Connects, then the Exports tab, then Manual.
- Under Daily metrics, set Range (30 days, 90 days, 1 year or Everything) and Format (CSV or CSV (long)).
- Tap Create export, then Share with the file's name under it.
- Save the file to Files, AirDrop it to a Mac, or send it to any app that takes a file.
The wide file has one row per day and one column per metric. The long file is date,metric,value,unit, the shape pivot tables want:
date,metric,value,unit 2026-11-05,body_mass,81.3,kg 2026-11-05,step_count,8746,count
Every file and column is listed on the files reference. For a CSV that sends itself on a schedule, see automations.
Download on theApp StoreGET IT ON
Other ways to get CSV, and when to pick them
- This converter when you want your whole history once, on a computer, without installing anything.
- Marrow when you want CSV again and again, a date range, or daily totals with overlapping sources already reconciled.
- Health Auto Export when you want CSV saved to iCloud Drive, Google Drive or Dropbox on a schedule, or exports on a Mac or iPad. Manual export needs its Basic tier and automatic export its Premium tier. Our comparison has the detail.
- Apple Shortcuts when you need one or two metrics. Find Health Samples can append rows to a file, and you build each metric yourself.
Related: every way to export Apple Health data · Apple Health to Google Sheets · CSV, JSON and GPX files from Marrow
More free Apple Health export tools: export viewer, export splitter, workout routes to GPX, duplicate steps checker, all tools and calculators.