Decode JWT claims, see expiry, verify HMAC and public key signatures
Unix Timestamp Converter
Read a timestamp from a log or a database in your own time zone, or turn a date into the epoch number your code needs.
Loading tool…
How to use unix timestamp converter
Paste a timestamp or a date, or press Use now.
Leave the unit on Detect, or set seconds, milliseconds, microseconds or nanoseconds.
For dates without an offset, choose the time zone they are in.
Copy any result, and add the time zones you work with.
What this tool does
- Detects seconds, ms, µs and ns from the number of digits and keeps full nanosecond precision.
- Reads ISO 8601 with Z or offsets, dates without a zone in any IANA zone, and RFC 2822 dates.
- Shows UTC, your zone, RFC 2822, relative time, weekday, ISO week and day of year.
- Warns when a local time is skipped or repeated by a daylight saving change.
How the result is verified
The ISO 8601 and Unix seconds results are parsed again and must land on exactly the same nanosecond as your input before the check turns green.
Frequently asked questions
How do I know if a timestamp is in seconds or milliseconds?
Count the digits. Dates between 2001 and 2286 have 10 digits in seconds and 13 in milliseconds; 16 digits means microseconds and 19 nanoseconds. Detect uses exactly this rule, and you can override it.
What happens in 2038?
Systems that store Unix seconds in a signed 32-bit integer overflow on 19 January 2038 at 03:14:07 UTC (2147483647). 64-bit timestamps, used by this tool and most modern systems, are fine for billions of years.
Is my data uploaded to a server?
No. Everything you drop, paste or type is processed by code running in this browser tab. You can check it yourself: open your browser's developer tools, watch the Network panel, and use the tool. No request carries your data.
Related tools
Bulk UUID v4 and v7 with formats, plus a UUID inspector
MD5, SHA-1, SHA-256, SHA-384, SHA-512 and HMAC for text or files
Short random IDs with custom alphabet, length, prefix and collision odds