Timestamp Converter
Convert between Unix timestamps and human-readable dates, in any timezone.
Enter a timestamp or a date above.
About this tool
Convert between Unix timestamps and human-readable dates, in any timezone — paste a timestamp to see the date, or pick a date to get the timestamp back.
Seconds vs milliseconds
Unix time counts seconds since January 1, 1970 (UTC) by the original convention, but many languages and APIs — JavaScript's Date.now() among them — use milliseconds instead. A timestamp that's about ten digits long is almost always seconds; thirteen digits is almost always milliseconds. Mixing the two up is the single most common timestamp bug, usually producing a date decades off from what was intended.
Why timezone matters even though Unix time doesn't have one
A Unix timestamp itself is timezone-agnostic — it's just a count of seconds since a fixed point. Timezone only comes into play when converting that number into a human-readable date; the same timestamp displays as a different clock time depending on which timezone you view it in, even though the underlying instant is identical.
Common uses
Decoding the exp and iat claims inside a JWT, checking whether a log entry's timestamp lines up with when an incident actually happened in your local timezone, or converting a date a user picked in a form into the timestamp format your database or API expects.
Frequently asked questions
Why is my converted date off by hours?
Almost always a timezone mismatch — the timestamp was generated in one timezone (often UTC) and you're viewing it in another. Double-check which timezone you've selected for the conversion.
Why is my date decades wrong?
You likely have a seconds-vs-milliseconds mismatch — a millisecond timestamp interpreted as seconds lands around 1970, and a seconds timestamp interpreted as milliseconds lands far in the future.