Unix Timestamp ↔ Date

Convert Unix timestamps to human-readable dates and vice versa.

Time · epoch · Unix timestamp

Convert Unix timestamps to human-readable dates and the other way around. Paste epoch seconds or milliseconds from logs, JWTs, and APIs; see local and UTC interpretations without a server round-trip.

Epoch → date Date → epoch Seconds & ms aware Client-side Log debugging

What a Unix timestamp is

A Unix timestamp counts seconds (or milliseconds) since the Unix epoch: 1970-01-01T00:00:00Z. APIs, databases, JWT exp/iat claims, and log shippers use this form because it is compact and timezone-agnostic in storage. Humans still need calendar dates — that conversion is what this tool does.

How to use it

  1. Paste a numeric timestamp or pick/enter a date-time.
  2. Confirm whether the source uses seconds or milliseconds (13-digit values are usually ms).
  3. Read the converted local and/or UTC display.
  4. Copy the form you need into docs, SQL, or support replies.

Seconds vs milliseconds

ExampleLikely unitApprox. era
1710000000Seconds~10 digits, current decades
1710000000000Milliseconds~13 digits
1710000000000000Microseconds (rare in JS)~16 digits

Off-by-1000 bugs: Treating ms as seconds lands you in the 50,000s AD; treating seconds as ms lands near 1970. When a date looks absurd, flip the unit first.

Where timestamps show up

Timezones & DST

Epoch is absolute. Display depends on timezone. “Tomorrow at 9am” in New York is not a single epoch without a zone. For distributed systems, store UTC (or epoch) and localize only at the edges.

FAQ

Why is my converted date wrong by a few hours?

Usually local vs UTC display, or a server writing local time without an offset. Prefer explicit Z / UTC in APIs.

Does this call a time API?

No — conversion uses your browser’s date libraries with the values you enter.

Y2038?

32-bit signed seconds overflow in 2038. Modern systems use 64-bit time; still beware legacy embedded devices and old schemas.

Related tools

Sponsored