Convert your Apple Health export to CSV and Excel

Runs in your browser

Open the export.zip from the Health app and turn it into a spreadsheet you can actually use: choose what you need, one row per day or every single value, as Excel or CSV. Your health data never leaves your device.

Where do I get the file?

  1. Open the Health app on your iPhone.
  2. Tap your profile picture or initials at the top right.
  3. Scroll down and tap Export All Health Data, then Export. Depending on how much data you have, this takes a few minutes.
  4. Save the export.zip to Files, send it to your computer with AirDrop, or open this page on the iPhone and choose the file directly.
Your file stays on your device. Nothing is uploaded.
Reading your export …

What to include
Rows

“One per day” gives a daily summary (totals or averages). “Every value” lists each measurement as recorded.

Only what you select ends up in the file.

Not a medical device: these tools sort your values and make them readable so you can pass them on. They don’t diagnose anything and don’t assess any value. The values come from your export; if something looks odd, check it in the Health app.

Apple, Apple Health, Apple Watch, iPhone and AirDrop are trademarks of Apple Inc. encode-decode.com is not affiliated with Apple and not endorsed by Apple; the tools only read the file that the Health app exports. Other names mentioned are trademarks of their owners.

Step 1

How to export your data from the Health app

  1. Open the Health app on your iPhone.
  2. Tap your profile picture or initials at the top right.
  3. Scroll down and tap Export All Health Data, then Export. Depending on how much data you have, this takes a few minutes.
  4. Save the export.zip to Files, send it to your computer with AirDrop, or open this page on the iPhone and choose the file directly.

On a Mac, Safari often unzips the file by itself. Then choose export.xml in the apple_health_export folder; that works just as well.

What you get

The sheets in your file

  • Daily summary: one row per day and a column per value. Steps, distance, energy and minutes are totals; weight, blood pressure, heart rate and the like are averages when there are several values on a day, with lowest and highest for values measured many times a day.
  • Blood pressure: every reading with date, time, systolic, diastolic and pulse. Apple stores the two numbers separately; the tool puts them back together and adds the pulse your monitor recorded.
  • One sheet per value: with “Every value”, each measurement with start, end, value, unit and the device or app that recorded it.
  • Workouts with type, duration, distance, energy and heart rate, and activity rings per day if you wear an Apple Watch.
  • About this file: period, export date and how the numbers were calculated, so you still know in a year.

Excel files open in Excel, Numbers, LibreOffice and Google Sheets with dates as real dates. If you need CSV, pick “CSV for German Excel” when your Excel uses a comma as the decimal separator; it uses semicolons, as German Excel expects.

Background

Why Excel can’t open export.xml

The Health app exports everything at once. Inside the zip is export.xml, one long list with a line for every heart beat measurement, every few hundred steps and every sleep phase, often millions of lines and several hundred megabytes. Excel’s XML import expects a table and gives up, and a sheet holds at most 1,048,576 rows anyway.

export.zip
└─ apple_health_export/
   ├─ export.xml          ← all values: one line per measurement
   ├─ export_cda.xml      ← the same in a clinical format (HL7 CDA)
   ├─ workout-routes/     ← GPS tracks of outdoor workouts (.gpx)
   └─ electrocardiograms/ ← ECGs from Apple Watch (.csv)

The tool reads the file piece by piece, keeps only the values (not your date of birth or other profile data from the export), and builds the sheets you choose. The other files in the zip are not opened.

Good to know

Why the daily steps are lower than the sum of all values

If you carry your iPhone and wear an Apple Watch, both count your steps at the same time. The export contains both. Adding them up would count your walk twice. The Health app avoids that, and so does the daily summary: for each stretch of time it counts only one source, the Apple Watch first, then the iPhone, then other apps. From a value that overlaps with one already counted, only the part that isn’t covered yet is added.

The result is close to what the Health app shows, but can differ a little. The sheets with single values always show everything as recorded. You can switch this off under “Rows”.

FAQ

Frequently asked questions

How do I export my data from Apple Health?

In the Health app on your iPhone, tap your profile picture at the top right, scroll down and tap “Export All Health Data”, then “Export”. You get a file called export.zip.

How do I open the Apple Health export in Excel?

Not directly: export.xml is a nested list that Excel can’t turn into a table. Choose the export.zip above, pick what you need and download an Excel file. It opens in Excel with one sheet per kind of data.

Is my health data uploaded?

No. The file is read by your browser and the spreadsheet is created on your device. Nothing is sent to encode-decode.com or anyone else, and nothing is stored.

Can I do this on my iPhone?

Yes. Save export.zip to the Files app, open this page in Safari and choose the file. Very large exports are faster on a computer.

Why are my steps lower than the sum of all step values?

Because iPhone and Apple Watch both record your steps. The daily summary counts each stretch of time only once, like the Health app. Turn off the option under “Rows” to add up everything.

Which time zone are the times in?

In the local time of the device when the value was recorded, as in the Health app. If you travelled, the times stay as you experienced them.

CSV or Excel?

Excel is the safest choice: dates, numbers and umlauts arrive correctly. Use CSV for Google Sheets, Numbers, R or Python, and “CSV for German Excel” if your Excel uses a decimal comma.

Sources

Where the facts come from

Last updated 28 November 2026.

Searches the list of pages on this site. What you type stays in your browser.