Skip to content

Unix Timestamp Converter

Convert Unix timestamps to dates and back.

Loading…

About Unix Timestamp Converter

Log lines and API responses often show a moment as a bare number like 1756166400, and it is not obvious whether that counts seconds or milliseconds. Paste it in and the page picks a unit for you: values from 100,000,000,000 upward are read as milliseconds, anything smaller as seconds, and the Unit menu overrides the guess. You get Unix seconds, ISO 8601, UTC, your local time and how long ago or from now it is. Reverse mode parses a date string.

Features

  • Auto-detects seconds or milliseconds, with a manual Unit override
  • Shows Unix seconds, ISO 8601, UTC, local time and relative time
  • Date to timestamp reads ISO 8601 and other formats your browser's Date parser understands
  • Says which time zone it assumed when the date has none
  • Rejects impossible ISO dates such as February 31
  • Accepts negative timestamps for dates before 1970

Limitations

  • The Unix (seconds) line drops any fraction of a second, although the ISO 8601 line keeps milliseconds.
  • Local time and the assumed zone come from your device, and there is no menu to pick another time zone.
  • Date strings that are not ISO 8601 are read by your browser's own parser, so unusual formats can come out differently between browsers.

How it works

  1. Choose Timestamp → Date or Date → Timestamp with the toggle at the top.
  2. Type the number or the date, or select Now to fill in the current time.
  3. In timestamp mode, leave Unit on Auto-detect or switch it to Seconds or Milliseconds.
  4. Read the five results, Unix (seconds), ISO 8601, UTC, Local and Relative, and use Copy beside any of them.

Example input

1756166400

Frequently asked questions