Unix Timestamp Converter
Epoch to date and back, with the unit detected for you
—Timestamp to date
Enter something above to see the result.
Date to timestamp
Enter something above to see the result.
Everything runs in your browser. Your data never leaves your device.
Related tools
How to use
A Unix timestamp counts elapsed time from 1 January 1970 UTC. The recurring trap is units: some systems count seconds and others milliseconds, and the same number means two wildly different moments depending on which.
Read the live clock
The current Unix time is shown at the top and updates every second. Copy it directly, or load it into the input to work relative to now.
Convert a timestamp to a date
Paste the number. The tool detects seconds or milliseconds by magnitude and states which it used, so an unexpected result is explainable rather than mysterious.
Convert a date to a timestamp
Pick a date and time to get both the seconds and milliseconds values. Input is interpreted in your local time zone, matching how a date picker behaves.
Choose the right output format
UTC is unambiguous and best for logs and APIs. ISO 8601 is the standard machine-readable form. Local time is what a user in your time zone would actually see.
Examples
Reading a log timestamp
The value 1753000000 resolves to 20 July 2025, 08:26:40 UTC. Ten digits means seconds — the same number read as milliseconds would land in January 1970.
Spotting a unit mistake
A JavaScript Date.now() value is 13 digits because it counts milliseconds. Passing it to a system expecting seconds produces a date roughly 50,000 years in the future, which is a common integration bug.
About this tool
Convert Unix timestamps to readable dates in UTC, ISO 8601 and your local time, or turn a date into a timestamp in seconds and milliseconds. The tool detects whether your input is in seconds or milliseconds and tells you which it assumed, since guessing wrong lands the result in 1970 or the far future.