Free Date tool

Unix Timestamp Converter

Convert 10-digit or 13-digit Unix timestamps to ISO, UTC, local, and relative time, or convert a date back to Unix seconds and milliseconds.

Unix Timestamp Converter

Convert Unix seconds or milliseconds into ISO, UTC, local, and relative time, or convert a readable date back to epoch time.

Date

How to use Unix Timestamp Converter

  1. Enter a 10-digit timestamp in seconds or a 13-digit timestamp in milliseconds.
  2. Use automatic unit detection or select the unit explicitly.
  3. Copy ISO, UTC, local, Unix seconds, or Unix milliseconds from the result.

The interactive converter loads when JavaScript is available. The examples and guidance below remain readable without it.

Unix Timestamp Converter examples

Unix time is the elapsed time from 1970-01-01 00:00:00 UTC. Seconds commonly use 10 digits, while milliseconds commonly use 13 digits.

1719830400 seconds
2024-07-01T10:40:00.000ZA typical 10-digit Unix timestamp.
1719830400000 milliseconds
2024-07-01T10:40:00.000ZThe same instant represented as a 13-digit timestamp.
-1 second
1969-12-31T23:59:59.000ZNegative timestamps represent dates before the Unix epoch.

Frequently asked questions

How does automatic unit detection work?

The tool treats typical shorter epoch values as seconds and longer values as milliseconds, then displays the detected unit. Select a unit manually for unusual historical or far-future values.

Why do UTC and local time differ?

A Unix timestamp represents one instant in UTC. Local output applies your browser's current timezone and daylight-saving rules.

Can timestamps before 1970 be converted?

Yes. Negative Unix timestamps represent instants before the Unix epoch, within the date range supported by the browser.