Split a large Apple Health export
Choose the export.zip from the Health app and cut its export.xml into smaller files, one per year or one per record type. Each piece keeps Apple's header, so anything that reads the full export reads a piece. It is free and runs entirely in this browser. The page is not allowed to make network requests, so your health data never leaves your computer.
Reading . 0% done, 0 items so far.
Download
Make this file
This browser is too old for this tool. A current Safari, Chrome, Edge or Firefox works.
The tool stopped unexpectedly. Try again, or try a different browser.
That file is not a zip archive. Choose export.zip, or the export.xml inside it.
This zip archive's directory is damaged. Export again from the Health app.
A file inside this zip is damaged. Export again from the Health app.
This browser cannot unzip in place. Unzip export.zip first and choose the export.xml inside it.
This zip uses a compression method the tool does not know. Unzip it and choose export.xml.
There is no export.xml in this zip. Apple's export.zip has it in the apple_health_export folder.
Nothing was read from that file.
No Apple Health records were found. Is this the export.zip from the Health app?
Pick how to split
This split makes files. Make one, or all of them in a single pass.
| Piece | Records and workouts | Size | File |
|---|
How do I get export.zip from my iPhone?
- Open the Health app and tap your picture or initials, top right.
- Tap Export All Health Data at the bottom, then Export.
- Wait while it builds the file. Years of data can take several minutes.
- Send
export.zipto your computer with AirDrop, or save it to Files and open this page in Safari on the iPhone.
A computer is the better place for a big export. A phone browser can run out of memory on an export of several gigabytes.
How the split works
- The tool reads
export.xmlonce and counts what each piece would hold, by year and by type. - Pick Year or Record type, then make one piece or every piece.
- Each piece is written with the original XML header, export date and closing tag, then offered as a download.
| Split | Where each element goes | File names |
|---|---|---|
| By year | Records, workouts and correlations go by the year they started. Activity ring summaries go by their date. Anything with no date goes to undated. | apple-health-export-2024.xml |
| By record type | Records go by type with Apple's prefix dropped. Workouts, correlations and activity summaries each get a file of their own. | apple-health-export-HeartRate.xml |
A workout stays whole, with its statistics, events and route reference. A record keeps its metadata. Nothing is rewritten or rounded: every element is copied as it is.
Questions
Why split the export at all?
A long-time Apple Watch wearer's export.xml runs to several gigabytes. Text editors refuse it, spreadsheets cannot import it, and AI chat apps have upload limits far below it. One year, or one type such as sleep, is small enough to open, search and share.
Can I upload a piece to ChatGPT or Claude?
A piece is still XML and can still be large. For an AI chat, the converter usually works better: it turns the export into small CSV files of daily totals that fit an upload and that the AI reads easily.
How much disk space and memory does it need?
Reading takes little memory because the file is streamed. The pieces are different: your browser holds each finished file until you download it, so making every file at once needs about as much free space as the unzipped export.xml. For a very large export, make the pieces one at a time and download each before the next.
Are the workout routes split too?
No. Routes are separate GPX files in the zip's workout-routes folder, and each workout in a piece still names its route file. Use workout routes to GPX to pull the routes out.
Can I split by month or by a size limit?
Not yet. Year and record type are the two splits. For one metric over a date range, the converter gives every sample of that metric as a CSV you can filter by date.
Can I put the pieces back into Apple Health?
No. The Health app has no import for its own export, whole or in pieces. The pieces are for reading, analysis and archiving.
Is my data uploaded?
No. The tool is three scripts that run on your computer (the page, the worker and the zip and XML reader, all readable). This page is served with a security policy that blocks every network connection, so even a bug could not send your file anywhere, and there is no analytics on it. You can switch off Wi-Fi after the page loads and it works the same.
Want your data without the giant file?
The Health app's export is all or nothing, rebuilt from scratch each time. Marrow reads Apple Health directly on your iPhone and keeps it current, so you can export only the metrics and dates you want as CSV or JSON, send them to a URL on a schedule, or let an AI assistant read them. All of that is free.
More free Apple Health export tools: export viewer, workout routes to GPX, duplicate steps checker, export to CSV and JSON, all tools and calculators.