Export Apple Health Workouts to JSON

For developers and data nerds: export the complete, lossless workout as structured JSON — every sample, route point, and statistic, ready for Python, notebooks, or an LLM.

workout.json
{
  "schemaVersion": 1,
  "workout": {
    "activityType": "Running",
    "duration": 2700
  },
  "route": [ ... ],
  "samples": {
    "heartRate": [ ... ]
  },
  "summary": { ... }
}

What's in the JSON export?

The JSON export is the most complete format — a lossless dump of the workout with a stable schemaVersion. The top-level envelope contains:

  • workout — activity type, dates, duration, distance, energy, source device, and events (pauses).
  • route — GPS points with timestamp, latitude, longitude, altitude, speed, and course.
  • samples — every sample type (heart rate, power, cadence, distance) with values and units.
  • summary — coverage flags, per-type statistics, and derived metrics.

Why export to JSON

Built for code

Parse it in Python, JavaScript, or any language — perfect for notebooks and pipelines.

Feed it to AI

Upload the JSON to ChatGPT or Claude and ask questions about your training.

Lossless archive

Nothing is summarized away — it's the richest, most future-proof copy of a workout.

How to export from Apple Health

The JSON export is lossless and self-describing, with a versioned schema for stable parsing.

1

Open the workout

Tap the workout you want in Workout Exporter.

2

Tap Export

Open the format menu on the workout detail screen.

3

Choose JSON (full raw data)

Select JSON to generate the complete, structured file on device.

4

Use it anywhere

Save to Files for your scripts, or upload it to an LLM for analysis.

Download a sample file

Grab a real JSON export to see the full schema — workout, route, samples, and summary.

Frequently asked questions

Is the JSON schema stable?

Yes. The envelope carries a schemaVersion field so downstream tools can parse it reliably across app updates.

How is this different from CSV?

JSON preserves nested structure (route, per-type samples, events) losslessly; CSV flattens data for spreadsheets.

Does export require an account or internet?

No. The JSON is built on device and never uploaded by the app.

Get your workout data out of Apple Health

Workout Exporter is a one-time $4.99 purchase — no subscription, no account, everything on device.

Download on the App Store