Back to Free Tools
FREE TOOLS
Human Duration Converter
Parse fixed-unit duration phrases or format integer seconds and milliseconds as exact English durations.
Fixed-unit duration text, Unsigned integer seconds or milliseconds
duration.txt, human-duration-report.json
Browser only
Runs locally in your browser. Your files, pasted content and generated output are not uploaded. Reset clears this tool’s working data.
This tool needs JavaScript. If it does not load, refresh the page and try again.
How to use this tool
- Choose Parse phrase or Build from integer, then enter the duration.
- For phrases, use unique units in descending order: weeks, days, hours, minutes, seconds and milliseconds.
- Select Convert duration and download the normalized phrase and exact report.
Examples
1h30m becomes 1 hour, 30 minutes and 5400000 milliseconds.
Limitations
- At most 512 input UTF-16 units, six components, 100 digits per integer and 100 digits in the total milliseconds; 64 KiB combined output and 30 seconds.
- Lowercase aliases w/week/weeks, d/day/days, h/hour/hours, m/min/minute/minutes, s/second/seconds and ms/millisecond/milliseconds. Optional ASCII spaces only; no signs, decimals, repeated or out-of-order units.
- Weeks are seven days and days are 24 hours. m means minutes; months, years, locale and calendar duration arithmetic are not supported.
Related tools
No items found.