Unix Timestamp Converter (Epoch ↔ Date)
Convert Unix timestamps to human-readable dates and back. Live current epoch time, seconds and milliseconds support, local and UTC output.
Timestamp → date
Date → timestamp
Epoch time, explained
Unix time counts the seconds elapsed since 1 January 1970 00:00:00 UTC — a single number that's timezone-free and trivially comparable, which is why databases, logs and APIs love it. The converter auto-detects whether you pasted seconds (10 digits) or milliseconds (13 digits, JavaScript's native unit) and shows the result in your local timezone, UTC/ISO 8601, and as relative time.
Frequently asked questions
Why do some timestamps have 13 digits?
Those are milliseconds — JavaScript's Date.now() and many APIs use them. Divide by 1000 for classic Unix seconds; this tool detects the difference automatically.
What's the year-2038 problem?
Signed 32-bit counters overflow on 19 January 2038. Modern 64-bit systems are unaffected, but old embedded systems storing time in 32 bits will wrap around.