About the Random Number Generator
This generator produces random numbers between a minimum and maximum you set, as whole numbers or with a chosen number of decimal places. It uses the browser's secure random source, so the results are genuinely unpredictable rather than following the patterns a poor generator can show. Generate a single number for a decision or thousands for test data or sampling.
The unique option guarantees no repeats, which is what you want for a lottery-style draw or a random sample without replacement; it checks that the range is large enough. Numbers can be separated by new lines, commas or spaces to suit where they are going.
For picking items from a list rather than numbers, use the Random Picker; for a dice or coin, the Dice Roller and Coin Flip.
How to use
- Set the minimum, maximum and how many.
- Choose decimals, uniqueness and separator.
- Copy the numbers.
Common questions
- Is the min and max inclusive?
- Yes for whole numbers, both ends are possible. For decimals, values fall within the range.
- Can I get numbers with no repeats?
- Tick Unique. The range must contain at least as many integers as you request.
- Is it truly random?
- It uses the browser's cryptographic random source, which is high quality and unpredictable.