Blog Apple Health data
How do you give ChatGPT or Claude your Apple Health data?
By Nexis, maker of Health Export and Atoll · Published · Updated

To ask ChatGPT or Claude about your Apple Health data, export the types and dates you care about as CSV and upload those files. The raw export.xml from the Health app does not work well: ChatGPT caps CSV and spreadsheet files at about 50 MB, and a few years of Apple Watch data produce hundreds of megabytes of XML.
Upload limits, checked December 2, 2026

| ChatGPT | Claude | |
|---|---|---|
| Any file | 512 MB | 500 MB, up to 20 files per chat |
| CSV and spreadsheets | About 50 MB, depending on row size | Same per-file cap; 30 MB in projects |
| What really limits you | How much of the file the model can read: big files get sampled or truncated | |
For comparison: one built-in Health export we measured was cut off at 843.0 MiB, and the first full run of our app on a phone with five and a half years of data wrote 1.3 GB across 2.79 million samples. Neither fits.
Step by step
- Install Health Export (free) and allow read access to the types you want.
- Pick only those types: for example Sleep Analysis, Heart Rate Variability, Resting Heart Rate, Steps.
- Set the date range to the period you are asking about, such as the last 90 days.
- Export CSV. Each type becomes its own file; the SQLite output adds daily totals if you prefer one table.
- Send the files to your Mac with AirDrop or save them to Files, then attach them in ChatGPT or Claude.
Prompts that work
- "These are my sleep and HRV CSVs for the last 90 days. Plot nightly sleep duration and HRV, and tell me whether short nights precede low HRV."
- "Steps per day for 2026. Which weekdays am I least active, and how did that change after March?"
- "Resting heart rate per day. Flag days more than 2 standard deviations above my 30-day average."
Ask the model to use its code tool (ChatGPT's data analysis, Claude's code execution) for anything over a few thousand rows: it then reads the whole file instead of a sample.
Daily totals or raw samples
Raw heart rate is one row every few minutes; a year of it is hundreds of thousands of rows. For trends, daily totals are enough and fit any upload limit. Keep raw samples for questions about a single night or workout.
Keeping it private

Health Export sends nothing anywhere unless you do: no account, no analytics, no server of ours. What you upload to an AI provider is covered by that provider's terms, so export only what the question needs. More on exports inHow to export Apple Health data to CSV.
Sources
Every number on this page was read from these pages on December 2, 2026.
- OpenAI Help: File uploads FAQ: 512 MB per file, about 50 MB for CSV and spreadsheets
- Claude Help: Upload files to Claude: 500 MB per file, 20 files per chat, 30 MB in projects
- Apple Support: Share your data in Health on iPhone
- Health Export source code (MIT): 843.0 MiB cutoff, 1.3 GB first run
- Health Data Export & Backup on the App Store
Questions
Can I upload the Apple Health export.zip to ChatGPT?
Usually not usefully. ChatGPT caps CSV and spreadsheet files at about 50 MB, and the raw export.xml of a few years of Apple Watch data is hundreds of megabytes to over a gigabyte. Export only the types and dates you ask about, as CSV.
What is the file size limit for Claude?
Claude's help center lists 500 MB per file and up to 20 files in a chat, and 30 MB per file in projects. The content still has to fit the context window, so smaller CSVs give better answers.
Which format works best for AI analysis?
CSV with one file per data type. Daily totals (steps, sleep, resting heart rate per day) are small enough to paste or upload and answer most questions; raw per-sample data is for the code interpreter.
Is it safe to give ChatGPT my health data?
That is your call: the file goes to the AI provider under its privacy terms. Exporting only the types you need, and only the date range in question, limits what you share.