Unix Timestamp Converter
Paste an epoch timestamp, or pick a date, time and timezone. Everything is converted on your device — nothing is sent anywhere.
- ISO 8601 (UTC)
- —
- ISO 8601 (selected zone)
- —
- RFC 2822 (UTC)
- —
- Locale string
- —
- Relative
- —
- Seconds
- —
- Milliseconds
- —
Now: —
Epoch time, in one place
A Unix timestamp is just a running count of time since midnight UTC on 1 January 1970. Because it is a single number tied to UTC, it means the same moment on every machine — no timezone attached, no ambiguity. That is why logs, databases and APIs lean on it. The catch is that it is unreadable at a glance, and half the ecosystem counts seconds while the other half counts milliseconds.
Seconds or milliseconds
This converter decides by magnitude. A ten-digit number like 1,700,000,000 is seconds (November 2023); a thirteen-digit number like 1,700,000,000,000 is milliseconds. The threshold sits at 1012, which as a seconds count would land tens of thousands of years in the future — so a number that large can only be milliseconds. The detected unit is spelled out under the field so you are never guessing.
Both directions
Leave the timestamp box empty and the date-and-time field takes over: pick a wall-clock time and a zone, and the seconds and milliseconds rows show that instant's epoch value. The zone list is your browser's own — the same database that powers Intl — so the offsets, including past and future daylight-saving rules, are as good as the platform has.
Related
Working with tokens that carry iat and exptimestamps? Decode them with thehash generator's neighbour tools, or hash a payload for a cache key here. For a plain span between two dates rather than an instant, use the percentage calculator for ratios or theword counter for text stats — all of them, like this one, run entirely in the page.
Related tools
Frequently asked questions
What is a Unix timestamp?
How does it know seconds from milliseconds?
Why does the date not match my local clock?
What formats does it output?
Can I go from a date back to a timestamp?
How accurate is the timezone conversion around daylight saving?
Is the ticking “now” line doing anything network-related?
Last reviewed: September 2026. Figures and formulas are checked against their published sources; see the site's data notes.