← Home
PRIVATE BROWSER TOOL · PHASE 1
Random Duration Generator
Generate durations inside an exact range and display each value in machine and human-readable units. The complete workflow runs locally in this browser, with visible controls and a result you can inspect before copying or downloading.
LOCAL WORKBENCH
Generate a result
No upload · no account · no URL storage
Ready. Entries and results stay in this browser tab.
Choose your settings, then select Generate.
How it works
- Convert both endpoints into an integer base-unit interval without losing the selected granularity.
- Draw each base-unit count uniformly from the inclusive interval.
- Format the same value as a component duration and optional ISO 8601 string.
Worked example
3,665 seconds is shown as 1 hour 1 minute 5 seconds and, when enabled, PT1H1M5S.
Limits and interpretation
- The largest supported input represents one year at the selected unit's configured cap.
- Durations are elapsed quantities and do not account for calendar months, daylight saving changes, or leap seconds.
- A batch contains at most 1,000 results.
Privacy
Your inputs and generated results stay in this browser. This tool does not put them in a URL, analytics event, server log, or external request.
Frequently asked questions
- How does Random Duration Generator make its random choices?
- The integer count of selected base units is chosen with secure rejection sampling across the inclusive range.
- Does Random Duration Generator upload my inputs or results?
- No. Values stay in the current browser tab and are not placed in the URL, analytics, storage, or network requests.
- When should I use Random Duration Generator?
- Use it for timeout fixtures, exercise intervals, scheduling examples, or test cases that need valid duration formatting.