Dates & time

Unix Timestamp Converter

Convert Unix timestamps to UTC ISO dates or convert a UTC date and time to a timestamp. Choose seconds or milliseconds explicitly instead of guessing from the number’s length.

  • Explicit formulas and worked examples
  • Check your inputs, then calculate
  • Data is calculated in this browser only

Check the stated input format, calculation convention and limits before using the result.

Your inputs

Local calculation

Check the example inputs, then calculate. Your values stay in this browser.

Negative timestamps represent times before the Unix epoch.

Calculation notes

Understand the Unix Timestamp Converter

Choose the right record before calculating

Select seconds or milliseconds explicitly. A Unix timestamp counts from the UTC epoch; its unit is not inferred from digit length. Negative values refer to instants before the epoch. Converted ISO text is UTC, not automatically the viewer’s local time.

Content and calculation reviewed:

Understand the calculation

How to use it and the math behind it

Read the complete explanation

Four steps to check your inputs and results

  1. Convert Unix timestamps to UTC ISO dates or convert a UTC date and time to a timestamp. Choose seconds or milliseconds explicitly instead of guessing from the number’s length.
  2. Enter Direction, Unix timestamp, Timestamp unit, UTC date, UTC time in the stated format. Baseline values are for reproduction.
  3. Check the output unit and convention: Read utc date and time with its stated unit and convention. The default example and the independent worked scenario use different inputs, so compare the assumptions before comparing the numbers.
  4. Change one input and compare the result. Negative timestamps represent times before the Unix epoch. No leap-second representation or local-time-zone conversion is included. Calendar-date inputs and calculated calendar dates must stay within years 0001–9999.

Unix Timestamp Converter: calendar conventions

A Unix timestamp measures seconds or milliseconds from the UTC epoch. A value of 1000 in millisecond mode is 1970-01-01T00:00:01.000Z, while 1000 in second mode is 16 minutes 40 seconds after the epoch. The suffix Z denotes UTC. Negative values precede the epoch; local clock formatting is a separate operation.

timestamp seconds = UTC milliseconds since 1970-01-01T00:00:00Z / 1000

The detailed guide adds variable definitions, a reproducible example, a practice question and model limitations.

Questions before you calculate

Does the tool guess seconds from digit count?

No. Select the unit explicitly.

What does timestamp zero mean?

1970-01-01T00:00:00Z.

Can timestamps be negative?

Yes within the supported range; they precede the epoch.

Is the ISO result local time?

It is UTC with a Z designation.

Does Unix time represent leap seconds directly?

Not as ordinary extra calendar-second labels in this model.

Take the calculator with you

Embed this calculator

Formula sheet (English PDF)

Use the iframe for a fixed-height embed, or the JavaScript helper for automatic height. Calculations stay inside the frame; inputs and results are never sent to your site.

The optional Toolify source link uses nofollow. The calculator keeps working if you remove the link. No analytics or advertising scripts load in the widget. Use offline tools

From question to result

Continue with a related question

Explore all Dates & time tools and guides