Seconds to HH:MM:SS
Convert a number of seconds (integer or decimal) to HH:MM:SS.mmm format. Useful for video, audio and time tracking.
Three readings of the same pile of seconds
An API, a player or a stopwatch hands you 3725.5 seconds and you need it in another shape: 01:02:05 for a caption, 01:02:05.500 for a cut in the editor, or 1.034861 h for a timesheet. Type the total in the field and all three readings appear at once, updating on every keystroke, with no dividing by 3600 by hand and no rounding slip on the way.
The classic mix-up is treating decimal hours and HH:MM as the same notation. An hour and a half is 1.5 h, not 1.30 h, and someone who writes 1.30 on a timesheet has just claimed 1 h 18 min. Second thing: the hours field does not wrap at 24. A hundred thousand seconds reads 27:46:40, which is correct for a duration and would be wrong if you expected a clock time.
The field takes decimals and negatives, with the sign placed in front of the result. Seconds are truncated in the HH:MM:SS reading and the fraction moves into the milliseconds. One quirk worth knowing: when the fraction sits very close to a full second, the milliseconds field can show 1000 instead of rolling the second over, and in that case the decimal-hours reading is the one to trust. Nothing leaves your browser.
Frequently asked questions
Is 1.5 h one hour and fifty minutes?
Can it go the other way, from HH:MM:SS back to seconds?
Is it usable for video timecode?
Related Tools
Date Format Converter
Convert dates between the most common formats: dd/mm/yyyy, yyyy-mm-dd, mm/dd/yyyy, ISO 8601 and Unix timestamp.
Cups to Grams (Flour)
Convert cups of all-purpose flour to grams instantly (1 cup ≈ 120 g). Nail your bread and cake recipes even without a kitchen scale.
SASS to CSS Converter
Explains the differences between indented SASS (.sass) syntax and CSS with side-by-side examples.
CIDR to Wildcard Mask Converter
Convert a CIDR mask (/n) into a wildcard mask, the format used in Cisco router ACLs. An essential tool for network administration and configuration.
CSV → JSON Lines
Convert CSV to JSONL (one JSON object per line). Common format in logs, ML pipelines and document databases.
CSV ↔ vCard (.vcf) Batch Converter
Converts a CSV contact list into a multi-contact vCard (.vcf) file and back to CSV, with column mapping and vCard 3.0/4.0 output.