How to convert a Unix timestamp
Paste the epoch value and choose its unit.
Enter the timestamp
Paste the digits exactly; do not add separators.
Pick the unit
Seconds is common in APIs and milliseconds in browser timestamps.
Choose a zone
The primary result shows UTC or local time; both appear in the rows.
What does this tool do?
Unix time counts the seconds since 1 January 1970 at 00:00 UTC. The same instant can be written in seconds or milliseconds, so check the unit before converting or you will land decades away.
The Formula
Date = 1 January 1970 00:00 UTC + Timestamp seconds (or milliseconds when selected)Frequently Asked Questions
How do I tell a seconds timestamp from milliseconds?
Current seconds values have about 10 digits and milliseconds about 13. A value 1000 times larger than expected is almost always a millisecond timestamp.
Why does a timestamp of zero show 1970?
Zero is the Unix epoch itself, 1 January 1970 at 00:00 UTC. Negative values count backwards from that instant.