Unix Timestamp Converter
Convert Unix time ↔ human dates. Seconds and milliseconds auto-detected.
0 B uploaded — nothing you enter has been sent anywhere?
Other tools send what you type to a server and process it there. Even when they promise to erase it afterwards, your text sits on someone else’s machine in the meantime. Here there is no sending step at all. The more sensitive the content — passwords, contract wording, private notes — the more that difference matters. See how to verify it →
Turn the number in a log line into a real date and time, and back
Server logs, databases and token expiry fields often store time as a number like 1724822400. This tool turns that number into your local time and a UTC date, and turns a date you pick into a timestamp in seconds and milliseconds. It tells seconds from milliseconds by the number of digits.
A closer look
A Unix timestamp counts the seconds since midnight UTC on January 1, 1970. The same moment has the same number everywhere on Earth, which is why servers use it to exchange times and why it is easy to subtract one event from another. The catch is that some systems count in seconds (Linux, the exp field in a JWT) and others in milliseconds (JavaScript’s Date.now(), Java), so it is easy to misread the digits. The so-called year 2038 problem lives here too: at 2147483647 seconds, 03:14:07 UTC on January 19, 2038, a signed 32-bit counter runs out.
The converter accepts digits only. Up to 12 digits are read as seconds and 13 or more as milliseconds, and the result ends with “(read as seconds)” or “(read as milliseconds)” so you can see which rule applied. Each result shows your device’s local time in US month/day/year order, marked “local”, followed by the ISO 8601 UTC form ending in Z. The reverse direction uses a date-and-time picker that goes down to seconds; the time you pick is interpreted in your device’s time zone, and both the seconds and milliseconds values are shown.
How to use it
- The Current timestamp box at the top updates every second. The Copy button next to it copies only the 10-digit seconds value, not the date in parentheses.
- Paste a number into Timestamp → Date and press Convert to see the local date and the UTC form.
- Under Date → Timestamp, pick a date and time and press Convert; the result lists the value in “(seconds)” and in “(milliseconds)”.
- To double-check, paste the seconds value back into the top converter. If it shows the time you picked, the conversion is right.
When it helps
Common snags
Tip When you need milliseconds, take the “(milliseconds)” value from Date → Timestamp instead of adding zeros to the copied current timestamp by hand; it avoids digit-count slips.
Notes
How are seconds and milliseconds told apart?
10-digit numbers are read as seconds, 13 digits or more as milliseconds — automatically.