About ISO 8601 Duration Format
The ISO 8601 duration format is an international standard for representing time durations. This parser helps developers decode and encode durations like P1Y2M3DT4H5M6S (1 year, 2 months, 3 days, 4 hours, 5 minutes, 6 seconds) into human-readable formats.
Our tool supports all ISO 8601 duration components: years (Y), months (M), weeks (W), days (D), hours (H), minutes (M), and seconds (S). The P prefix indicates a period, and T separates date from time components.
Common examples: PT1H (1 hour), P1D (1 day), PT30M (30 minutes), P1W (1 week), P1Y (1 year), PT360S (360 seconds = 6 minutes).
This tool features automatic cascading normalization, converting overflow values like PT90S into PT1M30S and PT360S into PT6M. Perfect for developers working with APIs, databases, and time-based applications.