Apple Health Sleep Data Export

See your sleep in a spreadsheet: every night with hours asleep, core, deep and REM sleep, awake time and time in bed.

Drop your Apple Health export.zip here The export.zip from the Health app (or export.xml) · read on your device, never uploaded

Getting your sleep data out of Health

Sleep is not exported on its own: on your iPhone open Health, tap your picture and choose Export All Health Data. That creates export.zip with everything, which can take a few minutes. Drop it here — on a computer, or on the iPhone in Safari via Files — and only the sleep records are picked out. The full walkthrough: how to export Apple Health data.

Export your sleep

  1. Drop export.zip on the box above. Sleep is already the only data type selected.
  2. Choose a date range if you only want recent nights.
  3. Click Export: the workbook has a Sleep sheet with one row per night, and the raw sleep periods if you want them.

The columns

ColumnMeaning
NightThe date you woke up, so Sunday-night sleep is on Monday's row
AsleepTotal sleep: core + deep + REM (and "asleep" from older devices)
Core, Deep, REMSleep stages measured by Apple Watch (watchOS 9 and later)
AwakeTime awake during the night
In bedTime in bed, often recorded by the iPhone's Sleep Schedule
SourceThe device or app whose data was used for that night

Several sleep apps?

If an Apple Watch, an iPhone and a sleep app all record the same night, adding them up would double your sleep. For every night the converter uses the source with the most detailed sleep data — usually your Apple Watch — and shows which one in the Source column. Time in bed is taken from whichever source recorded it.

Questions people answer with this

Private by design

Your nights are analysed on your own device. The export is never uploaded, and nothing is kept after you close the page.

Frequently asked questions

How do I export Apple Watch sleep data?

Export all health data from the Health app, drop the export.zip here and export with Sleep selected. You get one row per night with every sleep stage.

Which night is a date?

Each night is listed under the date you woke up.

Why is deep sleep empty for older nights?

Sleep stages are measured by Apple Watch from watchOS 9; older nights only have total sleep or time in bed.

Is my sleep data uploaded?

No. It is processed in your browser.

Runs entirely in your browser, powered by a streaming Apple Health parser (in a Web Worker) and an .xlsx writer built for this site. Built and tested by Diego Callegari · how we test · updated 28 October 2026.