Free tool · Runs in your browser

Duration converter.

Enter a number with a unit, or a compound string like 1h30m, and see the duration in every unit plus a human-readable form. For the timeouts, TTLs, cron intervals, and cache settings that are always in the wrong unit.

Try:

Every setting in a different unit

Durations are scattered across units throughout a backend: milliseconds for HTTP timeouts, seconds for token expiry and cache TTLs, minutes for cron, days for retention. The mental arithmetic to line them up — is 86400 a day? is 1.5 hours 5400 seconds? — is small but exactly where off-by-a-factor bugs hide, like a session that expires in 30 seconds instead of 30 minutes. Convert once, read it in the unit the config wants.

Free tools for the backend you run.

One of a set of free developer tools from Infraveil — the control plane for running, securing, and watching your backend on servers you own. Browse the rest, no signup.

See all free tools