Unix Timestamp Converter
Convert epoch values in seconds or milliseconds to readable UTC/local dates, or turn a date into Unix time without sending data anywhere.
Convert Unix timestamps and dates
Convert epoch values in seconds or milliseconds to readable UTC/local dates, or turn a date into Unix time without sending data anywhere.
How this Unix timestamp converter works
A Unix timestamp represents elapsed time from the Unix epoch. This converter accepts common epoch values and automatically distinguishes seconds from millisecond-sized values. It also normalizes very large microsecond and nanosecond inputs before creating a browser date object. The reverse conversion takes a local date-time input and returns both Unix seconds and milliseconds.
Use UTC and local time correctly
The epoch number itself has no time-zone label. The UTC result is the same instant everywhere, while the local result is formatted using the time zone configured in your browser or operating system. That distinction is useful when debugging API payloads, logs, database records, scheduled jobs and analytics events.
Precision and practical limits
JavaScript dates are stored with millisecond precision, so microsecond and nanosecond input is reduced to milliseconds for display. Extremely distant dates can exceed the browser date range. For production systems, also confirm whether an upstream service expects seconds, milliseconds or another unit before copying a value.
Common developer workflow
Paste an epoch value from a log or API response to inspect the corresponding ISO 8601 time. When preparing a request in the other direction, choose a local date, then copy the seconds or milliseconds value required by the target system.