Unix Timestamp ⇔ Date & Time
Convert between Unix time (seconds or milliseconds) and dates in either direction. Results are shown in both local time and UTC.
What is a Unix timestamp?
A Unix timestamp (epoch seconds) represents a moment as the number of seconds elapsed since 00:00:00 UTC on January 1, 1970. It is widely used in programs, databases, and API logs. It is sometimes expressed in milliseconds (thousandths of a second), as in JavaScript's default.
How to use
- ① Enter a number to see the date in local time, UTC, and ISO 8601. Milliseconds are detected automatically from the digit count, and you can also set it manually with the “Seconds / Milliseconds” toggle.
- ② Enter a date (such as
2026-08-24 15:00or ISO 8601) to see the corresponding Unix seconds and milliseconds. - Get current time: fills both fields with the timestamp for right now.
The date you enter is interpreted in your browser's time zone (local time). If you include a Z or an offset in ISO 8601 format, that is honored instead.
FAQ
Does it support both seconds and milliseconds?
Yes. It detects the unit from the digit count, and you can also switch between “Seconds / Milliseconds” manually.
Can I see both UTC and local time?
Yes. It shows local time, UTC, ISO 8601, and relative time together.
Can I get the current time as a timestamp?
The “Get current time” button fills in the current value. The toolbar also shows the current Unix seconds at all times.
Is it free to use?
Yes — free, no sign-up, and all processing happens in your browser.
