Epoch Converter
Convert between Unix timestamps and human-readable dates, in both directions and four precisions. Nothing is uploaded — it uses your browser's built-in date support.
Working with Unix timestamps
A Unix timestamp is the number of seconds since 1 January 1970, 00:00:00 UTC. Different systems store it at different precisions — seconds, milliseconds, microseconds or nanoseconds — so the first job is to recognise which one you have; the digit count tells you, and this tool detects it for you and shows the unit it used. Systems that keep time in a signed 32-bit integer break on 19 January 2038 (the Year 2038 problem); this tool works past that and flags when a value falls outside the 32-bit range. The ISO 8601 result is always UTC and the local result follows your time zone or an IANA zone you name. Compare structured files with the JSON formatter, and sort timestamped logs with the line sorter.
Frequently asked questions
How do I detect whether a timestamp is seconds or milliseconds?
The tool counts the digits: up to 10 digits is seconds, up to 13 is milliseconds, up to 16 is microseconds and 19 is nanoseconds. The detected unit is shown with the result.
Does it handle dates after 2038?
Yes. The 2038 problem affects systems that store time as a signed 32-bit integer; this tool works beyond that range and flags when a seconds value falls outside it.
Can I convert a date back to a timestamp?
Yes. Enter a date in the date box to get seconds, milliseconds, microseconds and nanoseconds. Enter a timestamp to get the human-readable date.
Which time zone is used?
The ISO 8601 result is always UTC. The local result uses your browser's time zone, and you can name an IANA time zone to convert to that one instead.
Is anything sent to a server?
No. All conversion uses the browser's built-in Date and Intl support. Nothing is uploaded.
What is the Unix epoch?
It is the number of seconds since 1 January 1970, 00:00:00 UTC, not counting leap seconds (ISO 8601: 1970-01-01T00:00:00Z).