HealthSave Get on the App Store
HomeExport 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, workouts 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.

MetricRecordsUnit

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
  • Handles large exports by streaming, not loading all at once
  • 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
  • It does not edit or interpret values, it exports them as-is

From a one-time export to continuous, on your iPhone

This converter is perfect for a one-off export. If you want your Apple Health and wearable data exported on a schedule, in CSV, JSON or PDF, and synced to your own server or Home Assistant without a subscription or a cloud account, that is exactly what the HealthSave app does, on-device.

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 cloud, pay once.

Get 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?

Yes. The tool streams through the file instead of loading it all into memory at once, so multi-gigabyte exports built up over years of Apple Watch data are processed metric by metric. Very large single metrics may take a few seconds to build.

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?

Any record type present in your export, including heart rate, steps, walking distance, sleep analysis, active energy, resting heart rate, HRV, blood oxygen, weight, workouts and dozens more. The tool lists exactly what it found in your file so you can download only the metrics you need.