Export Apple Health Data to CSV

Open your health data in Excel, Google Sheets, or any spreadsheet app

Last updated: April 20th, 2026

Martin

By Martin

Co-founder, vitalina

Woman working on laptop at the beach

Apple Health records a huge amount of data — heart rate, sleep stages, workouts, steps, blood pressure, and more — but getting that data into a spreadsheet is surprisingly hard. Apple's built-in export dumps everything as a single XML file that can be gigabytes in size and is not something you can open in Excel.

vitalina solves this by reading your Apple Health data on your iPhone and exporting it as clean, standards-compliant CSV files you can open directly in Microsoft Excel, Google Sheets, Apple Numbers, or any data tool — no cloud upload, no account required.

Why CSV?

CSV (Comma-Separated Values) is the universal format for tabular data. Every spreadsheet app, database tool, and programming language can read it. When you export Apple Health data as CSV with vitalina, you get:

  • One row per data point — each heart rate reading, each sleep session, each workout is its own row
  • RFC 4180 formatting — the standard CSV specification, so special characters and commas in fields are properly escaped
  • UTF-8 encoding — works globally, including with units like °C and special characters
  • ISO 8601 dates — timestamps that Excel, Sheets, and programming languages all understand

Looking to export Apple Health data to Excel?

CSV is the easiest way to get Apple Health data into Excel. Double-click the exported file and it opens directly in Excel with all columns, rows, and headers intact. From there you can create pivot tables, charts, or filter by date range — no conversion or import wizard required. The same file also works with Google Sheets and Apple Numbers.

How to export Apple Health data as CSV

Step 1: Download vitalina

Download vitalina from the App Store. It's free with no account or sign-up.

Step 2: Allow access to Apple Health

Tap Allow Health Access and confirm the permissions. vitalina only requests read access — it cannot modify your data. Everything is processed locally on your iPhone.

Step 3: Select the metrics you want

Choose from 30+ health metrics across 7 categories: vitals (heart rate, blood pressure, blood oxygen, and more), activity (steps, distance, active energy), body measurements (weight, BMI), sleep analysis, workouts, cycle tracking, and nutrition. Select as many as you need — vitalina groups them into the right CSV schema automatically.

Step 4: Pick a date range

Choose Last 7 days or Last 14 days for free, or upgrade to vitalina Pro for 30 days, 3 months, 1 year, all-time history, or a custom date range.

Step 5: Select CSV as your format

In the format picker, tap CSV. This is the format that opens directly in Excel, Google Sheets, and Numbers.

vitalina format selection showing PDF, CSV, and JSON options

Step 6: Tap Export Now

Tap Export Now. vitalina reads your Apple Health data and generates a clean CSV file — usually within a few seconds, even for months of data.

Step 7: Open in Excel or share

Preview the file, then tap Export to open the iOS share sheet. From there you can:

  • AirDrop to your Mac and double-click to open in Excel
  • Save to Files or iCloud Drive
  • Email to yourself or your care team
  • Upload to Google Drive to open as a Google Sheet

CSV column schemas

vitalina uses three CSV schemas depending on the type of health data you export. Each schema has a fixed set of columns with clear headers — ready to use in Excel or Google Sheets without any reformatting.

Health Records

Heart Rate, Steps, Blood Pressure, Weight, and more

Download sample
DateISO 8601 timestamp (e.g. 2026-04-20T08:05:00Z)
TypeData type name (e.g. Heart Rate, Blood Pressure Systolic)
ValueNumeric measurement
UnitUnit of measurement (bpm, mmHg, count, kg, ...)
SourceApp or device that recorded the data
DeviceHardware device name (if available)

health-records-sample.csv — open this file in Excel or Google Sheets to see the exact format.

Sleep Analysis

Nightly sleep sessions with stage breakdowns

