Convert Duration (ms, s, min, h, days)
Convert a duration between milliseconds, seconds, minutes, hours and days.
🔒 100% client-side — no data sent
Instantly convert a duration between milliseconds, seconds, minutes, hours and days. Ideal for developers working with timeouts, delays or logs. The conversion is computed locally in your browser, with no data sent.
What is it for?
- ▸ Convert a timeout into milliseconds
- ▸ Translate a log duration into minutes or hours
- ▸ Check a cache expiration delay
- ▸ Go from seconds to days for a TTL
FAQ
Which units are supported?
Milliseconds, seconds, minutes, hours and days, with two-way conversion.
Are decimal values accepted?
Yes, you can enter decimal durations, for example 1.5 hours.
Is the conversion private?
Yes, the calculation runs in your browser; no data is sent.
Related tools
Base32 · encode / decode Encode and decode text to and from Base32 (RFC 4648) in your browser. Base58 encode/decode Encode and decode text in Base58 (Bitcoin, IPFS) right in your browser. Base64 · encode / decode Encode and decode text to and from Base64 (UTF-8), right in your browser. Base64URL encode/decode Encode and decode Base64URL (URL-safe variant used in JWT), in your browser. BBCode → HTML Convert forum BBCode into clean, sanitized HTML, right in your browser. Text ↔ binary Convert text to binary (ASCII/UTF-8) and back.