FitMesh Sync
← Todos los artículos

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.

CategoríaGuide
Fecha30 de mayo de 2026
Tiempo de lectura7 min de lectura

En resumen

  • The most complete method is the native XML export (Health → profile → Export All Health Data): it contains every record, but the file can reach 2 GB and isn't readable directly.
  • Reading the XML on a PC requires additional tools: open-source Python scripts or Apple Shortcuts for specific metrics.
  • For sharing specific data with a doctor, use the per-metric export directly from the chart in Health: it produces a clean CSV.
  • The XML file is unencrypted: treat it like a sensitive medical document and don't upload it to public cloud services.
  • The most convenient path is a web dashboard without manual exports: it needs an app that reads from HealthKit and syncs in the background. FitMesh iOS is in beta on TestFlight, App Store launch imminent.

Apple Health collects years of health data on your iPhone but has no web dashboard: getting that data to a computer or sharing it requires specific steps. There are three methods, each with a different tradeoff between completeness and simplicity. This guide covers all of them, easiest first.

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 arriving on iPhone: the TestFlight beta is active and the App Store launch is imminent. The iPhone app reads data from Apple Health (HealthKit), syncs it automatically, and displays it on the same web dashboard already used for Android. Extra feature: the write bridge (opt-in) brings Android wearable data directly into Apple Health, useful if you have both an Android device and an iPhone.

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

In summary

  • The most complete method is the native XML export (Health → profile → Export All Health Data): contains every record with timestamps, but the file can be 2 GB and isn't readable directly.
  • Reading the XML on a PC requires additional tools: open-source Python scripts on GitHub, or Apple Shortcuts for specific metrics.
  • For sharing specific data with a doctor, use the per-metric export directly from the chart in Health: produces a clean CSV.
  • The XML file is unencrypted: treat it like a sensitive medical document, don't upload it to public cloud services.
  • The most convenient path (web dashboard without manual exports) requires an app that reads from HealthKit and syncs in the background: FitMesh iOS is in TestFlight beta, App Store launch imminent.

Preguntas frecuentes

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.

Aviso legal

FitMesh Sync es un producto independiente. Apple, Google son marcas comerciales de sus respectivos propietarios. Este artículo no implica ninguna afiliación ni patrocinio.

Aviso de salud

La información de este artículo tiene fines informativos y no reemplaza el consejo de tu médico, farmacéutico u otro profesional de la salud. FitMesh Sync es una app de fitness y bienestar, no un dispositivo médico, y no diagnostica ni trata enfermedades. Ante síntomas, dudas clínicas o decisiones de tratamiento, consulta siempre a tu médico.

M

Escrito por

Matteo Pizzi

Founder & Solo Dev, FitMesh Sync · Fosforonero

Desarrollador de software italiano. Construí FitMesh Sync para cubrir el espacio entre mi smartwatch y un panel personal real. Privacidad ante todo, indie, servidores en la UE.

Más sobre el proyecto

Sigue leyendo

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