Skip to content
Test versionSearch

Developer tools

UTC Unix timestamp converter

Convert a Unix timestamp in seconds or milliseconds to a UTC date and time, or a UTC instant back to a timestamp, keeping milliseconds.

How it worksFAQRelated tools

Content reviewed:

The example values can be changed. Press Calculate to update the result; you can download it as TXT or CSV and collect scenarios in this tab. Nothing is saved or sent automatically. The additional UTC text uses English weekday/month names and omits milliseconds. It is output only; UTC input syntax remains explicit.

UTC and explicit date ordering; bounded leading-whitespace or host-only conversion. Deliberate downloads, no automatic saving or sending.

Decimal results are approximate. Inputs stay in this browser tab.

How it works

UTC instants, explicit Gregorian date ordering, declared leading tab stops and native URL host normalization. UTC and explicit date ordering; bounded leading-whitespace or host-only conversion. Deliberate downloads, no automatic saving or sending.

Worked example

With these example values the calculator gives the result below. You can change any value in the form above.

Inputs

Direction
Timestamp to UTC
Timestamp unit
Seconds
Integer timestamp
0

Result

UTC instant
1970-01-01T00:00:00.000Z
Unix milliseconds
0
Unix seconds, rounded down
0
Millisecond remainder (0–999)
0
UTC text (English names, no milliseconds)
Thu, 01 Jan 1970 00:00:00 GMT

Frequently asked questions

How do I convert a Unix timestamp to a date?

Choose Timestamp to UTC, select seconds or milliseconds as the unit and enter an integer timestamp. The converter returns the UTC instant.

How do I convert a date to a Unix timestamp?

Choose UTC to timestamp and enter the instant as YYYY-MM-DDTHH:mm:ss[.SSS]Z. The converter returns the timestamp in the unit you selected.

Does the converter support milliseconds?

Yes. You declare the input unit as seconds or milliseconds, and milliseconds are retained.

Which time zone does the converter use?

It works in UTC only, and the UTC input syntax must be explicit, ending in Z.

What does the UTC text output look like?

The additional UTC text uses English weekday and month names and omits milliseconds. It is output only.

What example does the tool start with?

The worked example uses direction to-utc, unit seconds and timestamp 0, with the UTC instant 2026-10-04T12:34:56.789Z.

Can I download the results?

Yes. Deliberate TXT or CSV downloads are available. There is no automatic saving or sending.