Unix Timestamp Converter
Convert a Unix timestamp in seconds or milliseconds to a readable date and time, or convert a date and time back to a Unix timestamp. Supports local and UTC output.
Timestamp → Date
Date → Timestamp
Privacy: your input is processed entirely in your browser and is never sent to our servers.
How to Use Unix Timestamp Converter
- 1Enter a Unix timestamp to see the human-readable date.
- 2Or pick a date and time to get the Unix timestamp.
- 3Toggle between seconds and milliseconds as needed.
What This Tool Does
Unix timestamps count the seconds that have passed since 1 January 1970, the Unix epoch, and they appear throughout APIs, log files, databases and scheduling systems because they store a moment in time as a single unambiguous number. This converter turns a Unix timestamp into a readable date and time, and converts a chosen date and time back into a timestamp, handling both seconds and milliseconds since JavaScript and many systems use different units. Both local and UTC times are shown for every conversion, so you can compare the same moment across time zones. Negative timestamps represent dates before 1970. Use it to read a log entry, debug an API response, or schedule a future event in a system that expects a timestamp.
Examples
Reading a log timestamp
Paste a Unix timestamp from a log line to see the human-readable date and time in both local and UTC, confirming when an event actually occurred.
Scheduling a future event
Pick a future date and time and read the Unix timestamp to pass into an API or scheduling system that expects epoch seconds.
Helpful Tips
- JavaScript Date uses milliseconds; many APIs use seconds. Pick the right unit.
- Use UTC output to compare timestamps across time zones.
- Negative timestamps represent dates before 1970.
Frequently Asked Questions
Seconds or milliseconds?
You can toggle either. The tool auto-detects likely units from the magnitude.
Does it handle dates before 1970?
Yes, negative timestamps are supported.
What timezone is the human date in?
Both local and UTC times are shown for every conversion.