Unix Timestamp Converter — epoch ⇄ human date
Convert any Unix timestamp to a readable date — and any date back to epoch — in seconds, milliseconds, microseconds or nanoseconds. Live clock, UTC + local + ISO 8601 + relative time, and a batch mode for whole log files.
Timestamp → date
Detected unit: —
Date → timestamp
Famous timestamps — one click
Batch converter
One timestamp per line (seconds assumed unless a line has 13+ digits). Blank lines are skipped; non-numeric lines are flagged, not dropped silently.
Your session
History and pinned conversions live only in this tab's memory — close or reload and they are gone. Nothing you convert is uploaded or stored.
Conversion history
- No conversions yet — convert a timestamp and it will appear here.
Pinned conversions
- No pinned conversions yet. Use “Pin this conversion” above.
Favorite tools
- Pin a tool below and it will appear here.
Recently used
- No other tools used yet this session.
All conversion tools
How to convert a timestamp
- Paste the timestamp — the unit is auto-detected from its length (10 digits = seconds, 13 = ms, 16 = µs, 19 = ns), or pick a unit yourself.
- Read the same instant in UTC, your local time, ISO 8601 and RFC 2822, plus a relative “x ago / in x” line that updates as time passes.
- Going the other way, pick a date in Date → timestamp and copy the epoch value in whichever unit your system expects.
Worked example
The pre-loaded value above converts live on page load, so you can check this example against the tool itself.
Seconds, milliseconds, microseconds, nanoseconds
| Unit | Digits today | Where you meet it |
|---|---|---|
| Seconds (s) | 10 | Unix/POSIX time, most APIs, JWT iat/exp claims, log files |
| Milliseconds (ms) | 13 | JavaScript Date.now(), Java, browser events |
| Microseconds (µs) | 16 | Python datetime exports, Go, high-resolution tracing |
| Nanoseconds (ns) | 19 | Go UnixNano(), Rust, InfluxDB and metrics pipelines |
Getting the timestamp in code
What to do with a converted date next
- Check a token's expiry — JWT
expandiatare seconds: convert here, or paste the whole token into the JWT Decoder. - Put it in a payload — send the ISO result to the JSON Formatter via the chain bar above.
- Keep a reference offline — the cheat sheet download includes the unit table, the code snippets and your current conversion.
Frequently asked questions
What is a Unix timestamp?
A Unix timestamp (epoch time) is the number of seconds that have elapsed since 00:00:00 UTC on 1 January 1970, not counting leap seconds. It is a single number that represents a moment in time the same way in every timezone, which is why APIs, logs and databases store it so often.
How do I tell seconds from milliseconds?
Count the digits. A current timestamp in seconds has 10 digits (for example 1764800000), milliseconds have 13, microseconds 16 and nanoseconds 19. This converter auto-detects the unit from the digit count, and you can override it with the unit selector.
What is the current Unix timestamp?
The live clock at the top of this page shows it, ticking every second in both seconds and milliseconds, in UTC. Because it is computed from your device clock, it is as accurate as your device time.
Why does my timestamp show 1970 or the year 33658?
Almost always a unit mismatch: milliseconds read as seconds land far in the future, and seconds read as milliseconds land in January 1970. Check the digit count — 10 for seconds, 13 for milliseconds — and set the unit selector to match.
What happens in 2038?
Systems that store the timestamp as a signed 32-bit integer overflow at 03:14:07 UTC on 19 January 2038, wrapping to a date in 1901. 64-bit systems are unaffected. This converter uses 64-bit-safe arithmetic, so dates well past 2038 convert correctly.
Are timestamps affected by timezones or daylight saving?
No. A timestamp is an absolute instant — the same number everywhere on Earth. Timezones and daylight saving only change how that instant is displayed as a local date and time, which is why this page shows both the UTC and your local rendering of the same moment.
Can I convert a whole list of timestamps at once?
Yes. Paste one timestamp per line into the Batch converter and it builds a table with the UTC, local and ISO 8601 date for each one, skipping blank lines and flagging any line that is not a number.
Is anything I paste uploaded or stored?
No. All conversion runs in your browser. Conversion history and pinned favorites on this page live only in this tab's memory and disappear when you close or reload the tab.
Related tools
About this tool
The Unix Timestamp Converter is part of the Online Utilities Suite at dev.conversiontools.online. Every tool runs entirely in your browser — your data is never uploaded or tracked — so conversion is instant and private. Pair it with the JWT Decoder to inspect token expiry times, or the JSON Formatter to work with API payloads full of epoch values.
Privacy
This page processes everything locally: no account, no uploads, nothing sent to a server. History and pinned conversions exist only in this tab's memory. Advertising is served by Google AdSense, which may use cookies to personalize ads; you can opt out in your Google ad settings.