Unix timestamp converter

Turn a Unix timestamp into a readable date in UTC and in your local time, or turn an ISO date into a timestamp. Seconds and milliseconds are detected automatically.

  • Free
  • No sign-up
  • Runs in your browser

Current Unix time: …

Timestamp to date

Date to timestamp

Runs in your browser — your text is never sent to our servers.

How to use Unix timestamp converter

  1. Paste a Unix timestamp such as 1700000000 under "Timestamp to date". The tool says whether it read it as seconds or milliseconds.
  2. Read the ISO 8601 date in UTC, the full date, and the same moment in your own time zone.
  3. To go the other way, type an ISO date such as 2023-11-14T22:13:20Z under "Date to timestamp" and read the seconds and milliseconds.
  4. Use the copy buttons to copy the ISO date or the timestamp.

Features

  • Automatically tells seconds from milliseconds
  • Shows the date as ISO 8601 in UTC and also in your local time zone with its offset
  • Converts ISO dates (with Z, with an offset such as +01:00, or without either) back to a timestamp
  • Shows the current Unix time in seconds and milliseconds, updated every second after the page loads
  • Handles dates before 1970 using negative timestamps

Examples

InputResult
01970-01-01T00:00:00.000Z
17000000002023-11-14T22:13:20.000Z
1700000000000 (milliseconds)2023-11-14T22:13:20.000Z, the same moment as above
2023-11-14T23:13:20+01:001700000000 seconds

Limitations

  • Values with an absolute size below 100 billion are read as seconds and larger ones as milliseconds. Timestamps in microseconds or nanoseconds are not supported.
  • The supported range is the one of JavaScript dates, roughly 270,000 years either side of 1970.
  • An ISO date with no Z or offset is read in your browser's time zone.
  • Unix time ignores leap seconds, as the definition says, so it is not a count of every elapsed second.

Learn more

Unix time counts the seconds since the Unix epoch, 1 January 1970 at 00:00:00 UTC. Because it is a single number that does not depend on a time zone, it is widely used in databases, logs, APIs and file systems to store and compare moments in time. Converting it to a human-readable date is one of the most common small tasks in programming and debugging.

Two forms are common. Many languages and systems, such as Python's time module and most Unix tools, use seconds, giving a 10-digit number today. JavaScript and Java use milliseconds, giving a 13-digit number. If a date comes out in January 1970 when you expected a recent one, you have probably read milliseconds as seconds, or the other way round. Also note that Unix time does not include leap seconds: the POSIX definition treats every day as exactly 86,400 seconds.

Frequently asked questions

What is a Unix timestamp?

It is the number of seconds that have passed since 00:00:00 UTC on 1 January 1970, called the Unix epoch. It is the same number everywhere in the world at a given moment.

How does the tool know if my number is in seconds or milliseconds?

Numbers whose absolute value is below 100 billion are treated as seconds, which covers dates up to the year 5138. Larger numbers are treated as milliseconds.

Why does the local time differ from UTC?

The timestamp identifies one moment. UTC and your local time are two ways of writing it, and the difference is your time zone offset at that date.

Can I enter a negative timestamp?

Yes. Negative values are moments before 1970. For example -86400 is 1969-12-31T00:00:00Z.

Sources

Last reviewed: September 30, 2026