Unix Timestamp Converter
DEVConvert Unix timestamps to dates and dates to seconds or milliseconds.
About Unix Timestamp Converter
Frequently asked questions
What is Unix time?
Unix time, also called epoch time, is the number of seconds since 1 January 1970 at 00:00:00 UTC. It is timezone-independent, which makes it convenient for databases, APIs and logs. The same instant displays differently depending on the viewer’s local timezone.
How do I tell seconds from milliseconds?
Current Unix timestamps in seconds have 10 digits, while millisecond timestamps have 13. Automatic detection in this tool uses that pattern. Values around 1.7 billion are seconds; values around 1.7 trillion are milliseconds.
Does the converter handle dates before 1970?
Yes. Negative timestamps represent dates before the Unix epoch. Enter a negative value and the converter will show the corresponding local, UTC and ISO date.
Which timezone is used for the output?
The timestamp is an absolute instant, so the tool shows it in both your browser’s local timezone and UTC. The date-to-timestamp input is interpreted in your local timezone, which is the same behaviour as JavaScript’s Date parsing.
Quick tips
- Use the copy button to move formatted output straight into your editor.
- Validation errors point to the exact position in your input.
- All formatting and checks happen locally - nothing is uploaded.