Start a project

Tool 347 of 425 · Dates

ISO 8601 Duration Converter

Parses and builds ISO 8601 durations and converts them to seconds, minutes and plain English.

ISO 8601 Duration Converter

Your input

Result

MeasureValue

    01

    What it does

    Parses and builds ISO 8601 durations and converts them to seconds, minutes and plain English.

    • Parse P…T… durations, including weeks
    • Seconds, milliseconds or minutes to ISO
    • Readable text
    • hh:mm:ss input too

    02

    Private by design

    Everything happens in your browser. Nothing you type, paste or upload is sent anywhere, and it keeps working offline once the page has loaded.

    03

    What you get

    Conversions per duration, with a Copy and a Download button on every result.

    • ISO 8601
    • Duration
    • schema.org

    Why it matters

    YouTube's API, schema.org cookTime and video duration, and many APIs use ISO durations, which are hard to read at a glance.

    Paste a number to go the other way.

    How to use it

    1. Type or paste your input; the example shows the format.
    2. Press Convert. Results also update as you type.
    3. Read the summary line, then the table, notes or output below it.
    4. Copy or download what you need. Nothing leaves this page.

    FAQ

    How long is P1M?

    It depends on the month, so it's approximate. This tool uses 30 days and says so.

    What does schema.org want?

    ISO 8601, e.g. PT45M for a 45-minute cook time.

    Is my input uploaded?

    No. The tool runs in your browser and nothing you type, paste or open is sent anywhere.

    Can I rely on the result?

    It follows the public specification or formula named on this page and says where it simplifies. Check anything critical against the official tool or documentation before you ship it.

    Work with me

    Want a site that gets these right?

    I build fast, accessible websites and web apps that pass these checks from day one. Tell me about your project and I'll reply personally with honest next steps.

    All developer tools · Back to leej.uk