Unix Timestamp Converter
Convert Unix timestamps to readable dates and back: seconds, milliseconds, microseconds or nanoseconds, any time zone, batch lists and a live clock. Private.
How to use Unix Timestamp Converter
- 1Paste a Unix timestamp, or one per line for a list. Choose the unit if the automatic guess is not what you mean.
- 2Pick the time zone to show; your own zone and UTC are always listed.
- 3Copy the result, or switch to Date → Timestamp or Now to go the other way.
What makes it better
- Seconds, milliseconds, microseconds and nanoseconds are told apart by size, with a visible note and a manual override
- ISO 8601, RFC 2822, local time, any IANA zone, relative time, weekday, day of year and ISO week
- Batch mode converts one timestamp per line into a table you can copy or download as CSV
- Date → Timestamp reads a date, time and zone (or a trailing Z / +05:30) and handles clock-change edge cases
- Negative values, years above 9999 and the 2038 overflow each get a plain-language message
About Unix Timestamp Converter
Paste an epoch value and see it as ISO 8601 in UTC, as RFC 2822, in your own time zone and in any IANA zone you pick, with the weekday, day of the year, ISO week and a relative phrase such as 3 hours ago. The unit is guessed from the size of the number and the page tells you which one it used, so you can override it when the guess is wrong. The same page converts a date and time back to a timestamp and shows the current time live.
Common uses
- Check when a token's exp or iat claim in a log line really is.
- Convert a database column of epoch milliseconds into dates for a bug report.
- Work out the timestamp for a scheduled release at 9 am in another time zone.
- Decode a list of nanosecond trace timestamps from a monitoring export.
Example
Input
1700000000
Result
ISO 8601 (UTC): 2023-11-14T22:13:20.000Z RFC 2822: Tue, 14 Nov 2023 22:13:20 +0000 Unix seconds: 1700000000 Unix milliseconds: 1700000000000 Day of week: Tuesday Day of year: 318 ISO week: 2023-W46
Good to know
- The unit guess uses the number's size: below 1e11 is seconds, below 1e14 milliseconds, below 1e17 microseconds, otherwise nanoseconds. A small millisecond value such as 5000 therefore reads as seconds, so set the unit when you know better.
- Dates use JavaScript's range, about 271,821 BC to year 275,760. Digits finer than one millisecond are dropped, and time zones are only available from year 1 onward, so earlier values show in UTC.
- Unix time ignores leap seconds: every day counts exactly 86,400 seconds, which is also how most programming languages treat it.
Unix Timestamp Converter FAQ
How do I convert a Unix timestamp to a date?
Paste the number into the box and the date appears at once in UTC, in your local zone and in any zone you choose. A 10-digit value is read as seconds and a 13-digit value as milliseconds, and a note on the page says which.
How can I tell whether a timestamp is in seconds or milliseconds?
Count the digits for dates near today: 10 digits is seconds, 13 is milliseconds, 16 is microseconds and 19 is nanoseconds. The converter applies that rule by magnitude, and the Unit menu lets you force one when the number is unusually small or large.
What is the Year 2038 problem?
A signed 32-bit seconds counter tops out at 2,147,483,647, which is 03:14:07 UTC on 19 January 2038. One second later it wraps to a negative number, so older systems that store time that way fail. Values above that limit trigger a warning here.
Can a Unix timestamp be negative?
Yes. Negative numbers count seconds before 1 January 1970, so -86400 is 31 December 1969. They convert normally, and the page labels them as pre-1970 so a stray minus sign does not go unnoticed.
How do I get the Unix timestamp for a specific date?
Switch to Date → Timestamp, type the date and time, and choose the time zone it was written in. You get seconds, milliseconds, microseconds and nanoseconds, and a time that does not exist or occurs twice because of a clock change is flagged.
Does the page send my timestamps anywhere?
No. The conversion uses your browser's own date and Intl support, so nothing is uploaded, and the live clock reads your device's time.