Unix Timestamp Converter
Convert seconds, milliseconds or an ISO timestamp to UTC and both Unix timestamp units.
Identify the time unit first, then preserve the offset on input
The same number can describe two different dates
Unix time describes an instant measured from 1970-01-01 at midnight UTC. The numeric unit belongs to the API or file. An older date or a negative value is a reason to check the specification rather than guessing from digit count.
For example, 1,000 seconds resolves to 1970-01-01T00:16:40.000Z, and 1,000 milliseconds resolves to 1970-01-01T00:00:01.000Z. Zero is the epoch. Entering −1 as seconds (typed with an ordinary hyphen) resolves to 1969-12-31T23:59:59.000Z.
The repeated hour on a clock can name two instants
The wall-clock time 01:30 during the autumn clock change can repeat. On November 2, 2025, the timestamp 2025-11-02T01:30:00-04:00 resolves to 05:30 UTC. At the -05:00 offset it resolves to 06:30 UTC. RFC 3339’s local offset guidance explains why the offset is needed to recover the instant.
ISO input requires a complete four-digit-year date, clock time and a numeric offset or Z. The tool does not infer an offset from a city or time-zone abbreviation. Its timestamp range is ±8.64 quadrillion milliseconds and output has millisecond precision, following the ECMAScript Date specification. The ISO input also rejects leap-second notation.
Editorial review
Calculation method
Choose the unit documented by the source. A 10- versus 13-digit value can be a clue for modern dates, but it does not establish the unit. ISO inputs require Z or an explicit numeric offset. The tool returns normalized UTC and both numeric units.
UTC time = Unix epoch plus the given number of milliseconds. Seconds × 1,000 = milliseconds.Assumptions and limits
The tool uses millisecond precision and the JavaScript UTC date range. It does not interpret a zone-less local date, a named time zone or leap seconds.