Unix Timestamp (Epoch) Converter
Unix timestamp ↔ human date — seconds or ms, UTC and local. Free, instant.
Stays on your device. This tool runs in your browser — nothing you paste or open ever leaves it. Nothing uploaded, nothing to leak.
↳ received from
Timestamp → date
Detected
UTC
Local
Relative
Date → timestamp
Unix (seconds)
Milliseconds
ISO 8601
Help us improve
Was this tool useful? Tap a star.
Thanks — your rating helps others find it.
An epoch (Unix timestamp) converter turns a number of seconds since 1 Jan 1970 into a readable date and time, and back again. Paste a timestamp to decode it, or pick a date to get its epoch — in seconds or milliseconds, UTC and your local time.
Seconds vs milliseconds
Unix time is classically counted in seconds; JavaScript and many APIs use milliseconds (1000× larger). The tool detects which you pasted and shows both so you never multiply by the wrong factor.
FAQ
How do I tell if a timestamp is in seconds or milliseconds?Count the digits: a 10-digit number is seconds (like 1704067200) and a 13-digit number is milliseconds (like 1704067200000). JavaScript uses milliseconds while most servers and databases use seconds; this tool handles both.
What is the Unix epoch?It is the reference point for Unix time: midnight UTC on January 1, 1970, from which timestamps count the seconds elapsed. A timestamp is simply how many seconds (or milliseconds) have passed since that moment.
Why does the converted time differ from my local clock?A Unix timestamp is always based on UTC, so it shows the same instant worldwide; your local time is that instant shifted by your timezone offset. The tool shows both UTC and local so you can compare them directly.
Can it convert a date back into a timestamp?Yes. It works both ways, turning a timestamp into a readable date and a chosen date into seconds or milliseconds. Everything is computed in your browser, so nothing is uploaded.