Date & Time Tools
ISO 8601 Duration Parser & Builder
Parse ISO 8601 durations like PT1H30M and build your own.
Loading tool…
What is ISO 8601?
Durations in ISO 8601 (the PnYnMnDTnHnMnS syntax) are common in APIs and video metadata. This tool parses them into plain-language spans and builds new ones.
How it works
A regex-based parser reads the P/T sections and unit letters, validating ordering and returning the total time in each unit.
- Enter your input. Type or paste your input into the field above — the tool responds instantly.
- Review the result. Output updates live as you type. Everything runs entirely in your browser.
- Copy or download. Use the Copy button to grab the result, or Download to save it as a file.
Examples
Realistic sample
Paste or type any realistic input — the tool computes the result locally and instantly.
Common mistakes
Expecting a server round-trip
Nothing is uploaded — every tool in this category runs entirely in your browser.