Unix Timestamp Converter
Convert Unix epoch time to a readable date and back, in local time or UTC. Accepts both seconds and milliseconds.
How to use it
- Paste a timestamp in either box — seconds and milliseconds are both detected automatically.
- Switch to UTC when you are debugging server logs; leave it off for local reasoning.
- The live clock at the top is the current epoch time, copyable in one click.
Unix time (epoch time) counts seconds elapsed since 1 January 1970, 00:00:00 UTC — a single number with no timezone attached, which is exactly why almost every system stores timestamps this way internally rather than as a formatted date string. This converts between that number and a readable date, in either local time or UTC, in both directions.
Seconds vs milliseconds
Unix time is officially defined in seconds, but JavaScript's Date.now() and many web APIs return milliseconds instead, so both formats show up constantly in practice. A quick way to tell them apart: a 10-digit number (like 1755878400) is seconds and corresponds to a date in the 2020s; a 13-digit number (like 1755878400000) is milliseconds representing the same moment. This tool detects which one it's looking at automatically rather than requiring the format to be specified.
Local time vs UTC
Converting a timestamp to local time shows the date and time as they'd appear in the browser's own timezone — useful for everyday reasoning about when something happened relative to you. Switching to UTC shows the timezone-neutral version, which is what matters when debugging server logs, comparing timestamps across systems in different regions, or coordinating with anyone in a different timezone where 'local' would be ambiguous.
Questions people ask
What is Unix time?
The number of seconds elapsed since 1 January 1970 at 00:00:00 UTC, ignoring leap seconds. It is timezone-free, which is exactly why systems store it.
Seconds or milliseconds?
Unix time is defined in seconds, but JavaScript's Date.now() returns milliseconds. A 10-digit number is almost certainly seconds; 13 digits is milliseconds.
Last updated 17 August 2026