Unix Timestamp Converter

Convert Unix timestamps to dates and back.

Current Unix time — —

Timestamp / ISO time to date

Numeric input unit
Local time —
UTC —
ISO 8601 —
Day of week —

Common time zones

New York —
Los Angeles —
London —
Shanghai —
Tokyo —

Enter Unix seconds, milliseconds, or an ISO 8601 time above.

Date to timestamp

Seconds —
Milliseconds —

Pick a date and time to get its timestamp.

Free online Unix timestamp converter

A Unix timestamp — also called epoch time — counts the seconds since midnight UTC on 1 January 1970. APIs and logs also commonly expose ISO 8601 strings such as 2026-09-27T12:34:44.000Z. This converter accepts both formats, shows the same instant in your local time, UTC, New York, Los Angeles, London, Shanghai, and Tokyo, and converts a calendar date back into seconds or milliseconds. Everything happens live in your browser.

How to convert a Unix timestamp to a date

  1. Paste Unix seconds, Unix milliseconds, an ISO 8601 value, or a copied "timestamp": "…" field into the first box.
  2. For numeric values, leave the unit on Auto — 13-digit values are read as milliseconds and shorter ones as seconds — or force Seconds / Milliseconds.
  3. Read the same instant in local time, UTC, ISO 8601, and the common world time zones shown below it.
  4. To go the other way, set a date in the Date to timestamp panel and copy the seconds or milliseconds value.

Seconds vs milliseconds

Classic Unix time is measured in whole seconds, so a current value has ten digits. Many modern platforms — including JavaScript's Date.now() — use milliseconds instead, giving a thirteen-digit number. Mixing the two is a common bug that places a date in 1970 or far in the future, so double-check the unit whenever a converted date looks wrong.

Related date and number tools

Working out how long ago a timestamp was? Try the age calculator to measure the gap between two dates in years, months, and days. If you need to inspect the raw hexadecimal form of an epoch value, the number base converter switches between decimal, binary, and hex. Like every tool here, both run entirely client-side with nothing sent to a server.

Frequently asked questions

What is a Unix timestamp?

A Unix timestamp (also called epoch time or Unix time) is the number of seconds that have elapsed since 00:00:00 UTC on 1 January 1970, not counting leap seconds. It is a compact, timezone-independent way to represent a moment in time, which is why it is used throughout databases, log files, APIs, and programming languages.

Are timestamps in seconds or milliseconds?

Both are common. Classic Unix time is measured in seconds (a 10-digit number today), while JavaScript, Java, and many APIs use milliseconds (a 13-digit number). This converter auto-detects the unit — 13 or more digits are treated as milliseconds — and you can override it manually with the Seconds or Milliseconds option.

Can I paste an ISO 8601 timestamp such as 2026-09-27T12:34:44.000Z?

Yes. The timestamp box accepts Unix seconds, Unix milliseconds, ISO 8601 date-time strings, and copied timestamp JSON fragments such as "timestamp": "2026-09-27T12:34:44.000Z". It then shows the same instant in your local zone, UTC, and several common world time zones.

What time zones does the converter show?

The "Local time" result uses your device's current zone. The converter also shows UTC plus New York, Los Angeles, London, Shanghai, and Tokyo so you can compare the same instant across common regions. The "Date to timestamp" input reads your entered date as local time before converting it to epoch time.

Is my data sent to a server?

No. Every conversion runs entirely in your browser with JavaScript. No timestamps or dates are uploaded, stored, or logged, so the tool is safe to use with sensitive log data.

What is the year 2038 problem?

Systems that store Unix time in a signed 32-bit integer can only count up to 03:14:07 UTC on 19 January 2038, after which the value overflows. Modern platforms use 64-bit integers to avoid this. This browser-based converter uses JavaScript numbers, so it handles dates far beyond 2038.