Unix Timestamp Converter — Epoch to Date
- This tool runs entirely in your browser. Nothing you enter or upload is sent to a server.
Timestamp → date
Date → timestamp
Dates without a time zone are read in your local time.
About this tool
A Unix timestamp counts the seconds since 1 January 1970 00:00 UTC. Many systems use milliseconds instead (JavaScript’s Date.now()), and some log formats use micro- or nanoseconds — the converter guesses the unit from the number of digits, or you can pick it.
The rule is simple: up to 11 digits is read as seconds, 12 to 14 as milliseconds, 15 to 17 as microseconds and longer as nanoseconds. So 1760000000, 1760000000000 and 1760000000000000 all give the same moment, 9 October 2025 08:53:20 UTC. Set the unit by hand if a value is unusual, for example a 10-digit millisecond value from the early 1970s.
Each conversion shows your local time, UTC, ISO 8601, a relative description such as “3 days ago”, and the value in both seconds and milliseconds, each with a copy button.
Going the other way, type a date like 2026-01-26 10:30 or any ISO string to get its timestamp. The live clock at the top shows the current epoch time in seconds and milliseconds, and updates every second. A date typed without a zone is read in your browser’s time zone, so the same text gives a different timestamp in India and in London. Add Z or +05:30 when the zone matters, for example 2026-01-26T10:30:00+05:30.
Typical uses: reading a created_at value from an API, checking when a JWT expires, comparing log lines, or setting an expiry. If you see a date in 1970, the number was in seconds but read as something smaller. A date tens of thousands of years ahead means milliseconds were read as seconds. Conversion happens in your browser.
Frequently asked questions
Is my timestamp in seconds or milliseconds?
Current timestamps have 10 digits in seconds and 13 digits in milliseconds. Auto-detect uses this to pick the unit.
What is the year 2038 problem?
Systems that store seconds in a signed 32-bit integer overflow on 19 January 2038. Modern 64-bit systems and JavaScript are not affected.
Which timezone is used for dates I type?
Dates without an explicit offset are read in your browser’s local timezone. Add Z or +05:30 to be explicit.
Why does the timestamp show a date in 1970?
The number is probably in milliseconds or seconds but was read as the wrong unit. Check the digit count, or pick the unit yourself instead of Auto-detect.
Does a timestamp include a time zone?
No. A Unix timestamp is always counted from 00:00 UTC. The time zone only affects how it is displayed, which is why the tool shows local time, UTC and ISO side by side.