Generate random numbers in any range
A random number generator is one of those small tools you reach for more often than you would think. Drawing raffle tickets, rolling dice for a board game, picking a random page to study, choosing a winner from numbered entries, or just settling who pays for lunch. Set your range, pick how many you need, and let the tool do the picking.
You control everything. Choose unique numbers for a fair draw, or allow repeats for dice and coin-style rolls. Sort the results or leave them in the order they came out. Then copy the set in one tap.
How does this random number generator work?
- Set the range. Enter the lowest and highest numbers you want.
- Choose how many. Pick the count, from a single number to thousands.
- Set the options. Turn on Unique for no repeats, and choose a sort order if you want.
- Generate. Press Generate to get your numbers, then copy or generate again.
The numbers come from your browser secure random source, the same one used for security work. Rejection sampling keeps the spread even, so no part of the range is favoured. It all runs on your device, with nothing sent anywhere.
Unique numbers vs repeats
The right choice depends on what you are doing. For a lottery-style draw or a raffle, you want unique numbers so the same ticket is not picked twice. For dice rolls, coin flips, or any situation where a value can naturally repeat, leave Unique off so the same number can show up again. The tool handles both, and warns you if you ask for more unique numbers than the range can hold.
Common ways to use the number picker
- Raffles and giveaways. Draw unique winning numbers from a ticket range.
- Dice and games. Roll one or more dice by setting the range to 1 through 6.
- Sampling. Pick random row numbers to spot-check a spreadsheet or list.
- Teaching. Choose a random question number or page to review.
- Decisions. Assign numbers to options and let the generator pick one.
Frequently asked questions
What is a random number generator?
A random number generator is a tool that produces numbers at random within a range you choose. You set a minimum and a maximum, decide how many numbers you want, and it picks them for you. People use a random number generator to draw lottery-style numbers, pick winners, roll virtual dice, choose a random pick from a numbered list, or run fair raffles.
How do I generate random numbers?
Enter the lowest and highest numbers you want, then set how many to generate. Turn on "Unique" if you do not want any repeats, and choose a sort order if you want the results ordered. Press Generate and your random numbers appear right away. Press it again for a fresh set.
Are the numbers truly random?
The tool uses your browser built-in secure random source, the same kind used for security tasks, with rejection sampling to keep the spread even. That means each number in your range has an equal chance, with no bias toward the low or high end. For everyday draws and picks, this is as fair as it gets.
What does the Unique option do?
With Unique turned on, every number in the result is different, like drawing balls from a bag without putting them back. This is what you want for lottery numbers or raffle draws. With it off, numbers can repeat, which is right for things like dice rolls where the same value can come up again.
Can I generate large sets of numbers?
Yes. You can generate up to ten thousand numbers at once. If you ask for unique numbers, the count cannot be larger than the size of your range, since there would not be enough different values to fill it. The tool will tell you if you need to widen the range or lower the count.
Is this random number generator free and private?
Yes. It is completely free with no sign-up, and it runs fully in your browser. Your settings and results are never sent to a server, so you can use it as often as you like in full privacy.