Epoch Converter
Convert Unix timestamps to human-readable dates and back, in seconds, milliseconds, microseconds or nanoseconds.
Timestamp โ date
- Detected unit
- โ
- ISO 8601 (UTC)
- โ
- UTC
- โ
- Local time
- โ
- Relative
- โ
- Epoch seconds
- โ
- Epoch milliseconds
- โ
- Weekday (UTC)
- โ
- Day of year
- โ
- ISO week
- โ
Date โ timestamp
- Epoch seconds
- โ
- Epoch milliseconds
- โ
- ISO 8601 (UTC)
- โ
How it works
An epoch (or Unix) timestamp counts the time that has passed since 1 January 1970 00:00:00 UTC. Paste a timestamp and this converter detects whether it is in seconds, milliseconds, microseconds or nanoseconds, then shows the matching date as ISO 8601, a readable UTC string, your own local time and a plain-English relative age like "3 hours ago". The second panel does the reverse: pick a date and time, choose whether it should be read as local time or UTC, and get the epoch value back in seconds and milliseconds.
Everything is calculated in your browser with the built-in JavaScript
Date API โ no timestamp is ever sent to a server, so you can safely
convert values from production logs. The live clock at the top ticks every second, so
it doubles as a "what is the current Unix timestamp" reference you can copy in one click.
Frequently asked questions
What is the current Unix timestamp?
The live clock at the top of this page shows the current Unix time, ticking every second in both seconds and milliseconds. It counts the time elapsed since 1 January 1970 00:00:00 UTC. Press "Copy timestamp" to put the current value on your clipboard, or "Use current time" to convert it straight away.
How do I convert a Unix timestamp to a date?
Paste the number into the Unix timestamp box. The converter detects whether it is in seconds, milliseconds, microseconds or nanoseconds and instantly shows the ISO 8601 value, a readable UTC string, the same moment in your local time zone, and a relative age such as 3 hours ago. You can override the detected unit with the Unit dropdown.
What is the difference between epoch seconds and milliseconds?
Unix time is classically counted in whole seconds (10 digits today, e.g. 1700000000), while JavaScript, Java and most log pipelines use milliseconds (13 digits, e.g. 1700000000000). This tool auto-detects the unit by magnitude and always reports both, so 1700000000000 ms and 1700000000 s resolve to the same date.