Unix Timestamp Converter

Convert Unix timestamps to human-readable dates in any timezone.

Ad placeholder (leaderboard)

A Unix timestamp counts the seconds since the Unix epoch — midnight UTC on 1 January 1970. It is the most common way programs store a moment in time because it is a single number with no timezone attached. This free converter turns that number into a readable date in any timezone, and turns dates back into epoch values.

How it works

When you paste a timestamp, the tool first decides whether it is in seconds or milliseconds. It does this by magnitude: a value of 13 or more digits is treated as milliseconds (the unit JavaScript’s Date uses internally), and a shorter value is treated as seconds and multiplied by 1000.

It then builds a JavaScript Date from those milliseconds and formats it two ways:

  • ISO 8601 in UTC, e.g. 2026-06-06T14:30:00.000Z, produced by toISOString().
  • A locale-formatted string in your chosen IANA timezone, produced by the Intl.DateTimeFormat API, which applies the correct UTC offset and daylight-saving rules for that zone and date.

The reverse field takes a date and time and returns the matching epoch in both seconds and milliseconds.

Tips and notes

  • A live clock at the top shows the current Unix time so you can grab “now” instantly.
  • If you are unsure of a value’s unit, paste it and read the Interpreted as row — it tells you whether it was read as seconds or milliseconds.
  • Timestamps are UTC by definition; the timezone selector only changes how the same instant is displayed, never the underlying value.
  • Everything is computed locally with the browser’s standard date APIs, so it is safe to use with internal or sensitive timestamps.
Ad placeholder (rectangle)