How to use the Random Number Generator
- Enter the minimum and maximum (both are included).
- Choose how many numbers you need, and whether repeats are allowed.
- Press Generate or the Space bar.
- Copy the numbers, or look back at earlier results in the history.
How random is it?
Numbers come from crypto.getRandomValues, the cryptographically secure generator built into your browser, with a method that keeps every number in the range exactly equally likely. That's better than most "random" functions, which can slightly favor some numbers.
With or without repeats
- No repeats works like drawing numbered tickets from a hat: each number can come out once. Use it for raffles, lotteries and picking winners.
- Allow repeats works like rolling a die: the same number can come up again. Use it for games and simulations.
Popular uses
Raffle and giveaway winners, lottery picks, choosing a random page or question, classroom games, and test data. To pick from names instead of numbers, use the random name picker.
Frequently asked questions
Are the minimum and maximum included?
Yes. 1 to 10 can give 1, 10 or anything in between.
How many numbers can I generate?
Up to 10,000 at once. Without repeats, you can't ask for more numbers than the range holds.
Can I get decimal numbers?
Yes. Choose 1 or more decimal places.
Is it fair for giveaways?
Yes: every number has exactly the same chance. For transparency, record your screen while you generate the winner.
Updated