Developer Tools
Unix Timestamp Converter
Convert between epoch time and readable dates in both directions.
Timestamp → date
seconds, ms or µsDate → timestamp
About Timestamp Converter
Unix time counts seconds since 1970-01-01T00:00:00Z and ignores leap seconds entirely. It is compact and unambiguous, but reading 1735689600 in a log line tells you nothing about when it happened. Converting in both directions is a daily task when debugging logs, caches and token lifetimes.
This converter auto-detects whether a numeric input is in seconds, milliseconds or microseconds, which removes the most common source of off-by-a-thousand errors. It also shows the human-readable delta from now, which is usually the question you actually care about.
How it works
- Numeric input is classified by magnitude into seconds, milliseconds or microseconds.
- The value is rendered as UTC, as local time and as an ISO 8601 string.
- A date input accepts ISO strings, plain dates and the datetime-local format.
- The reverse conversion returns epoch seconds, milliseconds and microseconds together.
- A live clock shows the current epoch value so you can compare timestamps against now.
Input and output
Accepts
A Unix timestamp in seconds, milliseconds or microseconds, or a calendar date and time.
Produces
UTC, local and ISO 8601 representations, plus relative time and the reverse conversion.
Privacy
All date arithmetic uses the browser Date API. Nothing is sent to a server.
Timestamp Converter FAQ
Is Unix time in seconds or milliseconds?
Classic Unix time is seconds. Many languages and databases use milliseconds, and JavaScript Date works in milliseconds, so always check the magnitude before trusting a value.
What is the year 2038 problem?
Systems storing Unix time in a signed 32-bit integer overflow on 2038-01-19T03:14:07Z. Use 64-bit integers or a date type for anything long-lived.
Does Unix time include leap seconds?
No. Unix time is a simple count that ignores leap seconds, so it drifts slightly from astronomical time. This is intentional and rarely matters in practice.
How are timestamps before 1970 handled?
They are negative. The converter accepts negative values and renders dates before the epoch correctly.