Convert Unix timestamps to human-readable dates and back. Live clock display, auto-detection of seconds vs milliseconds, relative time, timezone support, and more -- all client-side in your browser.
Click any example to load it into the converter above.
Enter any Unix timestamp and instantly see the corresponding date in local time, UTC, and ISO 8601 format. The converter auto-detects whether your input is in seconds or milliseconds.
See the current Unix timestamp updating in real time. Toggle between seconds and milliseconds precision. Click the timestamp to copy it instantly to your clipboard.
Convert timestamps to dates or dates to timestamps. Use the date and time pickers for precise input, or use the quick-add buttons to offset by hours, days, weeks, or months.
Results show both your local timezone and UTC. Your detected timezone is displayed so you always know which time context you are working in.
A Unix timestamp (also known as Epoch time or POSIX time) is a system for tracking time as a running total of seconds that have elapsed since the Unix Epoch -- January 1, 1970, at 00:00:00 UTC. This standard is widely used in programming, databases, APIs, and system logs because it provides a simple, timezone-independent way to represent a point in time as a single number.
Unix timestamps offer several advantages over human-readable date formats. They are timezone-agnostic, making them ideal for distributed systems and international applications. They are compact -- a single integer instead of a formatted string. They are easy to compare and sort, since a larger number always means a later time. And they avoid the ambiguity of date string formats like MM/DD/YYYY vs DD/MM/YYYY.
The original Unix timestamp is measured in seconds. However, many modern systems (including JavaScript's Date.getTime(), Java's System.currentTimeMillis(), and many APIs) use milliseconds for greater precision. Our converter auto-detects whether your input is in seconds or milliseconds by checking the magnitude of the number. Timestamps above approximately 32.5 billion are treated as milliseconds.
Systems that store Unix timestamps as 32-bit signed integers will overflow on January 19, 2038, at 03:14:07 UTC, when the timestamp reaches 2,147,483,647 (the maximum value for a 32-bit signed integer). After this point, the timestamp wraps to a negative number, potentially causing dates to jump back to 1901. Most modern 64-bit systems are unaffected, but legacy systems and embedded devices may require updates.
"created_at": 1710000000) need conversion for debugging and verification.iat, exp, and nbf claims.Date.now() and Java's System.currentTimeMillis() return milliseconds, while Python's time.time() and most Unix shell commands return seconds.
Math.floor(Date.now() / 1000) for seconds or Date.now() for milliseconds. In Python, use import time; int(time.time()). In Java, use System.currentTimeMillis() / 1000. In PHP, use time(). In Go, use time.Now().Unix(). In Bash, use date +%s. In Ruby, use Time.now.to_i. In C#, use DateTimeOffset.UtcNow.ToUnixTimeSeconds().
Check out our other free developer tools. Decode JWTs, parse cron expressions, format JSON, and more -- all from your browser with no sign-up required.
JWT Decoder →