/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.
DiscoverFind timestamps in JSON or logsOpen
Date to epochResolve an IANA wall clockOpen
/units
Epoch unit reference
| Unit | Typical digits today | Resolution |
|---|---|---|
| Seconds | 10 | 1 second |
| Milliseconds | 13 | 0.001 second |
| Microseconds | 16 | 0.000001 second |
| Nanoseconds | 19 | 0.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.
| Input | Unit | UTC result |
|---|---|---|
1704067200 | Seconds | 2024-01-01T00:00:00.000Z |
1704067200000 | Milliseconds | 2024-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.