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.
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.
| Example | Likely unit | Approx. era |
|---|---|---|
1710000000 | Seconds | ~10 digits, current decades |
1710000000000 | Milliseconds | ~13 digits |
1710000000000000 | Microseconds (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.
exp, nbf, iat are usually seconds; pair with the JWT Decoder.timestamptz; know what your driver emits.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.
Usually local vs UTC display, or a server writing local time without an offset. Prefer explicit Z / UTC in APIs.
No — conversion uses your browser’s date libraries with the values you enter.
32-bit signed seconds overflow in 2038. Modern systems use 64-bit time; still beware legacy embedded devices and old schemas.