How to Analyze Apple Health Data in Excel
To analyze Apple Health data in Excel, import HealthSave’s combined CSV and keep each metric separate. This guide uses a heart-rate example to show how to import numbers and dates, filter a PivotTable, and chart its output.
Why Excel, and why not Apple's own export
Apple Health provides charts on your phone. For your own spreadsheet analysis, its built-in Export All Health Data produces a ZIP archive containing export.xml, which needs conversion before it becomes a usable table. HealthSave skips that entirely: pick your metrics and a date range, get one tidy CSV with one row per sample, each labeled by its metric, and you're ready to filter, pivot, and chart in minutes.
What the CSV actually looks like
One export is one combined CSV file, not one file for each metric. Every selected metric lives in the same fifteen-column table, so use Metric to distinguish the rows when you analyze them. Here is the full shape exactly as the file reads it:
Synthetic example — made-up rows, not real health data. The values only illustrate the file's shape; they are not clinical ranges, normal values, or advice:
Date,Metric,Value,Unit,Source,Date (YYYY-MM-DD),Time (HH:MM:SS),Time Zone,Medication Name,Medication Status,Dose Quantity,Scheduled Dose Quantity,Medication Unit,Scheduled Date,Medication Concept ID
2026-06-04T07:41:00+03:00,heart_rate,72.0,count/min,Apple Watch,2026-06-04,07:41:00,UTC+03:00,,,,,,,
2026-06-04T07:58:30+03:00,oxygen_saturation,98.0,%,Apple Watch,2026-06-04,07:58:30,UTC+03:00,,,,,,,
2026-06-05T06:12:00-04:00,heart_rate,68.5,count/min,Apple Watch,2026-06-05,06:12:00,UTC-04:00,,,,,,,
Reading the columns:
- Date is the full ISO 8601 timestamp of the sample. The split Date (YYYY-MM-DD), Time (HH:MM:SS), and Time Zone columns are that same instant sliced apart — they never carry a different clock, and they are not re-expressed in today's local zone.
- Time Zone is the row's own UTC offset, written
UTC+03:00,UTC-04:00, orUTC+00:00— never a named zone like Europe/Berlin and never a bareZ. In the default Device mode each row renders in the zone Apple Health recorded with the sample when it kept one, otherwise your device's zone, so one file can legitimately mix offsets across a trip; the UTC option re-renders every row at UTC+00:00. Grouping on Date (YYYY-MM-DD) uses each row’s recorded calendar day. For one common day boundary, choose UTC when exporting. Keep the original Date and Time Zone columns as text. - Value is the raw reading and Unit names its scale: heart rate is
72.0incount/min, oxygen saturation is98.0in%. The exported value 98.0 uses the 0–100 scale, rather than 0.98. Keep it as a Number; applying Excel Percentage formatting directly to 98.0 would display 9800%. - Source is the device or app that recorded the sample, e.g.
Apple Watch. - The last seven columns are additive medication fields. For ordinary metrics like these they are blank — blank, not zero. On medication rows
Valueis the taken (1.0) or not-taken (0.0) flag, while the recorded amount, when there is one, sits in the separateDose Quantitycolumn (a blank dose quantity is missing information, not a 0). See the medications and dose history guide for those rows.
Analyze a heart-rate export in 5 steps
- Export one combined CSV. In HealthSave, pick the metrics and a date range. CSV and JSON export are free for any selected date range up to seven calendar days; you pick the range.
- Import numbers and dates deliberately. In Excel for Microsoft 365 on Windows, choose Data → From Text/CSV, confirm the comma delimiter, then select Transform Data. In Power Query’s Applied Steps, remove an automatic Changed Type step if present. Set
Valueto Decimal Number with Using Locale → English (United States) so the file’s dot decimals, such as 72.0, become numbers. SetDate (YYYY-MM-DD)to Date using the same locale. Keep the fullDate,Time Zone,Time (HH:MM:SS), and medication columns as Text, then Close & Load. Do not rely on double-clicking the CSV to preserve these types. See Microsoft’s CSV import guide and data type and locale instructions. - Create and filter the PivotTable. Select the loaded table and choose Insert → PivotTable. Drag
Metric,Source, andUnitinto PivotTable Filters. For the synthetic example, select heart_rate, Apple Watch, and count/min in those filters. For your own file, choose one source that recorded that metric. A worksheet filter alone does not filter the PivotTable. Never average unlike metrics, and keep a source’s day totals separate from its raw components. See Microsoft’s PivotTable filter instructions. - Summarize the heart-rate samples. Put
Date (YYYY-MM-DD)in Rows andValuein Values. Open Value Field Settings and select Average — Average is not the default for numeric values. This is an average of the recorded heart_rate samples, not a time-weighted daily average. Keep the three PivotTable filters selected. See Microsoft’s summary function instructions. - Chart the result. Use Insert → PivotChart to plot the filtered daily sample averages. Check the filters and units before reading the chart.
These steps use Excel for Microsoft 365 on Windows. Mac and other Excel versions may have different import menus. The same CSV opens in Apple Numbers and Google Sheets, but their import menus and pivot capabilities differ.
Choose the summary for the metric
This heart-rate example is not a general averaging recipe. Steps, sleep, and workouts have different row shapes and aggregation rules. Do not apply Average unchanged to cumulative totals or durations. Keep sources, units, and totals separate when building your own analysis.
What's free vs Pro
| Capability | Tier |
|---|---|
| CSV / JSON export, any selected date range up to seven calendar days | Free |
| CSV / JSON export ranges longer than seven calendar days, PDF reports | Pro |
| Full multi-year history, background sync, REST API | Pro |
Pro is a one-time $24.99 (US price, varies by region), Family Sharing included, no subscription.
Honest limits
- HealthSave gives you the data, not the spreadsheet. The pivot tables and charts are yours to build, Excel does that part.
- Free export covers any range you select up to seven calendar days; longer ranges and the full multi-year backfill need Pro.
- iOS only; it reads Apple Health, so data must already be in HealthKit.
- Accuracy is your wearable's, the CSV shows exactly what your device recorded.
Related
- How to export Apple Health data, the full guide and formats.
- Turn Apple's unusable export.xml into real CSV.
- Export step count and weight for quick trend charts.
- Want SQL instead of spreadsheets? Store it in your own database.
FAQ
Can I open Apple Health data directly in Excel?
Yes, if you export it as CSV first. HealthSave writes one combined CSV with every selected metric in a single table, and it opens directly in Excel, Numbers, or Google Sheets, no XML parsing required.
Why not just use Apple's Export All Health Data?
Apple's export is one giant export.xml archive that Excel can't meaningfully open. HealthSave skips the XML and gives you one tidy combined CSV you filter by metric, which is what you actually want for analysis.
Can I build pivot tables and charts?
Yes. Create a PivotTable from the imported table and use its Metric, Source, and Unit filters to select one compatible set of rows. This guide averages recorded heart-rate samples; steps, sleep, and other metrics need their own aggregation rules.
Does it work in Numbers and Google Sheets?
Yes. CSV is universal, so the same file opens in Apple Numbers and Google Sheets; their import menus and pivot capabilities differ from Excel's, so follow each app's own import steps.
Is exporting to CSV free?
Yes. CSV and JSON export are free in HealthSave for any selected date range up to seven calendar days; you pick the range. CSV and JSON export ranges longer than seven calendar days, PDF reports, and the full multi-year history need the one-time Pro upgrade ($24.99 in the US, varies by region).
HealthSave is not a medical device. It is for informational purposes only and does not diagnose, treat, cure, or prevent any disease or condition. The accuracy of any health data depends on your wearable device and its sensors. Privacy claims of zero data collection apply to the iOS app.
Get HealthSave
Download free, export any metric to CSV, and start analyzing your Apple Health data in Excel in minutes.
Download HealthSave on the App Store