Skip to main content
Y YunoDB Tools 中文 AI tools directory ↗

Unix Timestamp Converter

Convert a Unix (epoch) timestamp to a readable date, or a date to a timestamp. Paste a value and the tool detects whether it is in seconds or milliseconds, then shows local time, UTC, ISO 8601 and relative time such as "3 years ago". The current timestamp is shown at the top in both units, ready to copy. Dates you enter are read in your local time zone, and every calculation runs in your browser.

Share Twitter Reddit
Now (seconds)
Now (milliseconds)

Timestamp → date

Detected unit
Local time
UTC
ISO 8601
Relative

Date → timestamp

Interpreted in your local time zone

Seconds
Milliseconds

How to use the Unix Timestamp Converter

  1. Read the current Unix time at the top in seconds and milliseconds, and click Copy seconds if you need it.
  2. Paste a timestamp under Timestamp → date to see the detected unit, local time, UTC, ISO 8601 and relative time.
  3. Pick a date and time under Date → timestamp to get the matching timestamp in seconds and milliseconds, then click Copy.

Frequently asked questions

It is the number of seconds (sometimes milliseconds) elapsed since 1970-01-01 00:00:00 UTC. It is widely used for time fields in code, databases and APIs.
By size: values of 10^12 or more (about 13 digits) are treated as milliseconds, smaller values as seconds. The detected unit is shown with the result.
Timestamp → date shows both your local time and UTC. Date → timestamp interprets the date you enter in your local time zone.
No. Everything is calculated in your browser.

Looking for more AI and software tools? Browse the yunodb.com tools directory ↗.