Export & Analyze Apple Health Data with ChatGPT
ChatGPT times out when you upload a raw 500MB Apple Health export.zip or export.xml. Drop your file below to stream-parse it locally in 4MB chunks—getting both a compact context.md for ChatGPT chat / Projects and a clean Daily CSV built for ChatGPT’s Python Data Analysis charts.
context.md & Python-ready CSV
⚡ Handles 500MB–2GB exports in seconds
Drop export.zip or export.xml here
No unzipping needed · Processed locally in your browser · Zero data leaves your computer
+ Optional: add short personal context (age/sex, goals, medications or training block) for ChatGPT
Ready-to-Use ChatGPT Prompts
Paste directly into ChatGPT, a ChatGPT Project, or attach the downloaded Daily CSV for Python charts.
This output stops at your export date. The HealthDock apps are designed to refresh your health files on your Mac every day. Get the apps
Automatic iPhone → Mac Sync
Don’t want to re-export a 500MB ZIP every month? The HealthDock iPhone & Mac apps are on the App Store now. They are designed to sync Apple Health automatically over Bluetooth & local Wi-Fi—keeping your context.md and daily files fresh on your Mac with zero cloud servers.
iPhone: 7-day free trial, then $4.99/year or $14.99 once (US prices). Not available in the EU.
Best Way to Use Apple Health Data in ChatGPT
1. Quick Check-In (Paste context.md)
Open a new chat (or Temporary Chat), paste a prompt + context.md. At ~2KB, ChatGPT reads every baseline, anomaly day, and 8-week training block without losing context.
2. Python Charts (Attach Daily CSV)
Click Download CSV for Python and upload the compact CSV to ChatGPT. Ask it to plot sleep vs. HRV correlations, 14-day rolling resting HR, or weekday vs. weekend splits.
3. ChatGPT Projects / Custom GPT
Upload context.md to a dedicated Health Project so every future question automatically knows your personal baselines—and disable model training in Settings → Data Controls.
Sample input and output
These files contain 100% synthetic data (60 days across a simulated Apple Watch and iPhone, summarized with the default 90-day baseline window) produced by running sample-apple-health-export.zip through this exact browser converter (assets/health-worker.js).
- sample-apple-health-export.zip — synthetic Apple Health input archive (
apple_health_export/export.xml) - sample-context.md — AI-ready Markdown summary (90-day baseline window over 60 synthetic days)
- sample-daily-summary.csv — Daily Summary CSV output (60 rows)
- sample-workouts.csv — Workouts CSV output (48 rows)
- sample-daily-summary.json — Daily Summary JSON output (60 days)
- README.txt — generation notes
# My Health Context (for AI) Below is personal health data summarized from Apple Health by HealthDock. Use it as background when answering my health questions. This is not a medical diagnosis. Point out what warrants seeing a doctor, and say directly when data is insufficient. Data through 2026-11-28 (up to date); 60 of the last 90 days have data. Generated at 2026-11-29 11:54. ## Recent vs. Baseline | Metric | Last 7d | Last 30d | Last 90d | 7d vs. Baseline | |---|---|---|---|---| | Resting Heart Rate bpm | 59 | 59 | 58 | +2% | | HRV ms | 53 | 57 | 58 | -8% | | Walking Heart Rate bpm | 95 | 93 | 93 | +2% | | Sleep h | 7.0 | 7.3 | 7.3 | -4% | | Deep Sleep min | 73 | 78 | 78 | -8% | | REM Sleep min | 90 | 95 | 96 | -8% | | Steps | 9,125 | 9,355 | 9,213 | -1% | | Active Energy kcal | 603 | 597 | 593 | +2% | | Exercise min | 35 | 33 | 36 | -5% | | Blood Oxygen % | 97.4 | 97.5 | 97.5 | +0% | | Respiratory Rate /min | 14.0 | 14.0 | 14.1 | -1% | | VO₂max ml/kg·min | 45.8 | 45.7 | 45.5 | +1% | | Weight kg | 71.0 | 71.1 | 71.2 | +0% | Baseline = last 90 days excluding the most recent 7 days. Today's partial steps, active energy, and exercise are excluded. ## Unusual Days (last 14 days, ≥2 SD from baseline) | Date | Metric | Value | Baseline (±1 SD) | |---|---|---|---| | 2026-11-25 | Walking Heart Rate bpm | 105 | 93 (±2) | | 2026-11-25 | Sleep h | 4.9 | 7.3 (±0.3) |
ChatGPT & Privacy FAQ
Why does ChatGPT fail or reject Apple Health export.zip?
Per OpenAI’s official File Uploads documentation, ChatGPT caps document uploads at 512 MB per file and 2 million tokens for text files (with separate size caps for spreadsheets; as of Nov 2026). Multi-year Apple Health exports frequently exceed those limits and contain overlapping Watch + iPhone rows. HealthDock cleans, deduplicates, and summarizes everything locally first.
What about OpenAI’s native “Health in ChatGPT” Apple Health connector?
Per OpenAI’s Health in ChatGPT Help article, native Health connections are currently limited to eligible users in the U.S. (Free, Go, Plus, and Pro, requiring an iPhone to link Apple Health; availability can change; as of Nov 2026). HealthDock works in every country worldwide—including the UK, EEA, Switzerland, Canada, and Asia—and keeps raw HealthKit records off cloud servers.
How do I stop ChatGPT from training on my health summary?
Open ChatGPT → Settings → Data controls and turn off Improve the model for everyone (OpenAI Data Controls docs), or paste your summary into a Temporary Chat. HealthDock itself never transmits or stores your file anywhere.
Does it work with free ChatGPT as well as ChatGPT Plus / Team?
Yes. Because context.md is compact plain Markdown (~2KB), you can paste it into free ChatGPT, Plus, Pro, or Team without hitting attachment quotas.
Is this medical advice?
No. HealthDock only formats and summarizes your personal Apple Health records. Always verify health insights with a qualified clinician before making medical changes.