Free Online Unix Timestamp Converter, Epoch to Date, Seconds & Milliseconds
Turn a Unix timestamp into a readable date, or a date into a timestamp. Seconds and milliseconds are both recognised automatically, and the result is shown in your own time zone and in UTC together. There is a live clock too, for when you need the current epoch value.
Every conversion runs in your browser. Nothing you paste is sent anywhere.
⏱️ Which way?
The same moment, written every way
| Format | Value | Where you meet it |
|---|
| When | What was worked out | Actions |
|---|
How dates are shown
The format only changes what you read. Every date you type into a date box is handled as year, month and day, so 02/09 can never be mistaken for the second of September in one place and the ninth of February in another.
Display
Full screen hides the page around the tool. Press Escape, or the button in the bar, to come back.
History
Your data
Settings, history and saved setups live in this browser and nowhere else. There is no account and no server, which also means clearing them here is final.
Enjoying WizTools123? Help keep our server infrastructure 100% free and open for everyone.
The Same Number Can Mean 2026 or 1970
It depends entirely on whether it is seconds or milliseconds.
Unix time counts seconds. JavaScript counts milliseconds. Java counts milliseconds. Python counts seconds with a decimal point. Go counts nanoseconds when you ask it to. Databases do all of the above. So the single most common bug with timestamps is a factor of a thousand, and it does not look like a bug: it looks like a date in 1970, or a date fifty thousand years from now, and either way somebody assumes the data is corrupt.
| Digits | Almost certainly | Example, and what it comes out as |
|---|---|---|
| 10 | seconds | 1788307200 is 2 September 2026 |
| 13 | milliseconds | 1788307200000 is the same moment |
| 16 | microseconds | common in Postgres and in Chrome traces |
| 19 | nanoseconds | Go, and most tracing systems |
| 9 or fewer | seconds, but old | anything before September 2001 |
How to Use the Unix and Epoch Timestamp Converter
Four steps, and the second one is the one that catches people.
What to Know Before You Start
Including the things this tool cannot do.
Key Features & Capabilities
What this tool does, and what it deliberately does not.
About the Unix and Epoch Timestamp Converter
A Unix timestamp is a count of seconds from midnight UTC on the first of January 1970. That is the whole definition, and it is why timestamps are so useful: they carry no zone, no format and no ambiguity, so the same number means the same moment on every machine in the world. What they do carry is a unit, and that is where almost every problem starts.
Unix time counts seconds. JavaScript and Java count milliseconds. Go counts nanoseconds. Postgres counts microseconds. Python gives you seconds with a fraction on the end. When a number moves between two of those systems without its unit, the result is out by a factor of a thousand, and it does not look like an error. It looks like a date in January 1970, or a date fifty thousand years in the future, and the usual reaction is to assume the data is corrupt rather than the reading. This page guesses the unit from the length of the number, which is right nearly all of the time, and then it tells you what it guessed and what the other reading would have been.
One detail worth knowing: the conversion is done by moving the decimal point through the text of the number rather than by dividing it. That sounds pedantic until you paste in a nineteen digit nanosecond timestamp, at which point an ordinary JavaScript number has already lost the last few digits, silently and without an error. Doing it as text keeps every digit, which matters when you are trying to line two log entries up to the microsecond.
Frequently Asked Questions
Everything worth knowing before you trust the answer.
Every Other Date & Time Tool
18 more tools in this set. All free, all in your browser.