Duration Converter Online
Convert a duration between seconds, minutes, hours, days, HH:MM:SS, and a human string in your browser. Your input stays on your device.
The Duration Converter runs entirely in your browser. The durations you type are parsed and formatted on your device and are never uploaded to ArrayKit.
Open the Unix Timestamp Converter
About Duration Converter
The Duration Converter takes a single time span and shows it every way you need it. Type a plain number, a clock string like 01:30:00, or a human phrase such as "1h 30m" or "2d 4h", and it instantly reports the same duration in seconds, minutes, hours, days, and weeks, plus a padded HH:MM:SS value and a tidy human string. It is the fastest way to answer questions like how many seconds are in a timeout, what 5400 seconds looks like on a clock, or how long 2.5 hours is in minutes. Handy for setting cache TTLs, cron intervals, video timestamps, SLA windows, and log analysis. Built for developers and ops engineers who juggle time units all day. Everything is parsed and formatted on your device — nothing you enter is uploaded.
Features
- Accepts a bare number, a clock string, or a human phrase like 1h 30m
- Parses MM:SS, HH:MM:SS, and DD:HH:MM:SS clock formats
- Shows the duration in seconds, minutes, hours, days, and weeks at once
- Outputs a zero-padded HH:MM:SS value that never truncates the hours
- Generates a compact human string such as 2d 4h 5m 6s
- Choose which unit a bare number means: seconds, minutes, hours, or days
- Copy any single result value with one click
- Runs entirely in your browser with no time span sent anywhere
How to use the Duration Converter
- Type a duration: a number, a clock string, or a phrase like 1h 30m
- If you entered a bare number, pick the unit it represents
- Read the HH:MM:SS and human-string formats under Formatted
- Scan the per-unit list to see the same span in seconds, minutes, hours, days, and weeks
- Copy the value you need with the copy button on its row
Example
Input
1h 30m
Output
5400 s · 90 min · 1.5 h · 01:30:00
"1h 30m" parses to 5400 seconds and renders as 01:30:00.
Common errors & troubleshooting
- A bare number like 90 converts to the wrong amount. — A plain number uses the unit you picked below the input. Set it to Minutes so 90 means 90 minutes, or add a unit to the text itself, e.g. 90m.
- A clock string such as 1:30 is read as minutes and seconds, not hours. — Two parts are treated as MM:SS. Write 01:30:00 (three parts) when you mean one and a half hours.
- Input like "1h banana" is rejected. — Remove any text that is not a number followed by a unit. Use s, m, h, d, or w, for example 1h 30m.
- The human string drops a unit you expected to see. — Zero components are omitted, so 3600 seconds shows as 1h with no minutes or seconds. That is expected — the seconds value on the per-unit list is exact.
Frequently asked questions
- What input formats does the Duration Converter accept?
- Three kinds: a bare number (interpreted with the unit you select), a clock string in MM:SS, HH:MM:SS, or DD:HH:MM:SS form, and a human phrase such as "1h 30m", "2 days", or "1.5h". All three resolve to the same total number of seconds.
- How many seconds is 1h 30m?
- 1h 30m is 5400 seconds. That is 90 minutes, 1.5 hours, or 01:30:00 on a clock. Type "1h 30m" and the converter shows every one of those values at once.
- Why is my two-part clock time read as minutes and seconds?
- A colon string with two parts is treated as MM:SS, so 05:30 means five minutes thirty seconds. Add a third part for hours: 01:30:00 is one hour thirty minutes. Four parts are read as DD:HH:MM:SS.
- Does the HH:MM:SS output roll over past 24 hours?
- No. The hours field is never truncated to a day, so 26 hours renders as 26:00:00 rather than 02:00:00. This keeps long durations like render times or uptime readable on a single clock value.
- What unit does a plain number use?
- A bare number uses the unit selected under the input — seconds by default. Switch it to minutes, hours, or days to reinterpret the same number, or embed the unit in the text (for example 90m) to be explicit.
- Is the duration I enter sent to a server?
- No. The Duration Converter parses and formats every value on your device. The time span you type never leaves your device and is not uploaded to ArrayKit.
Related tools
All ArrayKit tools