Timestamp Converter
Convert a Unix timestamp to a human-readable date and back. Automatically detects seconds and milliseconds.
About: Timestamp Converter
This timestamp converter turns a Unix timestamp into a readable date, and a date back into a timestamp. It tells seconds and milliseconds apart on its own, then shows the value in seconds, milliseconds, ISO 8601, UTC, your local time zone and relative time. Use it to read dates in logs, check a created_at column in your database, or see when a token expires. The Now button fills in the current timestamp.
Features
- Automatically detects seconds or milliseconds based on the size of the number you enter.
- Works in reverse: type a date such as
2025-01-15T10:30:00to get its timestamp. - Six output formats: seconds, milliseconds, ISO 8601, UTC, local time and relative time (3 days ago, in 2 hours…).
- A Now button to insert the current timestamp, and one-click copy for each format.
How to use it
- Enter a Unix timestamp or a date in the field, or click Now.
- Read the conversion in the formats listed below.
- Copy the format you need with the button on its row.
Questions about usage
A current timestamp has 10 digits in seconds and 13 digits in milliseconds. The tool decides for you: values above one trillion are read as milliseconds, anything smaller as seconds. Both versions are shown in the result.
ISO 8601 is the most reliable, for example 2025-01-15 or 2025-01-15T10:30:00Z. Dates are parsed by your browser's JavaScript engine, which also accepts other common English formats, though their interpretation can vary between browsers.
The result shows UTC time, ISO 8601 (always in UTC) and local time, which uses your device's time zone. A date entered without a time zone, such as 2025-01-15T10:30:00, is interpreted in your local time.