Random Number Generator
Generate secure random numbers, sort them, and copy instantly.
Generate random numbers
Pick a preset or custom range.
Generated result
—
Recent generations
Your five most recent sets stay here until you leave or refresh the page.
About the Random Number Generator
This tool creates one or many random values inside any range you choose. It supports whole numbers, rounded decimal numbers, unique results, sorting, quick presets, and instant copying.
Secure browser randomness
The generator uses the browser’s cryptographic random-number system rather than the basic Math.random() function. For whole numbers, it also avoids modulo bias so every valid value in the selected range has an equal chance of being chosen.
Whole numbers and decimals
Whole-number ranges include both endpoints. Decimal results are rounded to the number of places you select. When “No duplicates” is enabled, uniqueness is checked after rounding.
Useful ideas
- Roll a virtual die or choose a random percentage.
- Create unique classroom, team, or giveaway draws.
- Generate test values for spreadsheets, code, and design mockups.
- Produce sorted samples and review their minimum, maximum, average, and sum.
Privacy
Your settings, results, and recent history remain in this browser tab. Nothing is sent to Toolslight or stored on a server.