How to move your Samsung Health workouts to Strava (GPS, heart rate and all)
You are leaving a Galaxy Watch, or you just want your years of runs and rides in Strava. Samsung Health will give you all of your data, but not as workout files. This guide explains what you get, what Strava needs, and how to get from one to the other.
Step 1: download your Samsung Health data
- Open the Samsung Health app on your phone.
- Open the menu and go to Settings.
- Tap Download personal data and confirm with your Samsung account.
- The phone saves a folder named
samsunghealth_<account>_<date>in its storage, underSamsung Health/Download. Each download is a full copy of your data up to that moment, so use the newest one. - Copy that folder to a computer, or compress it to a ZIP with the My Files app.
You can also request your data at privacy.samsung.com, which delivers it as a ZIP. Samsung moves these menus from time to time; look for “Download personal data”.
What is inside the export
The export is a copy of Samsung Health’s database: one CSV table per kind of data, and a jsons/ folder with thousands of small files. Three things matter for workouts:
| File | What it holds |
|---|---|
com.samsung.shealth.exercise.<date>.csv | One row per workout: type, start and end time, time zone, duration, distance, calories, average and maximum heart rate, and an ID |
jsons/com.samsung.shealth.exercise/…/<ID>.com.samsung.health.exercise.location_data.json | The GPS points of that workout: latitude, longitude, time, sometimes altitude. Only workouts recorded with GPS have this file |
jsons/com.samsung.shealth.exercise/…/<ID>.com.samsung.health.exercise.live_data.json | Readings during the workout: heart rate, cadence, speed, distance, each with its own time |
A GPS point looks like this (times are milliseconds since 1970, in UTC):
[{ "start_time": 1684063928000, "latitude": 40.7812, "longitude": -73.9665, "altitude": 38.2 }, …]And the readings, where each entry carries only some of the values:
[{ "start_time": 1684063930000, "heart_rate": 152.0 },
{ "start_time": 1684063931000, "speed": 2.9, "cadence": 168.0, "distance": 2.9 }, …]Three details trip people up:
- The first line of the CSV is not the header. It is a line with the table name. The column names are on the second line, most of them with a long prefix such as
com.samsung.health.exercise.start_time, and every data row ends with an extra comma. - Times in the CSV are in UTC. The column
time_offset(for exampleUTC-0400) says what the local time was. Read the times as local and every workout shifts by hours. - Exercise types are numbers. 1001 is walking, 1002 running, 11007 cycling, 13001 hiking, 14001 swimming.
Step 2: turn the export into GPX and TCX files
Strava’s upload page accepts GPX, TCX and FIT files of 25 MB or less. Two of those are plain text and cover everything in a Samsung workout:
| Format | Use it for | What it carries |
|---|---|---|
| GPX | Workouts with a GPS route: outdoor runs, rides, walks, hikes | The route with a time on every point, elevation, and (with Garmin’s TrackPointExtension) heart rate and cadence |
| TCX | Workouts with no GPS: treadmill, stationary bike, pool swim, gym | Start time, duration, distance, calories, heart rate over time. No map |
GPX is a route format, so a workout with no GPS points has nothing to put in it. That is why converters that only write GPX skip indoor workouts. TCX knows three sports only (Running, Biking, Other), so other workouts arrive in Strava as a generic workout and you change the sport there.
The conversion itself is a join: take the row from the CSV, load its two JSON files, and for each GPS point find the heart rate reading closest in time.
Do the conversion in your browser
Open the Samsung Health ZIP or folder. WorkoutTidy lists every workout, writes GPX for the ones with GPS and TCX for the rest, and groups them in folders of 25. Nothing is uploaded. Free for the 5 most recent workouts, $9 once for all.
Convert my workoutsStep 3: upload the files to Strava
- Log in at strava.com on a computer. Bulk upload is on the website, not in the app.
- Click the orange + at the top right, then Upload activity, then File.
- Select the files of one batch folder and upload them. Strava takes up to 25 files at a time for subscribers and up to 15 for athletes without a subscription.
- Review the activities Strava lists, set the sport where it says “Workout”, and save. Repeat with the next folder.
Strava places each activity on the date inside the file, so your history lands on the days it happened, not on the day you upload it.
Other ways to do it
The Samsung Health app can export the route of one workout as a GPX file. That is one workout at a time, and users report the file has no heart rate. For a whole history, people use open-source converters that run on a computer:
- Strava Toolkit: a Python desktop app and scripts. Reads the whole export, writes GPX and TCX, with a workout list to pick from. Needs Python 3 with Tk.
- convert_samsung_health_data_to_gpx: a Python script that converts every workout with GPS to GPX. Workouts without GPS are not converted.
- GPXmaker: a JavaScript page. You find and choose the two JSON files of one workout and get one GPX.
- samsung-health-to-fit: a Java program that turns the heart rate file of one workout with no GPS into a FIT file. Needs Java 11 or later.
FAQ
Do I need a Strava subscription to upload files?
No. File upload works without one; the difference is how many files Strava takes at a time: 15 without a subscription, 25 with one.
Will my workouts without GPS show up in Strava?
Yes, as activities with time, distance and heart rate, and no map. A workout can only have a route if GPS was on when it was recorded.
Are the times right after the upload?
The files store each time in UTC, and Strava shows it in local time. If a tool reads Samsung’s CSV times as local instead of UTC, workouts end up hours off; check one activity after your first upload.
Sources
- Strava Help Center: How do I bulk upload activities to Strava? (25 files for subscribers, 15 without, 25 MB each, GPX/TCX/FIT)
- GPX 1.1 schema documentation
- Duarte0903/strava_toolkit: the two export layouts and their time zone handling
- wishpath/samsung-health-to-fit: where the phone saves the export and how the files are named