Unix Timestamp Converter
Convert epoch time to a readable date and back, with the current timestamp live.
Runs in your browser — nothing is uploaded
Current Unix time
Timestamp → date
Seconds, milliseconds, microseconds or nanoseconds; the unit is detected from the length.
Date → timestamp
How to use Unix Timestamp Converter
- 1
Read or copy the current Unix time in seconds or milliseconds at the top.
- 2
Paste a timestamp into Unix timestamp to see it as a date in UTC, ISO 8601, your time zone and relative to now; select Now to fill in the current time.
- 3
To go the other way, set the date and time under Date → timestamp, and tick Treat as UTC if the time is not in your own time zone.
- 4
Select Copy next to any value.
About this tool
Unix time counts the seconds since 00:00:00 UTC on 1 January 1970, known as the Unix epoch. It is the same everywhere in the world at a given moment, which is why databases, APIs and log files use it. Negative values are dates before 1970. Unix time ignores leap seconds, so every day is exactly 86,400 seconds long.
Timestamps come in different units. Unix tools and most APIs use seconds (10 digits for current dates), JavaScript and Java use milliseconds (13 digits), and some systems use microseconds (16) or nanoseconds (19). The converter guesses the unit from the number of digits and shows which one it picked. A seconds value with 12 digits would be more than a thousand years in the future, so the guess is reliable for real dates.
Results are shown in UTC, in ISO 8601 format and in your device's time zone, with daylight saving applied automatically. When converting a date to a timestamp, the time you enter is read in your time zone unless you tick Treat as UTC; the same wall-clock time gives a different timestamp in Tokyo and in London.
Everything is calculated in your browser using its clock and time-zone settings.
Questions people ask
What is the current Unix timestamp?
It is shown live at the top of the tool, in seconds and milliseconds, and updates every second.
How do I tell if a timestamp is in seconds or milliseconds?
Count the digits. Current dates are 10 digits in seconds and 13 digits in milliseconds. The tool detects this for you.
What happens in 2038?
On 19 January 2038 the seconds count passes 2,147,483,647, the largest value a signed 32-bit integer can hold. Systems that store Unix time in 32 bits will overflow; 64-bit systems are not affected.
Is Unix time the same in every time zone?
Yes. A timestamp is one moment in UTC. Only its display as a local date and time depends on the time zone.
Related tools
- JWT DecoderPaste a JWT to read its header, payload and expiry time.
- JSON FormatterBeautify, minify and validate JSON, with errors pinpointed to the line.
- Hash GeneratorCalculate MD5 and SHA hashes of text or a file, and check a checksum.
- Base64 Encode & DecodeEncode and decode Base64 text, or turn any file into a data URL.
- URL Encode & DecodePercent-encode text for a URL, or decode an encoded URL back to text.
- Regex TesterWrite a regular expression and see every match and group highlighted live.