Duration Converter

Convert a total number of seconds into hours, minutes, and seconds, or the other way around. Free and private, right in your browser.

Seconds to hours, minutes, seconds

Hours, minutes, seconds to total seconds

Type in a number of seconds and instantly see it broken into hours, minutes, and seconds (and back again), handy for turning a video's runtime, an API timeout, a log timestamp, or a race split into something you can actually read at a glance.

How to use it

  1. Enter a total number of seconds (or hours/minutes/seconds instead)
  2. Watch the other fields update instantly
  3. Copy the hh:mm:ss result you need

Frequently asked questions

Does it handle negative durations?
Yes. Enter a negative number of seconds and the hours, minutes, and seconds all come out negative, so countdowns and time-remaining calculations stay correct.
What happens with really large values, like millions of seconds?
It converts fine, 31,536,000 seconds becomes exactly 8760 hours, 0 minutes, 0 seconds (one non-leap year), with no rounding until you get down to fractional seconds.
Can I go the other way and enter hours/minutes/seconds to get total seconds?
Yes, the fields are linked both ways. Type into any of the hour, minute, or second boxes and the total seconds value updates automatically.