ISO 8601 Converter
Convert dates and durations to and from ISO 8601 format.
About the ISO 8601 Converter
Convert between local dates and ISO 8601 date-time strings, and parse or build ISO 8601 durations in the PnYnMnDTnHnMnS format.
Popular uses
- iso 8601
- date format
- duration
- converter
Examples
ISO duration
P1Y2M10DT2H30M0SOutput
1 year, 2 months, 10 days, 2 hours, 30 minutesKeyboard shortcuts
- Copy the main outputCtrl / ⌘ + Shift + C
- Download the resultCtrl / ⌘ + S
- Share this toolCtrl / ⌘ + Shift + S
- Reset the inputsAlt + R
- Open the tool search paletteCtrl / ⌘ + K
Related tools
Unix Timestamp Converter
Date & Time
Convert between Unix timestamps and human-readable dates.
Epoch Batch Converter
Date & Time
Convert a list of Unix timestamps to readable dates in bulk.
Week Number Calculator
Date & Time
Find the ISO week number, day of year, and quarter for any date.
Date Formatter
Date & Time
Format a date using custom patterns and Intl presets.
Duration Calculator
Date & Time
Calculate the difference between two dates, or add/subtract time.
Timezone Converter
Date & Time
Convert a datetime across multiple IANA timezones at once.
Works well with
Next steps from other categories.
Env File Parser
Dev Utilities
Convert .env files to JSON, YAML, or shell exports.
JSON to XML
JSON
Convert JSON into well-formed, indented XML.
JSON to YAML
JSON
Convert JSON documents to clean, readable YAML.
Number Base Converter
Converters
Convert numbers between binary, octal, decimal, hex, and custom bases.
Frequently asked questions
Read more
- Timezones, UTC and ISO 8601: dates without bugs
Why 'store dates in UTC' is only half the rule, how ISO 8601 avoids ambiguity, and the daylight saving edge cases that break naive code.
- Timezones and UTC: the developer's survival guide
Why every timestamp bug traces back to the same handful of mistakes, and the rules that make timezone handling boring instead of terrifying.
Version 1.0.0 · Updated 2026-08-06 · Runs entirely in your browser