← All tools
// Time

Seconds ↔ HH:MM:SS online

Convert seconds to hours:minutes:seconds and back

Seconds to HH:MM:SS Converter logo
by
CHUNKY
MUNSTER
// Seconds → HH:MM:SS
seconds
// HH:MM:SS → Seconds
: :

How to Use the Seconds to HH:MM:SS Converter

  1. In the first card, type a number of seconds to see HH:MM:SS.
  2. In the second card, type the H, M and S parts to get the total seconds.
  3. Each direction updates live and independently — they don't wipe each other.
  4. Output is always zero-padded for sortable, copy-pasteable timestamps.

Most "seconds to time" converters either cap the hour value at 24 or refuse to round-trip without losing precision. This one does neither: hours grow unbounded so 90,000 seconds correctly becomes 25:00:00, and both directions are exposed as independent forms so you can convert one way without disturbing the other.

How the Seconds to HH:MM:SS Converter Works

Output is zero-padded by default to match the formats expected by ffmpeg, video players, SRT subtitle files and most log analysis tools. Fractional seconds are rounded down to whole numbers; for sub-second precision use a dedicated subtitle-timecode tool.

Frequently Asked Questions

Does it cap hours at 24?

No — the hour field rolls over only when you want it to. 90,000 seconds becomes 25:00:00, not 01:00:00. This matches how ffmpeg, subtitle formats, and most video players display long timestamps.

Why is the output always zero-padded?

Padded output (00:01:23) is what most players, log formats and subtitle files expect, and it sorts correctly as a string. Single-digit forms (0:1:23) are easier to misparse and don't sort lexically.

Can it handle fractional seconds?

The seconds → HH:MM:SS field accepts integers only. For sub-second precision in video timestamps, use HH:MM:SS,mmm format directly — typical SRT subtitle timecodes are HH:MM:SS,000.

What's a quick mental check for the conversion?

3,600 seconds = 1 hour, 86,400 seconds = 1 day, 604,800 seconds = 1 week. Video timestamps rarely exceed a few hours; log durations and uptimes can run to days or weeks.

Explore the full suite of Time tools and 290+ other free utilities at Chunky Munster.