Spookwerk
English ▾
← Blog

How to get your Apple Health data into Excel or Google Sheets

Vitadatum exports your Apple Health data to CSV files that open directly in Excel and Google Sheets. You get one summary file with 26 daily columns, plus a detailed file per metric, and all of it is processed on your iPhone.

CSV export is part of Vitadatum Premium, a €4.99 one-time purchase with no subscription. The free version exports the last 7 days as JSON, which has its uses, but it isn't a spreadsheet. I'd rather you read that in the second paragraph than find out at the paywall.

Download Vitadatum on the App Store

If you're still at the stage of wondering why the Health app has no CSV button at all, the earlier post How to export Apple Health data to CSV covers that, including the free route of converting the XML yourself with a script. This post starts where that one stops, at the spreadsheet.

Why Apple's own export doesn't open in Excel

Apple does hand you your data. In the Health app, tap your profile picture, scroll to the bottom and tap Export All Health Data. A while later you have export.zip, and inside it export.xml. That file holds almost every record, in a format written for software to read. ECG recordings come as separate CSV files in an electrocardiograms folder, and workout routes as GPX files.

This is where most people get stuck. Someone on Apple's support forum, trying to get their blood pressure readings back out of Health, put it like this:

"I see no way to selectively export BP data, or electro cardiogram, etc." "These files will NOT open in Excel, Word or anything I have on my Mac."

Both complaints hold up. The export is all or nothing, so you can't ask for blood pressure alone. The XML is one long list of records with no columns to sort. And after a few years of Apple Watch data the file is big enough that opening it at all becomes a project.

To be fair to Apple, the export is free and it's thorough. It just isn't a spreadsheet, and it never claimed to be one. I built Vitadatum because I wanted the spreadsheet.

Step by step: Apple Health to CSV with Vitadatum

  1. Install it and give it Health access. Open Vitadatum and tap Get Started. iOS shows its Health permission sheet. On iOS 27, Health also asks how much history to share. Choose All Recorded Data and Future Data. With the 30-day option, Vitadatum can only read the last 30 days, and no export can reach further back than the window you grant. You can widen it later in Settings › Privacy & Security › Health › Vitadatum › Change Access. Once you have Premium, run Full Export (Reset) after widening it, so the older data gets picked up.
  2. Unlock Premium. In Vitadatum's settings, Also Export as CSV carries a lock on the free version. Tapping it opens the €4.99 unlock.
  3. Pick your categories. Export Categories lists 14 health categories, such as heart, sleep, workouts and nutrition. Switch off what you don't need. Fewer categories means a faster export and fewer files.
  4. Turn on CSV. Switch on Also Export as CSV, then Include Detailed CSVs if you want a separate file per metric. Do this before your first export. If you switch it on later, there are two ways to get detail files for your older data. Run Full Export (Reset) once, or tap Generate Summary + Detail CSVs.
  5. Choose where the files go. By default they land in a HealthExports folder under On My iPhone in the Files app. Choose Export Folder lets you pick iCloud Drive or any other folder in Files. iCloud Drive is the easiest way to get the files onto a computer.
  6. Export. Tap Export My Health Data and keep the app open with the screen on while it runs. A first export of years of data can take several minutes. When it's done, Open in Files takes you to the folder.

Opening the files in Excel and Google Sheets

Start with summary.csv in the HealthExports folder. The per-metric files sit next to it in a folder called csv.

Excel, on Windows or a Mac. Double-clicking the CSV usually works. If everything lands in column A, your Excel expects semicolons, which is common in Europe. Import the file instead. On Windows that's Data → From Text/CSV. Excel for Mac has no From Text/CSV button, so there it's Data → Get Data (Power Query) → Text/CSV. Pick the file and set the delimiter to comma.

Vitadatum writes decimals with a full stop, like 5.43. If your Excel uses a decimal comma, those numbers can come in as text, or as wrong whole numbers. The second case is worse, because it looks right. In the import window, choose Transform Data. Under Applied Steps, delete the automatic Changed Type step. Then right-click the column header and choose Change Type → Using Locale, then English (United States).

