Random Number Generator
Generate random numbers in any range.
About Random Number Generator
Generate random numbers within any range you choose for giveaways, sampling, games, and testing. Set a minimum and maximum, decide how many numbers you want, and optionally allow or prevent duplicates to draw a fair result instantly. It is handy for picking contest winners, assigning teams, choosing lottery-style numbers, or seeding test data. The numbers come from your browser's built-in random generator, so nothing is sent to a server and results are produced locally on your device. Because it is free and instant with no signup, you can regenerate as many times as you need until you have the set of numbers you want.
How to use this tool
- 1Set the minimum and maximum of your range.
- 2Choose how many numbers to generate.
- 3Toggle whether duplicates are allowed.
- 4Click Generate to get your numbers.
Frequently asked questions
Are the numbers truly random?
They're generated with your browser's cryptographically secure random source (crypto.getRandomValues), which is far stronger than basic Math.random.
Can I generate unique numbers, like a lottery draw?
Yes. Turn off duplicates and each number in the result will appear only once.