ISO 8601 to Unix timestamp converter
ISO 8601 UTC with milliseconds → Unix timestamp in seconds
Unix timestamp · Unix Timestamp (sec)
Worked examples
| Instant | ISO 8601 | Unix timestamp |
|---|---|---|
| an ordinary afternoon | 2026-06-29T14:30:00.000Z | 1782743400 |
| a leap day | 2028-02-29T09:05:07.000Z | 1835427907 |
| the Unix epoch | 1970-01-01T00:00:00.000Z | 0 |
What this conversion changes
- Unix timestamp has no time zone of its own: the input is read as UTC unless it carries an offset, then counted in seconds from the Unix epoch.
- Dropped on the way out: milliseconds. The conversion is lossy; converting back will not restore them.
ISO 8601 — ISO 8601 UTC with milliseconds
- Pattern
- YYYY-MM-DDTHH:mm:ss.SSSZ
- Example
- 2024-06-29T00:00:00.000Z
- Seen in
- JSON APIs, JavaScript Date.toISOString(), Log files, MongoDB
Unix timestamp — Unix timestamp in seconds
- Pattern
- Unix Timestamp (sec)
- Example
- 1719619200
- Seen in
- Linux and Unix tools, PHP time(), Python time.time(), JWT exp/iat claims, Stripe and most payment APIs
Related conversions
Thousands of values to convert?
CSV batch mode converts an entire column from ISO 8601 to Unix timestamp (or any of the 82 formats, with time-zone shifts), entirely in your browser, with no row limit set by us (your device's memory is the practical ceiling). $9.99/month, hides the ads, cancel anytime.