</>

WebDevTools

Timestamp Converter

Unix time and human-readable dates

Convert between Unix seconds/milliseconds, ISO 8601 and local time strings.

Guide: convert Unix timestamps and ISO dates

Logs and JWTs use epoch seconds or milliseconds; databases return ISO 8601 with `Z` or offsets. Mental timezone math causes `exp`, metrics, and schedule incidents.

Conversion uses your browser clock locally — nothing is uploaded. Confirm seconds (10 digits) vs ms (13 digits) before trusting output.

Pair with the JWT decoder, CloudWatch logs, or cron jobs. In production, store UTC (`toISOString`) and convert only at the UI layer.

Step by step

  1. Paste timestamp or dateAccept numeric epoch, ISO strings, or human-readable dates — common formats auto-detect.
  2. Confirm unit and timezoneToggle seconds/ms and compare local offset vs displayed UTC.
  3. Match the real eventCross-check log lines — 3h gaps often mean DST or seconds/ms mix-ups.
  4. Copy target formatExport ISO for APIs, epoch for Redis TTL, or localized strings for reports.

Frequently asked questions