Google Sheets. Open a new spreadsheet. If its locale uses a decimal comma, Sheets can read 5.43 as text or as a date, so first set File → Settings → Locale to United States. Then go to File → Import → Upload and drop in summary.csv. Sheets detects the comma separator on its own. Pick Replace current sheet or Insert new sheet(s), and you're done.

Numbers opens the CSV directly, no import step.

What's in the files

summary.csv has one row per day and 26 columns. The date comes first. Then steps, distance, flights climbed, active and resting energy, exercise and stand minutes, resting heart rate, HRV, walking speed and walking asymmetry, weight and body fat, systolic and diastolic blood pressure, respiratory rate, blood glucose, body temperature and peak physical effort. The last six columns are worked out from other data: sleep hours, deep sleep hours, stand hours, and workout count, duration and energy.

That's the file for charting a trend over months. The detail files are for when you want every reading. Each metric gets its own CSV in the csv folder, one row per measurement, with its start and end time, the value, the unit, and the app or device that recorded it. StepCount.csv, HeartRate.csv and workouts.csv are typical. Blood pressure comes as two files, BloodPressureSystolic.csv and BloodPressureDiastolic.csv, one row per reading. Match them on the timestamp and you have each reading back as a pair.

Workouts come out as one row per workout, with type, duration, energy and distance. Sleep comes out as one row per segment, with the stage, such as core, deep or REM, named in its own column. ECG recordings from an Apple Watch include the voltage trace, about 15,000 samples per recording at 512 Hz, one file per recording in csv/ECG. A README.txt in the export folder lists the summary columns, how each one is calculated, and which detail files you have.

Keeping it current

With Premium, Background Exports run on their own. There's no switch for them. When new data arrives in Health, Vitadatum adds it to the export folder without you opening the app, but only while your iPhone is unlocked. iOS decides when background work runs, so the update can lag behind your watch by a while.

Your spreadsheet does not follow along on its own. Google Sheets doesn't read a folder on your iPhone or in iCloud Drive, and an imported sheet is a copy. When you want fresh numbers, import summary.csv again with Replace current sheet, or reopen the file in Excel.

The free option

The free version exports the last 7 days as JSON, across all 14 categories. There's no CSV in it. JSON doesn't open well in Excel either, but it's easy to hand to ChatGPT or Claude, so a week of data attached to a chat is a fair way to ask questions about your sleep or your heart rate. Vitadatum has no AI inside it. It writes the files, and what reads them is your choice.

It's also the honest way to check before you pay. Export a week, open the folder, and see whether the data you care about is there.

Download Vitadatum on the App Store, or read more on the Vitadatum page.

FAQ

Can I export Apple Health data to Excel for free?

Apple's own export is free, but it produces an XML file that Excel doesn't open as a usable table. Vitadatum's free version exports the last 7 days as JSON; CSV export for Excel and Google Sheets is part of Vitadatum Premium, a €4.99 one-time purchase with no subscription.

Can I export just one metric, like blood pressure or workouts?

Not on its own. You switch categories off, not single metrics. With Include Detailed CSVs on, each metric gets its own file, workouts included. Blood pressure comes as two files, systolic and diastolic.

Is my health data uploaded anywhere?

No. Vitadatum uploads nothing and has no account. By default the files stay in On My iPhone. With Premium you can pick an iCloud Drive folder or another folder in Files. If you pick iCloud Drive, iCloud syncs those files itself, like any other file there.

How far back can I export?

As far back as Apple Health lets the app read. On iOS 27 you choose that window when you grant access; picking 'All Recorded Data and Future Data' lets Vitadatum read beyond the last 30 days. The free version exports the last 7 days.

Does it work with Google Sheets?

Yes. Vitadatum's CSV files import into Google Sheets with File → Import → Upload, and open directly in Excel and Numbers.

Spookwerk