Duration Humanizer — Free Online Tool

Convert milliseconds or seconds into a readable duration like 1d 2h 3m 4s, and break it down across every time unit.. Duration Humanizer is a free online tool from the ToolsRift Developer Tools collection. It runs entirely in your browser — nothing to install, no signup, and your data never leaves your device.

Loading Duration Humanizer

How to use Duration Humanizer

Enter a duration in milliseconds or seconds and the tool renders a compact humanized string and a unit-by-unit breakdown, perfect for describing elapsed time.

Frequently asked questions

Milliseconds or seconds — which do I use?

Pick the unit that matches your source. Timestamps and performance APIs are usually milliseconds; many APIs report seconds.

How is the humanized string built?

The total is divided into days, hours, minutes and seconds, and only non-zero units are shown, e.g. 2h 5m.

Can it show weeks or months?

It stops at days for accuracy, since months and years vary in length and would make elapsed-time output ambiguous.

More Developer Tools

Timestamp Diff
Compute the difference between two dates or Unix timestamps in days, hours, minutes, seconds and a humanized string.
UUID v5 Generator
Generate deterministic RFC 4122 v5 UUIDs by SHA-1 hashing a name within a namespace (DNS, URL, OID, X.500 or custom).
HMAC Generator
Compute HMAC message authentication codes with SHA-1, SHA-256, SHA-384 or SHA-512 and a secret key, in hex or base64.
Color Contrast Checker
Check WCAG 2.1 contrast ratio between a foreground and background color, with AA and AAA pass/fail for text sizes.
CSS Clamp Generator
Generate a fluid CSS clamp() for responsive typography or spacing that scales linearly between two viewport widths.
Unix Timestamp
Unix — human date + live now.

← View all Developer Tools