Last updated: July 3, 2026
To export Apple Health data to a CSV file, install the HealthExport app on your iPhone, grant it read access to the health data types you need, pick a date range and aggregation, and share the resulting CSV via AirDrop, email, or iMessage. The CSV opens directly in Excel, Google Sheets, and Apple Numbers, and works well as input for AI tools like ChatGPT or Claude.
Apple's built-in export produces a single XML archive of your entire health history, which spreadsheets can't open directly — see the comparison below.
Example export files: aggregated by days, record-based, workouts, workout route (GPX).
The Health app can export your data itself (profile picture → Export All Health Data), but the result is very different:
| Apple's built-in export | HealthExport | |
|---|---|---|
| Format | ZIP archive containing XML (export.xml) | CSV (workout routes as GPX) |
| Opens in Excel / Google Sheets | No — XML needs conversion first | Yes, directly |
| Scope | Always the entire health history | Only the data types and date range you select |
| File size | Often hundreds of MB after years of use | Small — only what you asked for |
| Aggregation | None — raw records only | Minutes, hours, days, months, years, or raw records |
| Automation | Manual only | Apple Shortcuts, or background sync with HealthExport Remote (CLI & API) |
A CSV export can be attached directly to a conversation with ChatGPT, Claude, or similar tools for analysis. For continuous, automated access, HealthExport Remote syncs your health data in the background and exposes it through an open-source CLI that works with Claude Code, Codex, and scripts — data stays end-to-end encrypted, and decryption happens on your own machine.
Questions? Email hello@healthexport.app.