random number generator
Choose a minimum and maximum, how many numbers you need and whether repeats are allowed. Results are fair: every number in the range is equally likely.
🔒 Uses your browser's cryptographic random generator — every result is equally likely, and nothing is sent anywhere.
How it stays fair
Many generators use Math.random and a simple multiply-and-round, which slightly favours some numbers. This one uses crypto.getRandomValues — the browser's cryptographic random source — with rejection sampling, so no number in your range is more likely than any other.
With “no repeats” on, it draws without replacement, like pulling raffle tickets from a hat. Turn it off for independent draws, like rolling a die several times.
Ideas
- Pick a raffle or giveaway winner from numbered tickets.
- Choose a random question, page or exercise for practice.
- Split a class into groups by drawing numbers.
- Generate test data or sample rows for a spreadsheet.
Picking names instead of numbers?
Use the spin-the-wheel picker, where you type names or options and spin. For passwords and PINs, use the password generator.
Frequently asked questions
Is this truly random?
It uses the browser's cryptographically secure generator, which is seeded from your device's hardware randomness. It's suitable for fair draws; it isn't certified for regulated lotteries or gambling.
How many numbers can I generate at once?
Up to 1,000 per click, in any whole-number range. With no repeats, you can't ask for more numbers than the range contains.
Is anything recorded?
No. Results exist only on your screen. The short history list disappears when you close the tab.