Barokit

Seconds ↔ Time Format

Convert numeric seconds (7200) to readable formats (2:00:00 or 2 hours) and back. Useful for video/music durations, log analysis, API response handling, and workout records.

🔒 Browser-basedNo watermarkNo signup

How to use

  1. 1Enter seconds or a time format.
  2. 2Multiple format conversions display.

FAQ

Does ISO 8601 work?+

Yes — PT1H30M (1h 30m), PT45S (45s). Common in YouTube API and ISO standard responses.

Which formats are supported?+

(1) 7200 sec, (2) 02:00:00, (3) 2 hours, (4) 2h 0m 0s, (5) PT2H. All shown simultaneously.

Negative durations?+

Defaults to positive. Negative durations are uncommon and may need separate handling.

1000+ hours?+

Yes. Even 10,000 hours (1.14 years) converts cleanly.

Milliseconds?+

Optional ms unit supported. Useful for game frames and web performance metrics.

Which APIs use ISO 8601?+

YouTube Data API for video length, JSON Schema durations, some calendar APIs.

Related tools