Marrow
EN
App StoreGoogle Play

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.

How do I get export.zip from my iPhone?

  1. Open the Health app and tap your picture or initials, top right.
  2. Tap Export All Health Data at the bottom, then Export.
  3. Wait while it builds the file. Years of data can take several minutes.
  4. Send export.zip to 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?

FileOne row perColumns
apple-health-daily-metrics.csvDay, metric, source and unitdate, type, source, unit, samples, sum, average, min, max
apple-health-daily-categories.csvDay, category, source and valuedate, type, source, value (for sleep: InBed, AsleepCore, AsleepDeep, AsleepREM, Awake), samples, minutes
apple-health-workouts.csvWorkoutstart, end, activity, minutes, source, distance, distance unit, active energy, energy unit, average heart rate
apple-health-summary.jsonEverything aboveThe same rows as JSON, plus a list of every type with its record count and date range
apple-health-<metric>.csvSample, for the metric you picktype, 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

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.

  1. In Marrow, open Connects, then the Exports tab, then Manual.
  2. Under Daily metrics, set Range (30 days, 90 days, 1 year or Everything) and Format (CSV or CSV (long)).
  3. Tap Create export, then Share with the file's name under it.
  4. 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.

Other ways to get CSV, and when to pick them

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.