Sleep Overview

Your Apple Health sleep data, analyzed entirely in this browser

Offline-only - no data leaves this tab

Drop your sleep export here

Select the sleep-export.json file created by the Apple Shortcut (see instructions below). You can add several files at once; duplicates are merged automatically.

Nothing is uploadedFiles are read with your browser's File API. A Content-Security-Policy blocks every network connection from this page.
Nothing is storedData lives only in this tab's memory. Reload or close the tab and it's gone.
Works offlineOne self-contained HTML file: no external scripts, fonts, trackers or analytics.
How to export your sleep data with Apple Shortcuts

Build the Shortcut once with the step-by-step guide: docs/export-shortcut.md. In short:

  1. Allow Shortcuts to read Sleep in the Health app, and turn on Allow Sharing Large Amounts of Data in the Shortcuts settings.
  2. Find Health Samples (Health-Messungen suchen) of type Sleep Analysis.
  3. Read start date, end date, value and source of all samples with Get Details of Health Samples, format the dates as ISO 8601, and join each list with Combine Text using the separator ",".
  4. Put them into a Text, name it sleep-export.json and save it to iCloud Drive with Ask Where to Save off:
    {"format":"sleep-overview/2","data":{"sleep":{"start":["..."],"end":["..."],"value":["..."],"source":["..."]}}}
  5. Run it from an automation, e.g. when you wake up, and choose the file on this page.

Stage names are recognized in English and German (Core/Kern, Deep/Tief, REM, Awake/Wach, In Bed/Im Bett, Asleep/Schlafend). The page also accepts one JSON object per sample, JSON lines and pipe/semicolon-separated lines type|start|end|value|source.