What this tool does
The random number generator produces random whole numbers within a range you choose. You can generate a single number or many at once, and decide whether duplicates are allowed.
How to use it
- Enter the minimum and maximum of your range.
- Choose how many numbers to generate.
- Toggle whether duplicates are allowed.
- Generate to see the numbers, including a sorted view.
Popular uses
- Raffles, giveaways and prize draws
- Picking a winner or assigning teams
- Dice rolls and board games
- Random sampling for surveys or testing
How random is it?
The tool uses the browser's built-in random function, which is suitable for games, draws and everyday randomness. It is not intended for cryptographic security or official lotteries — for security-grade randomness, use a dedicated cryptographic generator.
With or without duplicates
Allowing duplicates means the same number can appear more than once (like rolling dice). Disallowing duplicates gives unique numbers (like drawing raffle tickets), so the count can't exceed the size of the range.