Random Number Generator
Generate random whole numbers in any range. Choose how many you need and whether repeats are allowed, for raffles, games, sampling or decisions.
Using random numbers fairly
A good random number generator gives every value in the range the same chance. This tool uses your browser's cryptographic generator and avoids the small bias that a simple "remainder" method can introduce.
With repeats allowed, each draw is independent, like rolling a die several times. With "Unique numbers" ticked, a drawn number cannot come back, like drawing numbered balls from a bag.
Common uses: raffles and giveaways, choosing who goes first, picking a random sample, board games and study quizzes. For a die roll, use a range of 1 to 6.
For raffles with prizes, share the screen or screenshot the draw so participants can verify it was fair.
How to use it
- Enter the minimum and maximum numbers.
- Choose how many numbers you want and whether they must be unique.
- Press Generate, and generate again for a new draw.
Frequently asked questions
Are the numbers really random?
They come from your browser's cryptographic random source, which is suitable for raffles and games. Each number in the range is equally likely.
Can I draw without repeats?
Yes. Tick "Unique numbers" and no number will appear twice, as long as the range is large enough for the amount you ask for.