Random Number Generator
Generate random integers or decimals in a range with options for quantity, duplicates, and sorting. A random number generator produces random integers or decimals in a range. Use it for games, sampling, choosing winners, or any quick random selection task.
Options
Allow duplicates
Turn off to generate unique values (best for small ranges).
Results
Generate numbers to see results.
Uses your browser’s secure random source when available.
How to use it
- Enter a minimum and maximum value.
- Choose how many numbers you want.
- Optionally disable duplicates and/or sort results.
- Generate and copy your results.
FAQ
It uses your browser’s cryptographic random source (`crypto.getRandomValues`) when available, which is suitable for most everyday uses.
Yes. For integer mode, both the minimum and maximum values are included in the range.
Yes—switch to decimals and set precision for the number of decimal places.
Yes. Disable duplicates to generate unique values. For integers, the quantity can’t exceed the size of the range.
The generator treats the smaller value as the minimum and the larger value as the maximum.
Related generators
Disclaimer
For general use only. If you need audited randomness or compliance-grade selection, use an appropriate official process.