Unix timestamp converter
Turn a Unix timestamp from a log, database or API into a readable date, or a date into a timestamp. Paste a number and the tool detects whether it is in seconds, milliseconds, microseconds or nanoseconds, or paste an ISO 8601 or email-style date. You see the time in UTC and in your own time zone, the Unix value in seconds and milliseconds, how long ago or how far away it is, and the ISO week and day of the year.
Unit
How to use the Unix Timestamp Converter
- 1
Paste a timestamp or date
Enter a number such as 1700000000, or a date such as 2026-11-20T10:30:00Z.
- 2
Check the unit
The unit is detected automatically; choose one yourself if your value is unusual.
- 3
Read the results
See the date in UTC and local time, plus the Unix values and relative time.
- 4
Use Now
Press Now to fill in the current timestamp.
What a Unix timestamp is
Unix time counts the seconds since 1 January 1970 00:00:00 UTC, ignoring leap seconds. Many systems store milliseconds (JavaScript, Java), microseconds (Python, PostgreSQL) or nanoseconds (Go).
The unit is guessed from the size of the number: up to 100 billion is treated as seconds (until the year 5138), then milliseconds, microseconds and nanoseconds. Dates without a time zone are read as your local time.
- 1700000000 s = 2023-11-14T22:13:20Z
- ms = s × 1000
When to use it
- Read timestamps in server logs and database rows.
- Check token expiry times such as JWT exp claims.
- Create a timestamp for a test or API request.
Limits
- Precision is limited to milliseconds in the date display.
- Leap seconds are not counted, matching Unix time.
Privacy
All conversions happen in your browser.
Frequently asked questions
What is epoch time?
Another name for Unix time: the number of seconds since 00:00:00 UTC on 1 January 1970.
How do I know if my timestamp is in seconds or milliseconds?
A current time in seconds has 10 digits; in milliseconds it has 13. The tool detects this automatically.
Why does the date differ from my server log?
Your server may log in UTC. Compare the UTC line with the log, or check the server's time zone.
What is the year 2038 problem?
Systems that store seconds in a signed 32-bit integer overflow on 19 January 2038. Modern systems use 64-bit values.
Can I convert a date to a timestamp?
Yes. Type a date such as 2026-11-20 10:30 or an ISO date with a time zone, and the Unix seconds and milliseconds are shown.
What is the ISO week?
Weeks start on Monday and week 1 contains the year's first Thursday, so the first days of January can belong to the previous year's last week.
Related tools
People also use
- JWT Generator & SignerCreate and sign JSON Web Tokens with HMAC, RSA or ECDSA keys, entirely in your browser.
- Base64 Encoder & DecoderEncode and decode Base64 and Base64url, text or files.
- URL Encoder & DecoderPercent-encode or decode URLs and see their query parameters.
- CSV to JSON ConverterConvert CSV ⇄ JSON with correct quoting, types and nested data.
Last updated November 20, 2026 · How we build and test our tools