Developer tools TOOL
Timestamp converter
Convert between Unix timestamps in seconds or milliseconds and dates.
Enter your text
On-device processingTimestamp converter · How to use
Convert between Unix timestamps in seconds or milliseconds and dates.
Example
1767225600 seconds → 2026-01-01T00:00:00.000Z
Things to know
Distinguish seconds from milliseconds. Include a time zone such as +09:00 or Z in date input.
Output options
Your files and results are never sent to a server. Everything is processed in this browser.
How to convert between Unix timestamps and dates
Find out when a numeric time stored in a database, API response, or log actually happened. The result shows the UTC time next to the date in your device's time zone, which helps you avoid offset mistakes.
When to use this tool
- Read numeric times from logs or databases as dates
- Create an expiry timestamp for an API request
- Check when a JWT's exp or iat value falls
- Convert 13-digit JavaScript millisecond values
Step-by-step instructions
- Enter a timestamp or a date such as 2026-01-01T09:00:00+09:00.
- Under Operation, choose Timestamp → date or Date → timestamp.
- Set the Timestamp unit to Seconds or Milliseconds.
- Choose Convert. Dates are shown in UTC and in your device's time zone.
Frequently asked questions
What is the difference between 10-digit and 13-digit timestamps?
For present-day dates, Unix time has 10 digits in seconds and 13 digits in milliseconds. Choosing the wrong unit lands you in January 1970 or tens of thousands of years in the future, so match the unit to the digit count. For example, 1767225600 seconds is 2026-01-01T00:00:00.000Z.
Why does my date input show a format error?
Put a T between the date and time and end with a time zone such as Z or +09:00. Dates without a zone are rejected because the moment would be ambiguous, and impossible dates such as February 30 are rejected too. Seconds and up to three fractional digits are optional.
Can I convert dates before 1970 or decimal values?
Enter dates before 1970 as negative timestamps, such as -86400. Decimal values are not accepted, so enter 1.5 seconds as 1500 milliseconds instead. When converting a date to seconds, any fraction of a second is dropped.