Skip to content

Unix Timestamp Converter

Convert Unix timestamps in seconds or milliseconds to an ISO date and time, or convert a date and time back to both units.

Timestamp to date

Enter whole milliseconds or seconds with up to three decimal places.

Date to timestamp

Use UTC or an offset such as +08:00. An offset or Z in the date takes precedence.

How Unix timestamps work

Unix timestamps count from midnight UTC on 1 January 1970. Negative values represent earlier times. For example, -0.001 seconds is -1 millisecond, or 1969-12-31T23:59:59.999Z.

For date input, start with YYYY-MM-DDTHH:mm. You can use a space instead of T and add seconds and milliseconds, as in 2026-01-01 08:00:00.123 with time zone +08:00.

Conversion runs entirely in your browser.