Generate random numbers in any range. This free random number generator lets you set the min, max and quantity, allow or forbid duplicates, and sort the results — ideal for raffles, games and sampling.
Settings
numbers
Set a range and how many numbers you want. Choose whether duplicates are allowed, and optionally sort the output. Whole numbers, inclusive of both ends.
Result
—
Press generate
A free random number generator for raffles, draws, picking winners, games, sampling and decisions. Uses your device’s random number generator.
Use this free random number generator to pick random numbers in any range. Set a minimum and maximum, choose how many you need, and generate them instantly — with or without duplicates.
What this random number generator does
A random number generator produces unpredictable whole numbers within a range you choose. This one lets you set the minimum, maximum and quantity, allow or forbid duplicates, and optionally sort the results — great for draws, games and sampling.
What you can use it for
Raffles and giveaways — pick winning ticket numbers.
Games — random rolls, picks and decisions.
Sampling — choose random rows or participants.
Teaching — demonstrate probability and randomness.
Duplicates vs unique numbers
Mode
Behaviour
Allow duplicates
Each number is drawn independently; values can repeat.
Unique only
No repeats — like drawing without replacement (needs a range at least as large as the count).
How to use the random number generator
Set the minimum and maximum (both included).
Choose how many numbers you want.
Pick duplicates or unique, and sort if you like.
Press Generate.
Is it truly random?
It uses your device’s built-in random number generator, which is fine for everyday use like games, draws and sampling. For high-stakes cryptographic or security purposes, a dedicated cryptographic generator is recommended instead.
Random Number Generator FAQ
How do I generate a random number?
Set a minimum and maximum, choose how many numbers you want, then press Generate. Both ends of the range are included.
Can I generate numbers without duplicates?
Yes. Switch to "Unique only" to draw without repeats — just make sure your range is at least as large as the quantity you need.
How many numbers can I generate at once?
Up to 1,000 at a time. For a single number, the result shows large on its own; for several, they appear as a list.
What can I use it for?
Raffles and giveaways, picking winners, games, random sampling, classroom demonstrations, and any time you need an impartial number.
Is it truly random?
It uses your device's built-in random generator, which is fine for everyday use. For cryptographic or security-critical needs, use a dedicated cryptographic generator.
Is the random number generator free?
Yes, this random number generator is completely free, needs no sign-up, and works instantly in your browser.