Unix Timestamp Converter
Convert Unix timestamps to dates and back, in local time, UTC or any timezone, with ISO 8601, RFC 2822 and relative formats.
Current Unix time
Timestamp → date
Not a valid timestamp.
Date → timestamp
Not a valid date.
Batch convert
| Input | Seconds | Date in selected timezone | Relative |
|---|
How to use the timestamp converter
- Paste a Unix timestamp — seconds, milliseconds, microseconds or nanoseconds are detected automatically — to read it as a date.
- Or pick a date and time, choose which timezone it should be read in, and copy the timestamp in seconds or milliseconds.
- Switch the timezone selector to see the same instant on a server clock, and use batch mode for a whole log file column.
FAQ
Seconds or milliseconds?
Unix time is defined in seconds since 1970-01-01T00:00:00Z, but JavaScript, Java and most logs use milliseconds. A 10-digit number is seconds, 13 digits is milliseconds, 16 is microseconds and 19 is nanoseconds — this tool labels what it detected so you can override it if the value is unusual.
Why does the same timestamp show two different dates?
A timestamp is an absolute instant; the calendar date depends on the timezone you display it in. That is why local time, UTC and the zone you pick are shown side by side — useful when a server logs UTC and your users are not.
Is anything sent to a server?
No. All conversions run in your browser with the built-in Intl and Date APIs, so log data you paste stays on your machine.