Unix timestamp converter
Turn timestamps into dates and back. Seconds vs. milliseconds is detected from the number of digits.
🔒 Processed in your browser only — nothing you type is sent to a server.
Timestamp → date
Date → timestamp
How to use
- Type a timestamp to see it in UTC, your local time zone, HTTP date format and as relative time.
- The unit is guessed from the number of digits (10 = seconds, 13 = milliseconds). Pick a unit to override it.
- Press Now to insert the current timestamp.
- In Date → timestamp, choose a date and time, set local or UTC, and read the value in seconds and milliseconds.
FAQ
What is a Unix timestamp?
The time elapsed since 1970-01-01 00:00:00 UTC (the Unix epoch), written as a single number. The same moment has the same value in every time zone, which is why servers, databases and logs use it. Leap seconds are not counted.
How do I tell seconds from milliseconds?
A current date is 10 digits in seconds and 13 digits in milliseconds. The tool treats up to 11 integer digits as seconds, 12–14 as milliseconds, 15–17 as microseconds and 18 or more as nanoseconds. JavaScript’s Date.now() returns milliseconds; most Unix commands and the JWT exp claim use seconds.
Which time zone is "Local"?
The time zone set in your browser or operating system. The UTC line is the same everywhere.
What is the Year 2038 problem?
If a timestamp is stored as a signed 32-bit integer of seconds, its maximum value 2,147,483,647 is 2038-01-19 03:14:07 UTC, so later times cannot be represented. 64-bit storage does not have this limit.
Is my input sent to a server?
No. Conversion happens entirely in your browser. If you press Share link, the timestamp and unit are stored in the link.
More tools
See all tools →Cron expression parser
Explain a cron expression in plain words and see exactly when it will run next.Open →JWT decoder
Paste a token to read its header and payload and see when it expires.Open →JSON formatter & validator
Pretty-print or minify JSON, and see exactly which line and column breaks it.Open →Base64 encoder & decoder
Convert text to Base64 and back instantly, including UTF-8 text and the URL-safe variant used by JWTs.Open →