ISO 8601 Duration Parser

Turn durations like PT1H30M or P1DT12H into plain English and total seconds.

About this tool

ISO 8601 durations start with P; time parts follow a T (PT45S is 45 seconds, P1M is one month, PT1M is one minute). Used by YouTube API, schema.org and calendar formats.

Related: JSON Formatter & Validator · Base64 Encode & Decode · URL Encoder & Decoder · SHA-256 / SHA-1 Hash Generator · Unix Timestamp Converter

Frequently asked questions

What does PT1H30M mean?

A period of 1 hour 30 minutes; P marks a period and T separates date from time parts.

What is the difference between P1M and PT1M?

P1M is one month, PT1M is one minute.

Where are these used?

YouTube API, schema.org markup, calendar and media metadata.