Unix Timestamp Converter
Convert epoch time at second, millisecond, microsecond, or nanosecond precision and view it in UTC or your chosen time zone. Negative values and reverse date conversion are handled entirely in your browser.
Timestamp to date
Enter an integer or decimal, then choose the unit and display time zone.
Auto detection uses the integer digit count. Select a unit explicitly for ambiguous values such as 11-digit seconds. Decimal input is detected as seconds.
Date to timestamp
Convert a date and time back to a Unix value using the time zone selected above.
Use YYYY-MM-DDTHH:mm:ss with up to nine fractional digits. Nonexistent daylight-saving times are rejected; if a time occurs twice, the first occurrence is selected and reported.
Privacy: Timestamps and dates you enter are neither stored nor transmitted and are calculated only in the current browser memory.
Conversion results
- Detected input unit
- —
- Applied time zone
- —
- Daylight-saving interpretation
- —
How to use the Unix timestamp converter
A Unix timestamp measures elapsed time from January 1, 1970 at 00:00:00 UTC. Values below zero represent dates before that epoch, and this tool calculates them accurately.
How does automatic unit detection work?
After excluding the sign and leading zeros, up to 10 integer digits are detected as seconds, up to 13 as milliseconds, up to 16 as microseconds, and more as nanoseconds. This is convenient near current dates, but an 11-digit second value far in the future can look like milliseconds, so select the input unit directly in that case.
How are time zones and daylight saving time handled?
IANA time-zone rules determine the actual UTC offset for the date. Times skipped during the spring transition produce an error; times repeated during the fall transition use the first occurrence and show a warning.
Can it convert dates after 2038 and nanoseconds?
Yes. Integer calculations use BigInt, so nanosecond values are preserved throughout the browser's supported date range, independent of the 32-bit Unix time limit.
Is my timestamp sent to a server?
No. All calculations and time-zone conversions run in the current browser; inputs are not kept in local storage or transmitted over the network.