Convert between Unix timestamps (epoch time) and readable dates. Seconds and milliseconds are auto-detected by digit count.
Your input is never sent to a server — everything runs in your browser
Timestamp → date
Date (your local time) → timestamp
How to use
Timestamp → date: paste a timestamp to see it in your local time and UTC.
10 digits are treated as seconds, 13 digits as milliseconds — automatically.
Date → timestamp: pick a date and time to get the epoch value.
What is Unix time?
Unix time counts the seconds elapsed since 00:00:00 UTC on January 1, 1970. It appears everywhere in server logs, databases and API responses. Many systems record milliseconds instead (13 digits) — JavaScript's Date.now() does. When a log time looks wrong, the cause is almost always seconds/milliseconds confusion or a time-zone mix-up; this tool shows both interpretations clearly.
FAQ
How are seconds and milliseconds told apart?
For present-day times, seconds have 10 digits and milliseconds have 13. Values of 12+ digits are treated as milliseconds, and the tool tells you which interpretation it used.
What is the year-2038 problem?
Systems that store seconds in a signed 32-bit integer overflow on January 19, 2038. Modern 64-bit systems are unaffected.