Bring your sleep diary from a spreadsheet

Already tracking your nights? Import a CSV and see your own diary without retyping it. No account is required.

Try the free version

Prepare your spreadsheet

  1. Make a copy of your sheet. Download the small fictional CSV example to see the format.
  2. Rename and reorder the first seven columns exactly as listed below. Add empty columns for values you did not record. For example, rename “Night” to “date”, “Sleep time” to “bedtime”, and “Rested” to “rating”. Convert ratings to the 1–5 scale.
  3. After caffeine, place any habit columns using your habit names as headers. Use exactly yes or no; blank means unknown. End with a notes column (up to 5,000 characters). No habit columns are required.
  4. Export as UTF-8, comma-separated CSV with a header row. Your spreadsheet will quote commas, quotes and multiline notes. XLSX, semicolon-delimited files and other headers are unsupported.
  5. Choose the file in the app, inspect the preview, then explicitly confirm. If there are errors, cancel, fix the indicated CSV rows and try again.
Column, in orderValue
dateRequired evening date: YYYY-MM-DD.
bedtimeOptional 24-hour HH:MM.
waketimeOptional 24-hour HH:MM the next morning.
ratingOptional integer 1–5 (not rested to very rested).
screens_offOptional 24-hour HH:MM.
screen_noteOptional text, up to 500 characters.
caffeineOptional HH:MM description entries separated by semicolon and space; descriptions up to 60 characters.
your habit names (optional)yes, no or blank. Up to 50 unique labels of at most 80 characters; matching ignores case and surrounding/repeated spaces.
notesOptional text, up to 5,000 characters. This must be the last column.

Limits: 2 MiB and 1,000 nights per file, with at most 1 MiB of expanded diary values. Split larger files; each row supports up to 130 caffeine entries. Dates must be real calendar dates, one row per evening date. Dates identify the evening, even when bedtime is after midnight. Row numbers include the header and treat a quoted multiline note as one row.

bedlog’s own CSV exports use this format. Its spreadsheet safety apostrophe before formula-like text is kept as literal text on import. Imported strings are always text. For a readable page rather than a CSV, print a two-week diary summary.

Preview first, keep your existing nights

The preview shows valid nights, date range, habits to add, row errors and existing dates. Errors block confirmation. Only new dates are added; existing nights are skipped in full. Notes are never overwritten and habits are never deleted. Existing habit names are reused, including hidden habits, which stay hidden. A repeated upload adds no duplicate nights or habits. Explicit no values remain distinct from blanks.

File parsing and preview stay on your device. Confirmed imports use the normal diary store and sync for signed-in users. If another device records the same date before sync, the account’s existing night wins; your import cannot overwrite it. Result counts describe nights added in this browser. Guest data stays in this browser, so use the same browser and device; clearing browser data removes it. You can create an account after importing to sync across devices.

Open each imported night from the result, or visit Patterns. Patterns compare the last four weeks and need at least three rated nights with and three without a habit. Older nights remain in your diary. Comparisons are habit tracking, not medical advice or proof of cause.

Open the import action

More free tools