/tools/epoch-converter

Unix Epoch Converter

Convert seconds through nanoseconds, inspect dates in any IANA timezone, and find likely timestamps in API responses or logs.

Press Ctrl/Command + Enter from the batch field, or Enter from another field.

Enter epoch values separated by spaces, commas or new lines.
DiscoverFind timestamps in JSON or logsOpen
Candidates are ranked by field-name and magnitude evidence.
Date to epochResolve an IANA wall clockOpen
DST gaps are not shifted. Repeated times require an earlier/later choice.
Ready. Timestamp values stay in this browser.

/units

Epoch unit reference

UnitTypical digits todayResolution
Seconds101 second
Milliseconds130.001 second
Microseconds160.000001 second
Nanoseconds190.000000001 second

Automatic detection is a high-probability magnitude inference. Use the manual unit control when working with historical or unusually distant timestamps.

Convert Unix seconds and milliseconds to UTC

Use an explicit unit when you know how a timestamp was recorded. Convert 1704067200 with Seconds and timezone UTC, then convert 1704067200000 with Milliseconds. Both represent 2024-01-01T00:00:00.000Z.

Two units for the same instant
InputUnitUTC result
1704067200Seconds2024-01-01T00:00:00.000Z
1704067200000Milliseconds2024-01-01T00:00:00.000Z

Convert a batch of timestamps

Paste these two values on separate lines, select Milliseconds and UTC, then choose Convert timestamps:

1704067200000
1704067260000

The UTC results are one minute apart:

2024-01-01T00:00:00.000Z
2024-01-01T00:01:00.000Z

A timezone changes how an instant is displayed, not the instant itself. Auto-detection is a magnitude-based guess; use one known unit per batch when precision matters. If a date looks wrong, check seconds versus milliseconds and the selected timezone before changing the source. Unix epoch zero with explicit seconds remains 1970-01-01T00:00:00.000Z.

/precision

BigInt before Date

The original integer is converted to nanoseconds with BigInt. Browser Date supplies calendar and timezone rules at millisecond resolution; remaining sub-millisecond digits are retained and shown rather than rounded away.

/faq

Epoch questions

What happens during a DST gap?

The wall time is reported as nonexistent. The converter never moves it silently.

Why can one wall time have two epochs?

When clocks move backward, the same local clock reading occurs twice. Choose the earlier or later UTC instant explicitly.

Is pasted JSON uploaded?

No. Timestamp discovery and conversion are local and content is not included in analytics.