Skip to content
๐Ÿ”ง

Duration Formatter

Time & Date ยท Free Online Tool

Convert between ISO 8601 duration (PT1H30M) and readable text.

By CoderNewbie Team

ISO 8601 โ†’ Text

Text โ†’ ISO 8601

ISO 8601 Compliant

Parses PnYnMnDTnHnMnS and PnW week forms.

Both Directions

ISO โ†’ text and text โ†’ ISO, side by side.

Weeks Support

Recognizes the PnW shorthand for weekly durations.

How to Use Duration Formatter

  1. 1Enter the time, date, or value you want to convert.
  2. 2Select the target format or timezone.
  3. 3The tool calculates the result instantly.
  4. 4Copy the converted value for your use.

Features

  • โœ“100% free โ€” no signup, no subscription, no ads
  • โœ“Runs entirely in your browser โ€” data never leaves your device
  • โœ“Fast and lightweight โ€” instant results
  • โœ“Cross-platform โ€” works on desktop, tablet, and mobile

Frequently Asked Questions

What timezone is used by default?

The Timestamp Converter uses UTC by default but can display results in your local timezone.

Can I convert timestamps from different programming languages?

Yes, the tool supports Unix timestamps (seconds and milliseconds), ISO 8601, and various date string formats.

Related Tools

Learn the concept

Learn the concept

Understand the programming ideas behind this tool.