FitMesh Sync
← All articles
Guide·7 min read

Guide

How to export Apple Health data to PC or web (2026)

Apple Health collects years of health data on your iPhone, but viewing them on a computer or sharing them with someone takes a few extra steps. Here are all the methods, easiest first.

Published May 30, 2026

Every time Apple Watch measures your heart rate, records a step, or detects a sleep cycle, the data goes into Apple Health. After years of use you can have millions of records. The problem: Apple Health has no web dashboard. The data sits in the app on your phone, and getting it to a PC or browser requires a specific path.

Method 1: Native XML export (free, complete, but technical)

Apple Health includes a native export that produces a ZIP file with all your data in XML format. It's the most complete method — includes literally every record — but the resulting file is hard to read without additional tools.

  1. Open Health on your iPhone.
  2. Tap your profile photo in the top-right corner.
  3. Scroll to the bottom → tap Export All Health Data.
  4. Confirm → wait (may take a few minutes if you have years of data).
  5. Choose how to share: AirDrop to Mac, Save to iCloud Drive, Email to yourself.
  6. On PC/Mac, unzip the file. You'll find `export.xml` (the bulk of the data) + `workout-routes/` folder with GPS data.

How to read the XML file on PC (free tools)

Once you have the XML file on your computer, there are a few free ways to display it in a readable format:

  • Python script: if you have Python installed, libraries like `pandas` and `lxml` let you read the XML, filter by metric type, and export to CSV. GitHub has dozens of ready-to-use open-source scripts for this.
  • Numbers/Excel: Apple Health XML can't be imported directly into Excel, but CSV (after Python conversion) can.
  • Apple Shortcuts: on iPhone and Mac, the Shortcuts app can read directly from Apple Health without exporting. Useful for automating weekly or monthly reports.
  • Tableau Public / Google Looker Studio: after converting to CSV, you can visualize the data with these free data viz tools.

Method 2: Sharing with your doctor (native PDF or charts)

For sharing specific data with a doctor, Apple Health has a built-in feature simpler than the full XML export:

  1. In Health → open the category you're interested in (e.g. Heart Rate, Sleep).
  2. Tap on the chart → Export Health Records (at the bottom) → CSV for that single metric.
  3. Or: in Summary → scroll to Health Sharing → configure who can see your data (other iPhone users or doctors on specific platforms).

Method 3: Web dashboard — the most convenient way (iOS coming)

The most convenient option — having Apple Health data on a web dashboard accessible from any browser, without manual exports every time — requires an app that reads Apple Health and syncs it to the cloud.

FitMesh Sync is building this exact feature for iOS. The iPhone app will read data from Apple Health (HealthKit), sync it automatically, and display it on the same web dashboard already used for Android. If you have an iPhone and use Apple Watch, Garmin, or any wearable that writes to Apple Health, you'll be able to access your data from a browser without manual exports.

What a complete Apple Health export contains

  • Steps and distance: every sample with precise timestamp
  • Heart rate: all samples (every few minutes if you have Apple Watch)
  • Resting heart rate and HRV: calculated every morning
  • Sleep: stages (Core, Deep, REM, Awake) with timestamps
  • Workouts: type, duration, calories, average HR, GPS
  • SpO2: every available sample
  • ECG: PDF file + raw values if you have Apple Watch Series 4+
  • Mindfulness: conscious breathing sessions
  • Weight and body composition: if entered manually or from a smart scale
  • Blood pressure and glucose: if entered manually
  • Environmental data: noise levels, detected falls

Frequently asked questions

Is Apple Health export safe for privacy?+

The XML file is unencrypted — anyone who receives it can read all your health data. Treat it like a sensitive medical document. Don't upload it to public cloud services, don't send it via unencrypted email. AirDrop or USB cable to Mac are encrypted transfers.

Can I import Apple Health data into Google Fit or Health Connect?+

Not directly — Apple Health and Health Connect/Google Fit are separate systems with no native import from one to the other. Open-source Python scripts exist that read the Apple Health XML export and write it to Health Connect via API, but they require technical setup. For specific workouts (e.g. from Garmin), Garmin Connect syncs with both Apple Health and Health Connect — the cleanest path for multi-platform device users.

How much space does an Apple Health export take?+

Depends on years of data and how many wearables you've used. A 2-year Apple Watch user can expect 100-400MB compressed (ZIP), becoming 500MB-2GB uncompressed. Those using Apple Watch + frequent cardiac measurements can reach 3-5GB uncompressed.

Can I automate monthly exports?+

Via native XML export, no — it must be done manually each time. Via Apple Shortcuts you can automate extraction of specific metrics (e.g. 'export this week's steps to CSV') and send them to yourself via email or save to iCloud. For a full automatic backup, the path is an app that connects to HealthKit and syncs in the background — which is exactly what FitMesh iOS will do.

Disclaimer

FitMesh Sync is an independent product. Apple, Google are trademarks of their respective owners. This article implies no affiliation or sponsorship.

Medical disclaimer

The information in this article is for informational purposes only and does not replace advice from your physician, pharmacist or healthcare professional. FitMesh Sync is a fitness/wellness app, not a medical device, and does not diagnose or treat any conditions. For symptoms, clinical questions or treatment decisions always consult your primary care physician.

M

Written by

Matteo Pizzi

Founder & Solo Dev, FitMesh Sync · Fosforonero

Italian software developer. I built FitMesh Sync to fill the gap between my smartwatch and a real personal dashboard. Privacy-first, indie, EU servers.

More about the project

Keep reading

How to export Apple Health data to PC or web (2026) · FitMesh