How to Export Apple Health Data from iPhone

Open the Health app, tap your profile photo, then tap Export All Health Data and confirm Export. Apple saves a ZIP that contains export.xml — that is the full built-in export, and it is XML only. Convert that file to CSV or JSON in the browser, or use the Health Data Export app when you want those formats directly.

Quick answer

How to export Apple Health data

  1. Open the Health app on your iPhone.
  2. Tap your profile photo or initials at the top right. If you do not see them, tap Summary first.
  3. Scroll to the bottom and tap Export All Health Data, then tap Export.
  4. From the share sheet, save the ZIP and unzip it. The file you want is export.xml.

Apple's export does not produce CSV or JSON. If you already have export.xml, convert it locally with the browser XML converter. Use Health Data Export when you want CSV, JSON, or XML from HealthKit without parsing that file.

Export → Convert → Analyze. Entirely on your device.

Why Export Your Apple Health Data?

Before we dive into the "how," let's cover the "why." Having a portable copy of your health data empowers you to:

Method 1: How to Export Apple Health Data with Apple's Built-In Option

Apple provides a built-in function to export your data. It's comprehensive, but the output is not user-friendly.

  1. Open the Health App on your iPhone.
  2. Tap your profile icon in the top-right corner.
  3. Scroll to the bottom and tap Export All Health Data.
  4. Confirm by tapping Export and wait for the process to complete.
  5. When the Share Sheet appears, save the health-records.zip file.
Official Apple Health Export Process in iOS
What you get: Inside the ZIP file is export.xml, a massive and complex file. This file is difficult to use without technical expertise and usually requires a secondary process to convert the Apple Health XML to a usable format like CSV.

Stop! Don't Analyze This Manually.

Apple's native export gives you a raw XML file. It's messy, huge (500MB+), and crashes Excel.

The Hard Way 😓
  • • Write Python scripts to parse XML
  • • Clean messy timestamps manually
  • • Aggregate millions of rows
The Fast Way ⚡
  • • Drag & drop into Health Data Analyzer
  • • 📊 Instant Dashboards (Sleep, HRV)
  • • 🤖 AI Summaries of your year
Download Mac Analyzer

100% Local & Private • Runs on your Mac

Method 2: Faster Apple Health Export to CSV, JSON, or XML

A far simpler approach is to use our dedicated iOS app, which is designed to solve the problems of the official method. It provides a direct, one-tap export into clean, analysis-ready formats.

FeatureOfficial Method"Health Data Export" App
Output FormatComplex XMLClean CSV, JSON, XML
Ease of UseMulti-step, confusingSimple, one-tap export
Time to Usable DataOver 15 minutesUnder 60 seconds
Requires ConversionYes, almost alwaysNo, format is ready-to-use

By using the app, you get a direct Apple Health to CSV export without ever having to see or handle the complicated XML file.

Your End-to-End Data Workflow

  1. Export: Use the "Health Data Export" iOS app to get a clean CSV or JSON file.
  2. Transfer: AirDrop the file to your Mac.
  3. Analyze: Use the "AI Analyzer" for Mac to analyze your Apple Health data with AI, creating charts, finding trends, and gaining personalized insights.

This workflow puts you in complete control, from raw data collection to sophisticated analysis.

AI-ready prompts for your exported Apple Health data

"I exported Apple Health data for 6 months. Summarize sleep quality trends, heart-rate baseline shifts, and activity consistency by week."
"Use this CSV to identify days where low sleep was followed by reduced workout performance. Give me 3 practical adjustments to test next week."
"Build a weekly health summary from this export: top improvements, warning signals, and one focus habit for the next 7 days."

Next step links

Get Started Today

Stop being a passive observer of your health data. Become an active participant.

Download on the App Store Get Health Data AI Analyzer

Export Apple Health to CSV, JSON, or XML — private, on-device analysis.