Unix Timestamp Converter
Convert Unix epoch ↔ date in both directions. Paste a timestamp (seconds or milliseconds) or a date string, get ISO 8601, UTC, local time and any timezone.
| Input | Unix (s) | ISO 8601 (UTC) | Local time |
|---|
What is a Unix timestamp?
A Unix timestamp (epoch time) is the number of seconds elapsed since 1970-01-01T00:00:00Z, ignoring leap seconds. It is timezone-independent: the same instant has one epoch value everywhere on Earth. Many APIs and databases store time this way.
Seconds vs milliseconds
- Seconds (10 digits): the classic Unix format, e.g.
1717200000. Used by most backends anddate +%s. - Milliseconds (13 digits): JavaScript's
Date.now(), e.g.1717200000000. This tool auto-detects the unit from the digit count. - ISO 8601: the human-readable standard
2026-06-01T00:00:00Z— unambiguous and sortable.