Unix Timestamp Converter
convert between Unix timestamps and human-readable dates
Try it now — free, instant, no signup
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.
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
- Verify whether a JWT's exp claim has already elapsed by pasting the integer and reading the converted UTC datetime.
- Construct the exact integer your API expects when its documentation says to pass a Unix timestamp in seconds, not milliseconds.
- Audit a log file where timestamps appear as 10-digit integers to determine the real wall-clock time of each event.
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.
Frequently Asked Questions
Why does the converted date show a time that's several hours off from what I expected?
My timestamp is 13 digits. Why does the converted date land in the wrong year?
Does this tool handle timestamps beyond 2038, given the Year 2038 problem?
Can I convert a negative Unix timestamp for dates before 1970?
How is this different from running 'date -d @1716076800' in the terminal?
Related Tools
- Timezone Converterconvert times between any two time zones instantly · Time
- Date Duration Calculatorcalculate the duration between two dates or add/subtract time · Time
- Cron Expression Generatorbuild and explain cron schedule expressions with a visual builder · Time
- JSON Formatterformat and prettify JSON with syntax highlighting · JSON
Learn more
- Unix Timestamps ExplainedEverything you need to know about Unix time — what it is, how it works, and common pitfalls.
- ISO 8601 Explained: The Right Way to Format DatesLearn the ISO 8601 date and datetime standard, why 2026-06-13T10:30:00Z is unambiguous, and how to use it correctly in APIs and databases.
- Unix Timestamps vs ISO 8601: Which to Use in Your API?Compare Unix epoch timestamps with ISO 8601 strings for API design, database storage, and JavaScript date handling — with a clear recommendation.