HealthSave Get on the App Store
Home › Export Apple Health data › Export to CSV

Convert your Apple Health export to CSV

Drop the export.xml from your Apple Health export below and download a clean CSV for any metric, heart rate, steps, sleep, weight and more. The conversion runs entirely in your browser: your health data is never uploaded and never leaves your device.

🔒 100% in your browser, nothing is uploaded

Drop your export.xml here

or the export.zip straight from Apple Health, we read the XML inside

Tip: on iPhone, Health app → your profile photo → Export All Health Data.

with fictional step counts and heart rate readings.

MetricRecordsUnit

What does an Apple Health CSV look like?

The browser converter creates a separate CSV for each measurement type. A step count row includes the start and end of the counting period, the number of steps, its unit and the source. This fictional example is one row from the sample above.

startDate,endDate,value,unit,source
2026-01-15 09:00:00 +0000,2026-01-15 09:05:00 +0000,420,count,Example Watch

In Excel, open the step count CSV and use the value column for the count. If both a watch and a phone recorded the same walk, their time ranges can overlap. Check the source column before adding those rows together.

How the converter works

When you export from the Apple Health app you get a .zip that contains one large export.xml file. Every measurement is stored as a <Record> element with a type (for example HKQuantityTypeIdentifierHeartRate), a value, a unit, a source device, and start and end timestamps. This tool streams through that file, groups the records by type, and writes a spreadsheet-ready CSV with one row per measurement and columns for date, value, unit, and source. Because everything happens in JavaScript on your own device, the file never touches a server.

What this tool does

  • Converts export.xml to CSV, one file per metric
  • Runs 100% in your browser, offline-capable once loaded
  • Reads ZIP and XML exports in pieces, including large exports
  • Keeps date, value, unit and source device for every record

What it does not do

  • It does not upload, store, or see your health data
  • It is not medical advice, it just reformats your own data
  • It does not sync continuously, that is what the app is for
  • Keeps measurement values; prefixes formula-like text with an apostrophe for spreadsheet safety

Which file do you have?

Guides for one data type

Each guide names the record type in Apple's file, shows a CSV this converter made, and links back here with that type listed first.

  • Steps: Raw step records by device, or one deduplicated total per day.
  • Weight: Weigh-ins and body fat, with the unit each file uses.
  • Sleep: Stage segments from the watch, or hours per night.
  • Heart rate: Every reading in beats per minute, plus resting heart rate.
  • Blood oxygen: Readings as Apple's fractions or as percentages.
  • Workouts: Where runs, rides and their GPS routes sit in each file.
  • HRV: SDNN values in milliseconds, and RMSSD on iOS 27.
  • Calories: Active and resting energy, raw or as daily totals.
  • Respiratory rate: Overnight breathing rate, with sleeping wrist temperature.
  • VO2 max: Sparse Cardio Fitness estimates and how to plot them.
  • Exercise minutes: Exercise and stand records, and where ring totals live.
  • Walking metrics: Walking speed, step length, asymmetry and steadiness.
  • Blood pressure: Systolic and diastolic records, and how to pair them again.

Export on your schedule, not just once

HealthSave exports and syncs your Apple Health data in CSV, JSON and PDF, straight from your iPhone. No account, no HealthSave cloud, pay once.

Get HealthSave on the App Store →

On a computer? Point your iPhone camera at the code to open HealthSave on the App Store.

Frequently asked questions

Is my health data uploaded anywhere?

No. The conversion happens entirely in your browser using JavaScript. Your export.xml is read from your own device and the CSV is generated locally, nothing is sent to a server, and the page works even with your network turned off once it has loaded.

How do I get the export.xml file from my iPhone?

Open the Health app, tap your profile photo in the top right, scroll down and tap Export All Health Data. Your iPhone creates a export.zip. You can drop that zip here directly, or unzip it first and drop the export.xml inside.

Can it handle a very large export?

The converter reads the archive in pieces. How much CSV your browser can save depends on the device and available space. If the file is too big for your browser, HealthSave can export directly from Apple Health on your iPhone. Unzip encrypted or split archives first.

What columns does the CSV contain?

Each CSV has one row per measurement with columns for start date, end date, value, unit, and the source device or app that recorded it. This is the same underlying data Apple stores, just reshaped for spreadsheets, Excel, Google Sheets or analysis tools.

Which metrics can I export?

Measurement records in your export, including heart rate, steps, walking distance, sleep analysis, active energy, resting heart rate, HRV, blood oxygen and weight. Workout summaries and route files are not converted. The tool lists the record types it found so you can download only the metrics you need.