Enter a timestamp or date
Paste epoch seconds/ms, or type an ISO date to convert the other way.
Convert Unix epoch seconds or ms to UTC and local dates, and dates back to timestamps. Free online tool — no sign-up. Runs locally in your browser.
Loading tool…
Follow these steps for a clear answer.
Paste epoch seconds/ms, or type an ISO date to convert the other way.
Read UTC ISO, local time, and both second and millisecond epochs.
Use Copy on the fields you need for APIs, logs, or JWT claims.
Version 1.0.0 · Last reviewed 2026-07-29
ms = s × 1000; Date = new Date(ms); s = floor(ms / 1000)Convert Unix timestamps (epoch seconds or milliseconds) to readable dates, and convert dates back to epoch values. Useful for APIs, logs, JWT exp/iat, and database fields.
| Epoch | Unit | UTC |
|---|---|---|
0 |
seconds | 1970-01-01T00:00:00.000Z |
1700000000 |
seconds | 2023-11-14T22:13:20.000Z |
1700000000000 |
milliseconds | same instant as above |
date +%s, many databases, JWT claims.Date.now(), many JSON APIs.If the absolute value is below 1e12, this tool treats the input as seconds unless you force milliseconds.
Key distinctions behind the tool.
Classic Unix time is seconds since 1970-01-01 UTC. Many APIs use milliseconds. This tool auto-detects: values with absolute magnitude under 1e12 are treated as seconds.
UTC is always shown as ISO-8601. Local time uses your browser timezone.
No. Conversion runs entirely in your browser.