1 day 1 hour 1 minute 1 second
About Humanize Duration — Milliseconds to Readable Time
Raw durations are everywhere in logs, configs, and APIs — a cache TTL of 7500000, a request that took 90000 milliseconds, a retry delay measured in seconds. Numbers like these are precise but hard to read at a glance.
This free time humanizer converts a millisecond or second duration into friendly text like "2 hours 5 minutes", or compact "2h 5m", and parses phrases like "90 minutes" back into milliseconds. It works in both directions, so you can humanize a value for a report or normalize a hand-written duration into a number. Everything runs entirely in your browser — nothing is uploaded.
Features
- Humanize milliseconds or seconds into readable text
- Compact ("2h 5m") or long ("2 hours 5 minutes") output
- Parse a written duration back into milliseconds and seconds
- Handles zero and negative durations; fully offline
How to use
- Pick Humanize and enter a number of milliseconds to turn it into readable text.
- Toggle Compact for the short "2h 5m" form.
- Pick Parse and type a duration like "90 minutes" to get the value in milliseconds and seconds.
Frequently asked questions
Does it expect milliseconds or seconds?
Humanize reads the number as milliseconds by default — 90000 becomes "1 minute 30 seconds". Parse outputs both milliseconds and seconds so you can use whichever your system needs.
What duration formats can it parse?
Compact units (2h 5m, 500ms) and long names (90 minutes, 1 day 2 hours) both work, with or without spaces and commas. Recognized units run from milliseconds up to years.
How are days and years calculated?
As fixed spans — a day is 86,400 seconds and a year is 365 days. There is no calendar or time-zone math, so durations stay consistent and reversible.
Is my data sent anywhere?
No. All conversion happens locally in your browser. The tool works offline and never transmits the values you enter.
Related tools
Everything runs locally in your browser — your input is never uploaded.