Client-side only · Time tool

Unix Timestamp Converter

See the current Unix timestamp and convert seconds or milliseconds into Beijing, UTC, and ISO date formats.

Calculated in your browser

Move quickly between time formats

Current Unix timestamp

Refreshes every second and can be paused.

Reading local time...

Timestamp to date

Seconds or milliseconds are detected automatically

Beijing time

Click convert to see a result.

UTC time

Click convert to see a result.

ISO time

Click convert to see a result.

Date to timestamp

Accepts ISO dates and date-time text

Unix seconds

Click convert to see a result.

How to use

  1. 1Watch the current Unix timestamp at the top, and pause the refresh when needed.
  2. 2Enter seconds or milliseconds and convert it to three date formats.
  3. 3Enter a date-time string to convert it back to Unix seconds.

Security note

Conversion uses the browser's local Date and Intl APIs without network requests. Input is not uploaded, logged to a server, or written to the URL.

Frequently asked questions

How are seconds and milliseconds detected?

The tool detects common 10-digit Unix seconds and 13-digit Unix milliseconds from the value range, then shows the detected unit below the results.

Why are Beijing time and UTC eight hours apart?

Beijing time uses the Asia/Shanghai time zone and is usually eight hours ahead of UTC. Both labels represent the same instant.

What happens when a date has no time zone?

Input without an explicit time zone uses the time zone selected in the date panel, which defaults to Beijing time. For cross-region consistency, you can also use an ISO date with Z or an offset.