Skip to content
SyntaxSnap

Unix Timestamp Converter

Paste an epoch timestamp in seconds, milliseconds, microseconds or nanoseconds, or a date string, and see it in UTC, your local time zone, ISO 8601 and relative time.

Current Unix time…

Timestamp or date

Converted

How to convert a Unix timestamp

  1. Step 1

    Paste a timestamp or date

    Enter epoch seconds, milliseconds or a date string.

  2. Step 2

    Read the conversions

    See the same moment in UTC, local time, ISO 8601 and relative time.

  3. Step 3

    Copy the format you need

    Copy any row, or copy the current Unix time.

Seconds or milliseconds

Unix time counts from 1 January 1970 UTC. Most backends and JWTs use seconds (10 digits today), while JavaScript's Date.now() and many logs use milliseconds (13 digits). The converter detects the unit from the number of digits, including 16-digit microseconds and 19-digit nanoseconds.

Time zones

A Unix timestamp has no time zone; it is the same moment everywhere. The table shows it in UTC and in the time zone your browser reports, so you can compare log times with what users saw.

Dates to timestamps

Type a date such as 2026-01-01 or 2026-01-01T09:30:00+05:30 to get its epoch value. Dates without a time zone are read as local time by the browser, so include an offset or Z when it matters.

Questions and answers

What is a Unix timestamp?

The number of seconds since 00:00:00 UTC on 1 January 1970, not counting leap seconds.

How do I tell seconds from milliseconds?

Current timestamps in seconds have 10 digits; in milliseconds they have 13. The converter detects this automatically.

What happens in 2038?

Systems that store Unix time as a signed 32-bit integer overflow on 19 January 2038. JavaScript uses 64-bit numbers, so this tool is not affected.

Next step

Need this built into your stack?

The team behind SyntaxSnap builds custom code generators, internal developer tools and API integrations.