Timestamp Converter

Convert between Unix timestamp and date-time online with auto-detection of seconds and milliseconds. See the live current timestamp plus local, UTC and ISO 8601 formats — all computed locally.

Current Unix timestamp (seconds)0
Current Unix timestamp (milliseconds)0
Timestamp → Date & Time

Today's timestamps are usually 10 digits (seconds) or 13 digits (milliseconds). Auto-detection is on by default, or choose a unit manually.

Local time
UTC time
ISO 8601
Weekday
Date & Time → Timestamp

The date-time you enter is interpreted in your device's local timezone; leave it empty to keep the placeholder state.

Unix timestamp (seconds)
Unix timestamp (milliseconds)

How to use

  1. The top of the widget shows the current Unix timestamp — both seconds and milliseconds refresh every second.
  2. Enter a 10-digit (seconds) or 13-digit (milliseconds) timestamp under "Timestamp → Date & Time" to see its local time, UTC time, ISO 8601 value and weekday instantly.
  3. If the unit is unusual, keep "Auto" or pick "Seconds"/"Milliseconds" manually; the one-click "Use now" buttons insert the current time for you.
  4. Under "Date & Time → Timestamp", pick or type a local date-time with the picker and the matching second and millisecond timestamps appear in real time.
  5. When you need a timestamp for your code or an API, just select the value and copy it.

FAQ

How do I tell seconds and milliseconds apart?
Current time is 10 digits in seconds and 13 digits in milliseconds. "Auto" treats values below 10^12 as seconds and values at or above it as milliseconds; when in doubt, choose the unit explicitly.
Which timezone is used for the conversion?
Under "Timestamp → Date & Time", the local time is shown in your device's timezone, with the UTC row as a reference. "Date & Time → Timestamp" interprets the date-time you enter in your device's local timezone too.
Are negative timestamps before 1970 supported?
Yes. Negative timestamps represent moments before 1970-01-01 — for example -86400 is 1969-12-31 (UTC).
Is there a limit to the timestamp range?
Based on JavaScript's date representation, the range is about ±8.64×10^15 milliseconds (roughly ±270,000 years). Out-of-range values are reported as invalid dates.

Related Tools