Unix Timestamp Converter
Convert Unix timestamps to local and UTC dates and back, with a one-click Now button.
Timestamp → Date
- Local time
- —
- UTC (ISO 8601)
- —
Date → Timestamp
- Unix timestamp (seconds)
- —
What is a Unix timestamp?
A Unix timestamp is the number of seconds that have elapsed since 1 January 1970, 00:00:00 UTC, known as the epoch. Because it is a single integer independent of time zones, it is the most common way for programs, databases and APIs to store a moment in time.
Local time versus UTC
The same timestamp shows differently depending on where you are. This converter reports both your local time and the UTC ISO 8601 string, so you can line up server logs with what a user actually saw. The Now button drops in the current epoch second instantly.
How to use the Unix Timestamp Converter
- Enter a timestamp. Type epoch seconds, or press Now for the current time.
- Convert to a date. Read the local time and the UTC ISO 8601 value.
- Or pick a date. Use the date-and-time field in the second panel.
- Get the timestamp. Convert your chosen date back to epoch seconds.
Frequently asked questions
Seconds or milliseconds?
This tool works in seconds, the classic Unix convention. JavaScript uses milliseconds internally, so it multiplies by 1000 for you.
Why does the local time differ from UTC?
Local time applies your device time zone and daylight saving offset, while UTC is the universal reference. Both describe the same instant.
What is the ISO 8601 output?
It is the standard machine-readable format such as 2023-11-14T22:13:20.000Z, always expressed in UTC (the trailing Z).
Is anything sent to a server?
No. All date maths runs in your browser with the native Date object.