Simple online tools for developers, networking, text and conversions.

Converters

Convert H:M:S to Seconds

Convert H:M:S time format into a total number of seconds.

Tool

Use this H:M:S to Seconds converter to turn hours, minutes, and seconds into one total second count. It is useful for timers, logs, script inputs, media durations, and workflows that need a numeric duration value instead of a clock-style format.

About this tool

Use this H:M:S to Seconds converter to turn hours, minutes, and seconds into one total second count. It is useful for timers, logs, script inputs, media durations, and workflows that need a numeric duration value instead of a clock-style format.

Use convert h:m:s to seconds when you need a fast browser-based result without extra setup. It works well for quick checks, one-off tasks, and routine formatting or calculation work.

Learn more

Why use this tool

How to use

  1. Enter time in H:M:S format
  2. Click Run Tool to convert it
  3. Review the total seconds value
  4. Check the result if you are comparing durations
  5. Copy the output if needed

Examples

Example

Input

1:01:01

Output

3661

Useful for a standard duration example.

Example

Input

0:01:05

Output

65

Shows how minutes and seconds map into one total value.

Common errors

Using an invalid time format

Fix: Use H:M:S format such as 1:01:01.

Entering minutes or seconds above 59

Fix: Keep minutes and seconds between 0 and 59.

Using words instead of numeric time

Fix: Enter only numeric H:M:S values.

FAQ

What does Convert H:M:S to Seconds do?

It converts a clock-style H:M:S duration into one total second count.

What format should the input use?

Use H:M:S format such as 1:01:01 or 0:05:30.

What is the difference between H:M:S to Seconds and Seconds to H:M:S?

H:M:S to Seconds turns a readable duration into one number, while Seconds to H:M:S does the reverse.

Can hours be larger than 23?

Yes. This tool treats the input as a duration, not a wall clock time.

Is this useful for scripts and logs?

Yes. That is one of the main use cases.

Use cases

Related tools