Unix Timestamp Converter

Convert Unix timestamps in seconds or milliseconds to UTC and local time, or turn a UTC date into an epoch timestamp.

How to use it

Enter a value to see your results.

Tool statusWorks in browserNo account neededCopy-ready result
My Tools

How to convert a Unix timestamp

Paste a timestamp from a log or API response to see its UTC date and your device’s local time. If you know the source unit, choose Seconds or Milliseconds. Auto-detect treats absolute values of 100 billion or more as milliseconds. Select the unit manually for short millisecond values or unusually large second values.

Worked example

1704067200 seconds and 1704067200000 milliseconds both represent January 1, 2024 at midnight UTC. The local date may be December 31 if your time zone is behind UTC.

Convert a date back to a timestamp

Switch to UTC date to timestamp, enter a date and time in UTC, and copy the result in the unit your system expects. The seconds result includes a decimal fraction when the input includes milliseconds.