Picks random numbers in any range, with no-duplicate and sort options.
Input
Min 1, Max 6, How many 2
Output
4, 1 (two dice rolls)
Input
Min 1, Max 49, How many 6, No duplicates, Low to high
Output
3, 11, 18, 27, 36, 42
A random number generator gives you a number between a minimum and a maximum that nobody can predict. You set the range and press a button and the result shows up right away. This free random number generator runs in your browser and uses the secure random source built into it. Nothing is stored and nothing is sent anywhere.
People use random numbers for far more than games. A teacher might draw a student number from the class list. A developer might want test data or a quick sample of row IDs. Someone running a giveaway needs a fair way to pick a winner from entry number 1 to 500. And a board game night always loses a die at some point.
How random is random here? The tool asks your browser for cryptographic quality random values rather than the weaker Math.random function. It then removes a subtle flaw called modulo bias. Without that step some numbers in a range would come up slightly more often than others. That detail is easy to skip and matters most for large ranges, so the generator throws away the unlucky draws and tries again.
A few options cover most real needs. The no duplicates setting draws without replacement, which is what a lottery or a raffle requires. Ask for six unique numbers from 1 to 49 and you get exactly that. If you ask for more unique numbers than the range holds the tool tells you it's impossible. Sorting puts the list in order after the draw. And the decimals setting turns whole numbers into values like 3.75 for prices or measurements.
Keep one limit in mind. The generator is great for everyday choices but you shouldn't use it to create passwords or encryption keys, because those need specific formats and more length. For that use the password generator. If you'd rather watch a pick happen then try the spin the wheel. To split people into groups after a draw the team generator does it in one step.
More Generators