Unix Timestamp Converter
Convert between Unix timestamps and readable dates in both directions.
Timestamp to Date
Date to Timestamp
What is a Unix timestamp?
A Unix timestamp is the number of seconds (or milliseconds) that have elapsed since January 1, 1970 at 00:00:00 UTC (the Unix Epoch). It is the standard way computers store and exchange dates because it is timezone-independent and easy to compare.
Developers constantly need to convert timestamps from logs, databases and APIs into readable dates — or turn user-picked dates into timestamps for storage. This tool does both instantly, entirely in your browser.
How to use this tool
- Timestamp to Date: paste a timestamp (it detects seconds vs milliseconds automatically) and click Convert.
- Date to Timestamp: pick a date and time in your local timezone, then click Convert. You get both seconds and milliseconds.
- Click Use Now to insert the current moment and see its timestamp.
Frequently Asked Questions
Seconds or milliseconds — how do I know which one I have?
If the number has 10 digits, it is almost certainly seconds. 13 digits means milliseconds. This tool detects both automatically.
What timezone is the timestamp based on?
Timestamps are always based on UTC. The readable date shown here is displayed in your browser's local timezone so it is easy to understand.
Why do I sometimes see a negative timestamp?
Negative timestamps represent dates before January 1, 1970. They are valid and this tool handles them correctly.
Is my data sent to a server?
No. All conversions happen locally in your browser. Nothing is uploaded.