Hanpy's Blog

Type at least two characters.

Unix timestamp converter

Turn timestamps into dates and back. Seconds vs. milliseconds is detected from the number of digits.

🔒 Processed in your browser only — nothing you type is sent to a server.

Current Unix time (seconds)…

Timestamp → date

Read as seconds from the number of digits

UTC (ISO 8601)
2026-01-01T00:00:00Z
Local time
…
HTTP date (RFC 7231)
Thu, 01 Jan 2026 00:00:00 GMT
Relative
…
Seconds
1767225600
Milliseconds
1767225600000

Date → timestamp

Seconds
…
Milliseconds
…
UTC (ISO 8601)
…
Advertisement

How to use

  1. Type a timestamp to see it in UTC, your local time zone, HTTP date format and as relative time.
  2. The unit is guessed from the number of digits (10 = seconds, 13 = milliseconds). Pick a unit to override it.
  3. Press Now to insert the current timestamp.
  4. In Date → timestamp, choose a date and time, set local or UTC, and read the value in seconds and milliseconds.

FAQ

What is a Unix timestamp?

The time elapsed since 1970-01-01 00:00:00 UTC (the Unix epoch), written as a single number. The same moment has the same value in every time zone, which is why servers, databases and logs use it. Leap seconds are not counted.

How do I tell seconds from milliseconds?

A current date is 10 digits in seconds and 13 digits in milliseconds. The tool treats up to 11 integer digits as seconds, 12–14 as milliseconds, 15–17 as microseconds and 18 or more as nanoseconds. JavaScript’s Date.now() returns milliseconds; most Unix commands and the JWT exp claim use seconds.

Which time zone is "Local"?

The time zone set in your browser or operating system. The UTC line is the same everywhere.

What is the Year 2038 problem?

If a timestamp is stored as a signed 32-bit integer of seconds, its maximum value 2,147,483,647 is 2038-01-19 03:14:07 UTC, so later times cannot be represented. 64-bit storage does not have this limit.

Is my input sent to a server?

No. Conversion happens entirely in your browser. If you press Share link, the timestamp and unit are stored in the link.

Advertisement