What it does
A Unix timestamp is the number of seconds since 1 January 1970 UTC — the “epoch”. It is the format databases, log files, APIs and JWTs reach for because it is a single integer with no time-zone ambiguity. This tool turns a timestamp into a human date — shown in UTC, in ISO 8601, and in your local time, plus a relative phrase like “3 days ago” — and turns a date back into both seconds and milliseconds.
Seconds or milliseconds
Timestamps come in both units, and mixing them is the most common bug: pass seconds where milliseconds are expected and your date lands in 1970; do the reverse and it lands tens of thousands of years out. This tool auto-detects by length — values of 13 or more digits are read as milliseconds, shorter ones as seconds — and always prints both, so you can copy whichever the receiving system wants. As a quick sanity check, a current seconds value is 10 digits and begins with 17.
Worked example
Enter 1710000000 and you get 2024-03-09T16:00:00.000Z in UTC along with the millisecond form 1710000000000. Switch to Date → timestamp, paste that ISO string back, and you get the original seconds returned — a useful round-trip check when you are debugging a stored value.
Date → timestamp, and a gotcha
Enter an ISO date with a zone (2026-08-11T14:30:00Z), a plain 2026-08-11 14:30, or anything your browser's Date parser accepts. Watch the zone: an ISO string ending in Z is UTC, but a bare 2026-08-11 14:30 is interpreted in your local time, so the same text produces different timestamps on machines in different zones. Add an explicit offset when it matters. The Now button fills in the current moment for either direction.
When to use it
It is handy for reading an expires or iat claim, matching a log line to a wall-clock time, or sanity-checking a value before writing it to a database. If you are scheduling rather than converting, see the Cron Expression Parser.
Privacy
All conversion happens locally in your browser; nothing is uploaded.