How do I move my Apple Health export to Garmin Connect and Strava with route and heart rate?
Export your data from the Health app (your picture or initials, then Export All Health Data), add the export.zip to RouteMerge on a computer, and upload the TCX or GPX files it writes with the manual upload of Garmin Connect or Strava. The step in the middle is needed because the export stores each route as a GPX file without heart rate and keeps the heart rate in export.xml.
Step 1: export from the Health app
Apple’s user guide says: “You can export all of your health and fitness data from Health in XML format, which is a common format for sharing data between apps.” The steps it gives:
- Go to the Health app on your iPhone.
- Tap Summary, then tap your picture or initials.
- Tap Export All Health Data, then choose a method for sharing your data.
Source: Apple Support, iPhone User Guide, “Share your data in Health on iPhone”, read on November 22, 2026. In the exports we checked, the result is one file called export.zip. Get it to a Windows, Mac or Linux computer; you can leave it zipped.
What the export holds
We opened two real exports, one made in January 2020 and one in December 2025. Both unzip to a folder apple_health_export with these files:
| File | What it holds |
|---|---|
export.xml859 MB and 455 MB in our two exports | Every record of Health, one XML element each. Heart rate is <Record type="HKQuantityTypeIdentifierHeartRate" … startDate="…" value="62">. Workouts are <Workout> elements with type, start, end, duration, distance, energy, pauses and the names of their route files. |
workout-routes/route_….gpx5 and 23 files in our two exports | One GPX 1.1 track per route: latitude, longitude, altitude, time in UTC, speed, course and accuracy for each point. No heart rate. |
export_cda.xml | The same data in another format (Clinical Document Architecture). Not needed here; RouteMerge never opens it. |
Four things make the join less simple than it looks:
- The link is only in export.xml. A route file is named after the time it ended, not after its workout. Which routes belong to a workout is written inside the
<Workout>element, as<FileReference path="/workout-routes/route_….gpx"/>. - One workout can have several route files. A run in the 2020 export has four.
- Heart-rate records are not in time order. In both exports the file goes back in time thousands of times, so the records have to be sorted first.
- Two clocks. Route files are in UTC. Dates in
export.xmlcarry the UTC offset the phone had on the day of the export, whatever the season or place of the workout.
Step 2: merge route and heart rate in the browser
- Open RouteMerge on a computer and drop
export.zipon the page (or choose the unzipped folder). Nothing is uploaded: the file is read on your computer, and a progress bar shows the megabytes read. - Check the list of workouts found: for each one, how many route files it has and how many heart-rate samples were stored during it. Click a workout to see its route.
- Choose 15 or 25 files per folder and press Convert.
- Download the ZIP.
What the tool does with each workout:
- Its route files are put in time order, each as its own segment of the same activity.
- Every GPS point gets the heart-rate sample nearest in time, at most 10 seconds away. If there is none, the point has no heart rate. Nothing is invented.
- Distance is summed along the points. Nothing is added across the gap between two route files, across a hole in the GPS longer than 30 seconds, or across a pause of the workout.
- An altitude that the route file marks as not valid is left out.
- A workout without a route becomes a TCX with time, heart rate, distance and calories.
The ZIP holds tcx/batch-01/, batch-02/… with the TCX files, gpx/batch-01/… with the same workouts as GPX, no-route/batch-01/… for workouts without a route, workouts.csv and HOW-TO-UPLOAD.txt.
Do it in your browser
Add your Apple Health export.zip. RouteMerge lists the workouts it finds, then gives you a TCX and a GPX for each, with route and heart rate together, in folders sized for Strava’s upload. Nothing is installed and nothing is uploaded. Free: the full list, the full workouts.csv sheet and 5 workouts converted per run. $9 once for every workout.
Merge my workoutsStep 3: upload to Strava
Strava’s help page says: “You can upload files through the Strava website: up to 25 at a time for subscribers and up to 15 at a time for non subscribers. Strava accepts TCX, FIT, and GPX files, and each file must be 25 MB or smaller.” (Strava Help Center, “How Do I Bulk Upload Activities to Strava?”)
- Unzip the download. Each
batchfolder holds 15 or 25 files. - Log in to Strava.com and click the orange “plus” icon at the top right, then choose Upload Activity and File.
- Click Choose files, open one batch folder and select all its files.
- Repeat with the next folder.
Upload the TCX or the GPX of a workout, not both: they are the same activity. We have not done the upload ourselves, so try the five free workouts first.
Or to Garmin Connect
Garmin’s help page for manual uploads says the web import “Supports .fit (up to 50MB), .gpx, or .tcx (up to 25MB)” and that “Files must contain fewer than 99,999 data points”. The option is the cloud icon at the top right of Garmin Connect, then Import Data. (Garmin Support, “How to Manually Upload Activities to Garmin Connect”.) We have not done an import into Garmin Connect ourselves.
FAQ
Can I upload the route files of the export as they are?
They are GPX 1.1 files, a type both upload pages list. They hold the route only: no heart rate, and a workout with several route files is several files.
Why do some of my workouts get heart rate on few points?
Because few samples were stored for them. In our two exports some workouts with a route have hundreds of samples and others have one to three. The sheet shows both numbers for every workout.
Does it move steps, sleep or weight?
No. Only workouts. It does not write FIT files either.
Is anything uploaded?
No. The export is read in your browser and the ZIP is built there. Not affiliated with Apple, Garmin or Strava.