Unix Timestamp Converter
convert between Unix timestamps and human-readable dates
By Bikram NathLast updated
Paste a Unix timestamp like 1716076800 and get the equivalent UTC and local date-time strings instantly; type a date and get the epoch integer back. The live counter showing the current timestamp refreshes every second, which makes it useful for checking whether a JWT or OAuth token's exp field has already passed before making another API call.
Try it now — free, instant, no signup
What is Unix Timestamp Converter?
The tool converts integers representing seconds since the Unix epoch (1970-01-01 00:00:00 UTC) into formatted date strings, and converts date strings back to integers. Type 0 and you get 1970-01-01T00:00:00Z. A live display shows the current epoch second, ticking in real time.
If you're already in a terminal, date -d @1716076800 on Linux or date -r 1716076800 on macOS covers timestamp-to-date without a browser tab. EpochConverter.com is a close online equivalent. This tool earns its keep when you're mid-session in a browser and need both conversion directions without remembering platform-specific flag syntax, or when you want the live current-timestamp counter visible alongside your conversion.
The most common cause of wrong output is conflating seconds with milliseconds. JavaScript's Date.now() returns milliseconds; Unix timestamps conventionally use seconds. A 13-digit number like 1716076800000 is milliseconds; the same value without the trailing three zeros is seconds. If the result lands unexpectedly in January 1970 or mid-2001, the input is almost certainly milliseconds being read as seconds.
When to use Unix Timestamp Converter
Expert Notes
Unix timestamps are always UTC — the most common bug is treating a timestamp as local time when it's actually UTC, which produces errors of exactly your timezone offset. JavaScript's `Date.now()` returns milliseconds, not seconds; a timestamp of `1720000000000` (13 digits) is ms, while `1720000000` (10 digits) is seconds — multiplying by 1000 in the wrong direction is a classic off-by-1000x bug. The Year 2038 problem affects 32-bit signed integers (max 2,147,483,647 = Jan 19, 2038), which is still relevant in embedded systems and some legacy databases.
DevLab's Take
Perfect for decoding timestamps from logs, API responses, and JWT `exp` fields — if you're doing date arithmetic or timezone-aware formatting in code, use a library like `date-fns` or `Temporal` rather than manual conversion.