Download sample
DateNight date (yyyy-MM-dd)
Total SleepTotal sleep duration (h:mm)
Time in BedTotal time in bed (h:mm)
REMREM sleep duration (h:mm)
REM %REM as percentage of total sleep
DeepDeep sleep duration (h:mm)
Deep %Deep as percentage of total sleep
CoreCore (light) sleep duration (h:mm)
Core %Core as percentage of total sleep
AwakeTime awake during the night (h:mm)
Heart RateAverage sleeping heart rate (bpm)
Respiratory RateAverage respiratory rate (breaths/min)
SourceRecording app or device

sleep-sample.csv — open this file in Excel or Google Sheets to see the exact format.

Workouts

Individual workout sessions with performance metrics

Download sample
DateISO 8601 start timestamp
TypeWorkout type (Running, Cycling, Swimming, ...)
DurationElapsed time (mm:ss or h:mm:ss)
Distance (km)Total distance in kilometers
Energy (kcal)Active calories burned
Avg HRAverage heart rate (bpm)
Min HRMinimum heart rate (bpm)
Max HRMaximum heart rate (bpm)
CadenceSteps or revolutions per minute
Elevation Gain (m)Meters climbed
Temperature (°C)Ambient temperature
SourceRecording app or device

workouts-sample.csv — open this file in Excel or Google Sheets to see the exact format.

Empty cells mean the metric was not recorded for that entry. Most spreadsheet apps handle this gracefully — you can filter or sort without any issues.

CSV vs PDF vs JSON — which format should you use?

CSV — for spreadsheets and data analysis

Best when you want to open your health data in Excel, Google Sheets, or Numbers. Create charts, pivot tables, or filter by date. Also works for importing into databases, R, Python, or other data tools. This is the format most people need when they search for "export Apple Health data to Excel".

PDF — for doctors and appointments

Best when you need to share a report with your doctor. Includes trend charts, formatted tables, and clean layout your care team can read immediately. Print it or email it before your appointment. Learn more about PDF export →

JSON — for developers and automation

Best for developers building custom dashboards, data pipelines, or automated analysis. Structured format with nested objects, sorted keys, and pretty-printed output. Import directly into JavaScript, Python, R, or any programming language.

How much does CSV export cost?

vitalina is free with 5 unique exports, all three formats (CSV, PDF, JSON), and date ranges up to 14 days. vitalina Pro is a one-time purchase (no subscription) that unlocks unlimited exports, extended date ranges up to all time, and Shortcuts automation. Re-exporting the same configuration is always free.

Download vitalina free on the App Store →

Frequently asked questions

Can you export Apple Health data to Excel?

Yes. vitalina exports Apple Health data as CSV files, which open directly in Microsoft Excel, Google Sheets, and Apple Numbers. CSV is the universal spreadsheet format — double-click the file and it opens with all columns and rows ready to use. No conversion or import wizard needed.

Can you export Apple Health data to CSV?

Yes. Apple Health's built-in export only produces an unfiltered XML dump of your entire health history. vitalina lets you pick specific metrics and date ranges and export them as clean, standards-compliant CSV files — ready for Excel, Google Sheets, or any data tool.

What data is included in the CSV export?

vitalina can export 30+ health metrics across three CSV schemas: Health Records (heart rate, blood pressure, steps, weight, blood oxygen, and more), Sleep Analysis (nightly sessions with REM, deep, and core sleep breakdowns), and Workouts (individual sessions with duration, distance, heart rate, cadence, and elevation). You choose which metrics to include.

Does the CSV file work with Google Sheets?

Yes. The CSV files use RFC 4180 formatting and UTF-8 encoding, which Google Sheets handles natively. Upload to Google Drive and it opens as a spreadsheet automatically, or use File → Import in an existing sheet.

Is the CSV export free?

Yes. CSV export is available for free with up to 5 unique exports and date ranges up to 14 days. vitalina Pro (a one-time purchase, no subscription) unlocks unlimited exports and extended date ranges up to all time.

Is my health data safe when I export to CSV?

Yes. vitalina processes everything locally on your iPhone. Nothing is uploaded to any server. There is no account, no cloud storage, and no analytics. The CSV file stays on your device until you choose to share it.