Convert Apple Health XML to CSV, JSON, or Excel
A free, browser-based tool that converts your Apple Health export.xml file into CSV, JSON, or Excel (XLSX) format. No sign-up required, no file size limits, and completely private.
All conversion happens locally in your browser. Your health data is never uploaded to any server.
How to Use the Converter
Converting your Apple Health data takes less than a minute. Follow these steps:
- Export your Apple Health data from your iPhone. Open the Health app, tap your profile picture, then tap "Export All Health Data." If you need detailed instructions, see the export guide.
- Open the online converter at /convert-tool/.
- Select your output format — choose CSV, JSON, or Excel (XLSX) from the format selector.
- Drop or upload your
export.xmlfile into the converter. You can drag and drop the file or click to browse. - Download the converted file. Once processing completes, click the download button to save your converted data.
Output Formats Explained
The converter supports three output formats. Choose the one that best fits your workflow.
CSV (Comma-Separated Values)
Best for spreadsheets and tabular analysis. Opens directly in Microsoft Excel, Google Sheets, Apple Numbers, or any data tool. The output is a flat table with one row per health record and the following columns: type, sourceName, unit, startDate, endDate, value.
JSON (JavaScript Object Notation)
Best for programming, APIs, and AI tools. The output is a structured array of objects, where each object represents a single health record. JSON is the standard input format for Python scripts, JavaScript applications, ChatGPT, Claude, Gemini, and other AI platforms.
Excel (XLSX)
A real Excel spreadsheet file with proper column headers, formatting, and filter-ready structure. Works with Microsoft Excel, Google Sheets, and Apple Numbers. Ideal for sorting, charting, and sharing health data reports without any additional setup.
Data Fields Extracted
All three output formats extract the same set of fields from each Record element in your Apple Health XML:
| Field | Description |
|---|---|
type |
The health metric identifier (e.g., HKQuantityTypeIdentifierStepCount) |
sourceName |
The app or device that recorded the data (e.g., "iPhone", "Apple Watch") |
unit |
The unit of measurement (e.g., "count", "mg/dL", "kcal") |
startDate |
When the measurement began |
endDate |
When the measurement ended |
value |
The recorded value for the metric |
Tips for Large Files
Apple Health export files can be very large, sometimes exceeding 1 GB for users with years of data. Here are a few things to keep in mind:
- Processing time depends on your device. A modern Mac will handle large files much faster than a phone or tablet.
- Use a Mac or desktop computer for very large exports. Mobile browsers may run into memory constraints.
- Keep the browser tab in the foreground during conversion. Background tabs may be throttled by the browser.
- Be patient. A 500 MB file may take 30-60 seconds to process depending on your hardware.
Dashboard Integration
When you use the converter on the website, the converted data is also made available to the local dashboard at /dashboard/. This lets you visualize your health trends immediately after conversion without needing to import the file into a separate tool.
Try It Now
Ready to convert your data? Head to the live converter tool.