Export format reference
Four documents specify the files Health Exporter & Shortcuts writes: the JSON for health data, the JSON for workouts, the Markdown you can pick instead of JSON for those two in the app, and the JSON for the medication doses you log, on iOS 26 and later, which comes in JSON only. The Markdown and the medications export are new in version 1.8.0. They are the same documents the app is developed against, published unchanged, so what you read here is what the app is held to.
They are written as requirements, each followed by scenarios in WHEN and THEN form. The example inside a scenario illustrates that one requirement. The complete examples at the end of each page are the exact output, taken from the test fixtures the app’s output is compared against.
- Health export JSON format The JSON file Health Exporter & Shortcuts writes when it exports Apple Health data: its keys, units, dates and sleep stages, and the rules that keep it stable between versions.
- Workout export JSON format The JSON file Health Exporter & Shortcuts writes when it exports workouts: entries, statistics, events, swim metrics, effort scores, GPS routes and heart rate samples, and the rules that keep it stable between versions.
- Markdown export format The Markdown file Health Exporter & Shortcuts writes, from version 1.8.0, when you pick Markdown instead of JSON: the same data as compact tables, for pasting into an AI assistant, and the rules that keep it stable between versions.
- Medications export JSON format The JSON file Health Exporter & Shortcuts writes when it exports medication doses on iOS 26 and later: one entry per logged dose, which statuses are kept, how each dose is named, and the rules that keep it stable between versions.
For step by step instructions rather than the specification, see the guides.