Need a random number? Head over to the random number generator, set your minimum and maximum, choose how many numbers you want, and hit Generate. That’s it — results appear instantly, ready to copy.
What “random” actually means here
Not all random numbers are equal. The generator uses crypto.getRandomValues, the same source browsers use for cryptographic tokens and session IDs. Each draw is genuinely unbiased, meaning every integer in your range has exactly the same chance of appearing. This is different from the Math.random() function that older tools use, which is seeded from predictable sources and can show subtle patterns over many runs.
For almost every everyday use — picking a winner, assigning seats, running a quiz — either approach would look identical. But if fairness matters (a lottery, a classroom draw, a tournament bracket), crypto-backed randomness removes any doubt.
Setting up your draw
The tool has four controls:
Min and Max — the lower and upper bounds, both inclusive. If you want a number between 1 and 6 (like a standard die), set min to 1 and max to 6. Negative numbers work fine too: a range of -10 to 10 is perfectly valid.
How many — the number of results to produce in one go. Useful when you need to assign several random values at once, say for assigning secret gift exchange partners or seeding a tournament draw.
Allow repeats — when this is off, each value can appear only once in the results, the way physical lottery balls work. Turn it on if you want the full statistical independence of each draw (each number can repeat as if the “ball” goes back in the bag).
When repeats matter
Here’s a practical way to think about it. Suppose you’re running a raffle with 50 tickets and want to draw 5 winners. You wouldn’t let the same ticket win twice. Switch repeats off, and the tool guarantees five distinct values.
Now suppose you’re simulating rolls of a standard die a hundred times. Each roll is independent — the previous result has no bearing on the next. Turn repeats on, and you get authentic independent draws.
The tool will warn you if you ask for more unique numbers than the range can provide. For example, requesting 20 unique numbers from a range of 1 to 10 is impossible, and the tool will say so rather than silently giving you a wrong answer.
Useful things you can do with the results
Lottery and raffle draws. Enter the ticket range, set the count to the number of prizes, disable repeats, and generate. Share the screen or copy the numbers for a transparent draw.
Classroom activities. Teachers use random numbers to assign students to groups, choose who answers next, or randomise the order of presentations without anyone suspecting favouritism.
Game design and testing. When playtesting board games or writing puzzles, you often need a quick injection of randomness that feels fair. The sum and min/max statistics the tool shows are handy for sanity-checking distributions.
Sampling for research. If you have a numbered list of items and want a random sample, generate the indices here and pull the corresponding entries from your list.
Personal decisions. Sometimes you genuinely can’t choose between two or more options. Map them to numbers and let chance decide.
Reading the stat row
After each generation, the tool shows the sum, the smallest value, the largest value, and the count. For a single number these are all the same, but for batches they give a quick sense of the spread. If you’re generating random scores and the sum looks too high or too low compared to what you expected, that’s a prompt to double-check your range.
Copying results
Click Copy and all the numbers go to your clipboard as a comma-separated list. Paste directly into a spreadsheet — most apps will split on commas automatically if you use the “paste special” option.
If you need a different format (one per line, tab-separated), paste into a text editor first and do a quick find-and-replace.