Timestamp input
Convert a Unix timestamp into UTC, local, ISO, seconds, and milliseconds values.
UTC date to timestamp
Enter a UTC date and time to convert it back into Unix epoch values.
Unix Timestamp Converter
Convert Unix timestamps in seconds, milliseconds, or microseconds to readable UTC and local dates, then convert UTC date inputs back to epoch values.
How this Unix timestamp converter works
A Unix timestamp counts time from the Unix epoch: 1970-01-01 00:00:00 UTC. Enter a timestamp and the converter shows the UTC date, your local date, an ISO string, Unix seconds, and Unix milliseconds.
Auto-detect mode treats short 10-digit values as seconds and common 13-digit values as milliseconds. You can also choose seconds, milliseconds, or microseconds directly when a log or API tells you which unit it uses.
Seconds, milliseconds, and JavaScript dates
Unix timestamps are commonly stored in seconds, while JavaScript Date values use milliseconds. That difference matters: 0 seconds is 1970-01-01 00:00:00 UTC, and 1000 milliseconds is one second after the epoch.
Current Unix seconds often appear as 10 digits. Current Unix milliseconds often appear as 13 digits. If a date looks thousands of years away, the unit is usually the first thing to check.
When to use it
This converter is useful for developers, logs, APIs, databases, debugging, analytics exports, event records, and any system that stores dates as epoch values instead of readable calendar text.
Use the live epoch Unix time clock when you need the current timestamp, the milliseconds converter for unit math, or the UTC clock when you just need current Coordinated Universal Time.
UTC and local time notes
Unix timestamps represent an instant in time. The UTC display shows that instant against the shared UTC reference, while the local display uses your browser and device timezone settings. For planning across locations, use the time zone converter.
This page uses browser Date behavior. It does not sync to an external time authority, and unusual historical timezone rules can depend on the timezone data available to your device.
Accuracy and limitations
Seconds, milliseconds, and microseconds are distinct units. In Auto mode this converter detects the unit from the number of digits; choose a unit directly when the source system documents one.
Results depend on the value entered. The current-time example is seeded from the device's system clock, and the converter checks whether a value can be converted by the browser, not whether an arbitrary timestamp has real-world meaning for a particular event.
Maintained by Suhas Sunder. See how iLoveTimers is made.
Last reviewed .
Unix timestamp converter FAQ
Is a Unix timestamp in seconds or milliseconds?
Both are common. Unix timestamps are often seconds, while JavaScript Date values are milliseconds. The converter shows both so you can copy the value your system expects.
Why does the local time differ from UTC?
UTC is the shared reference time. Local time applies your current timezone offset and daylight saving rules to the same timestamp.
Can I use this for time math?
Use this page to convert timestamps. For adding or subtracting durations, the time calculator is usually a better fit.