Unix Timestamp Converter
Convert Unix timestamps to readable dates and vice versa. Supports seconds and milliseconds. Runs in your browser.
How to Use
Choose a conversion direction
Select "Timestamp → Date" to convert a Unix timestamp to a human-readable date, or "Date → Timestamp" to go the other way.
Select the unit
Choose "Seconds" for standard Unix timestamps (10 digits) or "Milliseconds" for JavaScript-style timestamps (13 digits).
Enter the value or click Now
Type the timestamp in the input field, or click the Now button to use the current time.
Copy the result
The converted values appear immediately. Click Copy next to any format to copy it to your clipboard.
FAQ
A Unix timestamp (also called epoch time) is the number of seconds that have elapsed since 00:00:00 UTC on January 1, 1970 (the Unix epoch). It is widely used in programming and databases to represent points in time in a timezone-independent way.
Most Unix timestamps are expressed in seconds (a 10-digit number, e.g. 1700000000). JavaScript's Date.now() and many APIs return milliseconds (a 13-digit number, e.g. 1700000000000). This tool supports both — just select the correct unit before converting.
The UTC result always shows the correct UTC time. The "Local Date/Time" result is adjusted to your browser's local timezone. If you are in a timezone with a UTC offset (e.g. UTC+9 for Japan), the local time will differ from UTC accordingly.
JavaScript's Date object can handle timestamps up to approximately ±8,640,000,000,000,000 milliseconds from epoch (about ±275,760 years). In practice, any reasonable date in history or the near future will work fine.