Unix Timestamp Converter
Convert Unix timestamps to readable dates and back, in seconds or milliseconds, with the gap from now in plain words.
What it does
Unix Timestamp Converter reads the whole document before doing anything, so what comes back is either valid output or a specific error with the position that caused it — not a partially rewritten file.
When you need it
Usually when something has already gone wrong: a config file an application will not load, an API response that has to be read by a human, or an export that has to be checked before it goes anywhere near a database.
Limits and caveats
Key order is preserved as it appears in the input. Very large documents are limited by your device's memory rather than by an upload cap, since the parsing happens locally. Everything happens in your browser, so the file never leaves your device.
How to use the Unix Timestamp Converter
- Paste one timestamp or several, separated by spaces.
- Seconds and milliseconds are told apart automatically.
- A date string works too — you get the epoch numbers back.
Frequently asked questions
- How does it tell seconds from milliseconds?
- By magnitude: anything past 1e11 is milliseconds, which is right until the year 2286. Set it manually if you're working with dates outside the normal range.
- Why is the local time different from my server's?
- The local line uses your computer's timezone. The UTC line is the one to compare against a server, which is usually running UTC.
- Do my files get uploaded?
- No. This tool runs entirely in your browser, so the file never leaves your device.