UtilHero

Random Number Generator

Generate random numbers in any range — one or many, unique or repeating.

Min
Max
How many
Unique (no repeats)
Sort ascending

About Random Number Generator

A random number generator picks numbers at random within a range you choose. Set a minimum and maximum, choose how many you want, and optionally make them unique (no repeats) or sorted. It's handy for draws, games, sampling, passwords, and picking a winner. Everything runs in your browser using its built-in randomness.

Frequently asked questions

Are the numbers truly random?
They use your browser's built-in random number generator, which is high-quality pseudo-randomness — more than enough for games, draws, and everyday picks (though not certified for cryptographic or lottery use).
How do I get numbers with no repeats?
Turn on 'Unique'. If you request more numbers than the range can hold, you'll simply get every value in the range once.
What range can I use?
Any whole-number range, including negatives — just set the min and max. You can generate up to 10,000 numbers at once.
Can I use it to pick a winner or draw lots?
Yes. Set the range to your list size (e.g. 1 to 50) and generate one number, or generate several unique numbers to draw multiple winners.

More tools