Support

Get help with Health Exporter & Shortcuts

Frequently Asked Questions #

How do I grant HealthKit permissions?
When you first open Health Exporter, the app will ask for permission to read your health data. You can choose exactly which data types to allow. If you accidentally denied access, go to Settings > Health > Health Exporter on your iPhone to manage permissions. Medications are asked for separately, from the Medications tab only: see the question about medications below.

Shortcuts never shows the permission screen, because an automation runs without opening the app. When an update can read a kind of data you have not been asked about yet, an export from Shortcuts carries on with what it can read, lists the missing types under pendingAuthorizations in the file, and you get one quiet notification. Tap it, or open healthexporter://authorize with an Open URL action, to get the permission screen.

Which health data types can I export?
Health Exporter supports 22 health data types across five categories, and a 23rd on iOS 27 and later: Activity (steps, walking distance, active & basal calories, exercise minutes, flights climbed), Heart (resting & walking heart rate, HRV as SDNN, plus HRV as RMSSD on iOS 27 and later, oxygen saturation, respiratory rate), Body (weight, BMI, body fat, lean body mass), Nutrition (dietary energy, protein, carbohydrates, total fat), and Other (sleep with stage breakdown, VO2 max, wrist temperature). You select exactly which types to include in each export.
Can I export workout data?
Yes! Health Exporter supports exporting detailed workout data for 68 activity types, including running, cycling, swimming, HIIT, yoga, strength training, hiking, and many more. Each workout export includes activity type, start/end time, duration, statistics (calories, distance, heart rate min/avg/max), events (pauses, laps) and, on iOS 18 and later, the effort you rated for the workout, along with Apple's estimate of it when Health holds one for the workout. You can filter by specific workout types or export all at once.

You can also add the GPS route recorded with an outdoor workout, along with the heart rate measured along it. It is off by default: switch on Include GPS route in the Workouts tab, and choose whether the coordinates go inside the JSON or into one GPX file per workout.

Can I export my medications, and how do I choose which ones?
Yes, from version 1.8.0, on iOS 26 and later. Open the Medications tab, pick the period and tap Export JSON. You get one entry for every dose you logged in Health for the medications you share with the app, taken, skipped, snoozed or cleared, with the amount and, for a scheduled dose, when it was due. Reminders you never answered are left out. Medications are exported as JSON only: the File Format option of the other two tabs does not apply to them. The medications format reference describes the file.

You choose which medications the app can read, one by one, in a list iOS shows you. The app shows it the first time you export medications. To change your choice later, tap Choose Medications in the Medications tab: the same list opens with your current choice, and you can add or remove medications. When you add a new medication to Health, the Health app offers a switch to share it with Health Exporter as well.

The Export Medications action in Shortcuts cannot show that list, so choose your medications in the app first. Until you do, the action exports nothing, lists HKDataTypeUserAnnotatedMedicationConcept under pendingAuthorizations in the file, and you get one quiet notification that opens the list. On iOS 17 to 25 the tab says it needs iOS 26 and has nothing to press, and the action stops with a message saying the same.

What does the sleep export include?
Sleep exports include total sleep duration plus a full stage breakdown: core sleep, deep sleep, REM sleep, and awake time. This gives you a complete picture of your sleep quality, not just total hours.
What format is the exported data in?
All data is exported as standard JSON files with a clean, well-structured format. JSON is widely supported and can be opened by spreadsheet apps, data analysis tools, or processed by scripts and automations. Dates use ISO 8601 format, and all values include their units for clarity.

From version 1.8.0 you can pick Markdown instead, under File Format in the app: the same data as compact tables, for pasting into an AI assistant. Shortcuts always returns JSON. The format reference describes both.

How do I use Health Exporter with Apple Shortcuts?
Health Exporter provides three Shortcuts actions: "Export Health Data" for health metrics, "Export Workouts" for workout data and, from version 1.8.0 on iOS 26 and later, "Export Medications" for the medication doses you logged. You can find them when adding actions in Shortcuts by searching for "Health Exporter". Use them to schedule automatic exports, filter by data type or workout activity, chain with other actions (like saving to iCloud Drive or sending via email), or build fully custom workflows. For a step by step walkthrough, see the Shortcuts guide.
My Shortcuts automation fails with "Health data cannot be read while the device is locked" or "Protected health data is inaccessible". Why?
Apple protects the data in Health while your iPhone is locked. A few minutes after the phone locks, no app can read it any more, Health Exporter included, and it stays unreadable until the next time you unlock the phone. This is a rule of iOS that applies to every app, not a permission you can grant, so there is nothing to change in Settings > Health > Health Exporter.

That is why an automation that fires while the phone has been locked for a while, such as one set for the middle of the night, fails. Health Exporter stops the run with “Health data cannot be read while the device is locked. Unlock it and run the shortcut again." Older versions show the message from iOS instead, “Protected health data is inaccessible”, or run without returning any data. The same shortcut works when you run it by hand, or when the phone is unlocked.

The simplest way to make an automation reliable at any hour is to let it ask first: when you create it, choose the option that asks you to confirm before it runs, rather than the one that runs it immediately. At the scheduled time Shortcuts sends you a notification, you tap it and unlock the phone, and the export runs with Health readable. It is one tap instead of none, and nothing runs if you ignore the notification.

If you want it to run with no tap at all, choose a trigger that fires while you are using the phone. For example, use the App trigger set to Is Opened for an app you open every morning, and put the Health Exporter action in that automation. Or pick a time of day when your phone is normally unlocked in your hand. Be careful with triggers that can fire while the phone is still locked from the night, such as an alarm, waking up, a Focus, or plugging in the charger: they can run before you have unlocked the phone, and the export fails.

What export periods are available?
You can export data for three time periods: Yesterday (1 day), Last 7 Days, or Last 30 Days. Each one counts whole days ending yesterday. There is also an Include Today option, on by default, which adds the day in progress: with it on, Yesterday covers two days and Last 7 Days covers eight. The current day is partial by definition, since it is not over yet, so turn Include Today off when you want complete days only. Sleep is the reason it is on by default: sleep is reported on the day you woke up, so last night's sleep is filed under today.
Does the app collect or share my health data?
No. Your health data stays on your device at all times and is never sent to any server. The app reads data from Apple Health only when you initiate an export, and there are no accounts and no advertising. The app does send a small number of anonymous usage events, such as when an export completes or fails, so bugs can be found and fixed. Those events contain no health data and nothing that identifies you.

That covers GPS routes too. The app never asks for location permission and cannot see where you are; it reads the routes your device already recorded, only while producing an export you asked for, and the coordinates go nowhere but into your file. The same goes for medications: the app reads only the doses of the medications you chose to share, only while producing an export you asked for, and it never writes anything to Health. See our Privacy Policy for full details.

The app is not showing any data. What should I do?
Make sure you have granted HealthKit permissions for the data types you want to export. Go to Settings > Health > Health Exporter and verify the toggles are enabled. Also ensure that the Apple Health app has data recorded for the selected types and time period. Some data types (like wrist temperature or VO2 max) require an Apple Watch.

Still Need Help? #

If you have a question not covered above, or you want to report a bug or request a feature, we are happy to help.

Email Support

We typically respond within 48 hours.