Unix Timestamp Converter
Paste any timestamp (epoch seconds, epoch ms, ISO 8601, RFC 2822 or any date string) and see all formats at once — UTC, local, multiple timezones — plus relative time. Auto-detects the input format.
How to use this timestamp converter
- Paste a timestamp — epoch seconds, epoch ms, or any date string.
- Pick the unit if you want to force seconds vs ms (otherwise auto-detect).
- All formats display together: epoch (s + ms), ISO 8601 UTC, RFC 2822 and your local time.
- Toggle additional time zones to see the same instant elsewhere.
Frequently asked questions
How does auto-detect work?
Pure numbers are detected as epoch — values < 10¹¹ are treated as seconds (covers up to year 5138), larger values as milliseconds. Any other input goes through your browser's Date parser, which handles ISO 8601, RFC 2822 and many other formats.
What is Unix epoch time?
Seconds elapsed since 1970-01-01 00:00:00 UTC. The standard timestamp format in databases, APIs, log files and most programming languages.
What's ISO 8601?
The international date format: YYYY-MM-DDTHH:MM:SSZ (UTC) or with an offset like +01:00. Unambiguous, sortable as text, and the de-facto standard for APIs.
Why does my database timestamp show the year 56,000 when I paste it?
Most databases store timestamps in milliseconds; many APIs return seconds. A 13-digit number treated as seconds lands in the far future, and a 10-digit number treated as ms lands in 1970. The auto-detect splits on 10^11 — paste the number alone and trust the detected unit, or force the right one with the toggle.