HealthSave Get on the App Store

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:

Analyze a heart-rate export in 5 steps

  1. 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.
  2. 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 Value to Decimal Number with Using Locale → English (United States) so the file’s dot decimals, such as 72.0, become numbers. Set Date (YYYY-MM-DD) to Date using the same locale. Keep the full Date, 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.
  3. Create and filter the PivotTable. Select the loaded table and choose Insert → PivotTable. Drag Metric, Source, and Unit into 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.
  4. Summarize the heart-rate samples. Put Date (YYYY-MM-DD) in Rows and Value in 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.
  5. 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

CapabilityTier
CSV / JSON export, any selected date range up to seven calendar daysFree
CSV / JSON export ranges longer than seven calendar days, PDF reportsPro
Full multi-year history, background sync, REST APIPro

Pro is a one-time $24.99 (US price, varies by region), Family Sharing included, no subscription.

Honest limits

Related

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


HealthSave: Export Health Data, on iPhoneGet on the App Store