// free ยท runs in your browser ยท nothing uploaded
Unix Timestamp Converter
Convert Unix timestamps (seconds, milliseconds, micro or nanoseconds) to readable dates in any time zone, and dates back to timestamps. Live current epoch time, ISO 8601 and RFC 2822.
๐ Official sources: MDN Date
We build every tool from the official rules and re-check them when they change. Always confirm with the official source before you rely on a result.
๐ ๏ธ Spotted a mistake or an out-of-date rule? Tell us
How it works
A number is read by how many digits it has: up to 11 digits as seconds, up to 14 as milliseconds, then microseconds and nanoseconds. Anything else is parsed as a date, with ISO 8601 (like 2026-10-28T09:30:00Z) the safest format. The tool then shows the moment in UTC, your local time and any time zone you pick, using the browser's time-zone database so daylight saving is handled.
Example
1798761600is read as s: 2027-01-01T00:00:00Z, the start of 2027 in UTC.1798761600000is the same moment in ms, the format JavaScript's Date.now() uses.
Good to know
- Store and send times in UTC and convert to local time only for display; it avoids most daylight-saving bugs.
- Unix time ignores leap seconds, so every day is exactly 86,400 seconds long.
Guides
Related tools
Questions people ask
What is a Unix timestamp?+
The number of seconds since 1 January 1970 at 00:00:00 UTC (the Unix epoch). It's the same everywhere in the world, so it's the standard way to store time in databases and APIs.
Seconds or milliseconds?+
Unix tools, PHP and most APIs use seconds (10 digits today). JavaScript's Date.now() and Java use milliseconds (13 digits). This converter detects which one you pasted by the number of digits.
What happens in 2038?+
Systems that store Unix time in a signed 32-bit number overflow on 19 January 2038 at 03:14:07 UTC (timestamp 2147483647). Modern 64-bit systems are not affected.