Skip to content
Menu
Theme

Time Converter: Seconds, h:mm:ss and Decimal Hours

Convert seconds to h:mm:ss and back, clock time to decimal hours, days to hours and hours to days, for a whole list at once. Free, and runs in your browser.

DatesRuns in your browser
One value per line. A line that cannot be read becomes a question mark.

What is a time converter?

A time converter changes a length of time from one way of writing it into another. Time is awkward to calculate with because it does not count in tens. There are 60 seconds in a minute, 60 minutes in an hour and 24 hours in a day, so turning 7384 seconds into hours and minutes in your head takes a moment, and a list of fifty values takes much longer.

This tool handles the common cases in one place:

  • Seconds to clock time, so 3725 becomes 1:02:05. Hours can go past 24, which suits durations such as video lengths or total work time.
  • Clock time to seconds, the reverse direction, handy for video editors, timers and spreadsheets that want a plain number.
  • Clock time to decimal hours, so 1:30 becomes 1.5. Timesheets and invoices often need hours written this way before you can multiply them by an hourly rate.
  • Days to hours and hours to days, for planning, rentals or shipping times.
  • Dropping the seconds, or the minutes and seconds, from a list of clock times, so 14:37:52 can become 14:37.

Each operation reads a list, one value per line, and gives back a list in the same order. Paste a column from a spreadsheet, convert it, and paste the result back next to the original. Blank lines stay blank, and a line the tool cannot read shows a question mark, so the rows never shift out of place. When you enter just one value, the result also appears large on its own.

Everything runs in your browser. The values you enter are not sent anywhere and are gone when you close the page.

How to use the time converter

  1. Choose what you want to do from the list of operations at the top.
  2. Type or paste your values into the input box, one per line. Each operation starts with a short sample so you can see the format it expects.
  3. Set the options if the operation has any, such as adding leading zeros, how many decimals to show, or what to drop from a clock time.
  4. Read the converted list in the Result box. It updates as you type.
  5. Press the copy button and paste the result wherever you need it.

FAQ

What is the difference between 1:30 and 1.30 hours?

1:30 means one hour and thirty minutes. In decimal hours that is 1.5, because thirty minutes is half an hour. Writing 1.30 in a timesheet would mean one hour and eighteen minutes, which is a common and costly mistake. Convert first, then multiply by the rate.

Can the result go above 24 hours?

Yes. The tool converts durations, not times of day, so 90000 seconds becomes 25:00:00 rather than wrapping round to 1:00:00. That is usually what you want for total hours worked or the length of a long recording.

What does adding leading zeros do?

It writes every part with two digits, so 1:02:05 becomes 01:02:05. Some programs and spreadsheets expect that fixed width, while for reading by eye the shorter form is often clearer.

How are decimal hours rounded?

They are rounded to the number of decimals you pick. 1:30:36 is 1.51 hours with two decimals, because 30 minutes and 36 seconds is 0.51 of an hour.

Why does a line show a question mark?

The tool could not read that line as a value for the chosen operation. Check for letters, extra colons or a stray space in the middle, fix the line, and the result updates straight away.

Is my data stored or sent anywhere?

No. The conversion happens inside the page on your own device. Nothing is uploaded and nothing is saved after you close the tab.

Related tools