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.

For step by step instructions rather than the specification, see the guides.