Unix Timestamp Converter
Converts epoch and ISO timestamps into readable dates, in bulk, with the timezone spelled out.
Loading the tool…
How to use this tool
- Paste your timestamps, one per line. Epoch numbers and ISO strings can be mixed freely.
- Pick the timezone you want the readable column shown in.
- Leave the unit on automatic unless your numbers are unusual — the size of the number normally settles it.
- Select Convert, and check the ISO column against the relative column to be sure the unit was read as you expected.
What timestamp converter does
A timestamp in a log is a number, and the number alone does not tell you whether it is seconds or milliseconds. This page decides from the magnitude — anything past about the year 5138 in seconds is really milliseconds, and past that again is microseconds — and says which reading it used, so a value pasted from Postgres, from Java and from a shell script all land on the right minute rather than three centuries apart.
Paste a whole column and every line is converted at once, into ISO 8601 in UTC, into the zone you pick, back into epoch seconds and milliseconds, and into plain relative English. The relative column is the one that answers the question people usually have, which is not what time it was but how long ago that was.