Random Number Generator
Pick a range, choose how many, decide on duplicates. We'll roll the numbers — fairly, fast, and with the satisfying click of a slot machine.
Common ranges, one tap.
🎲 Dice (1–6)
Single die roll, the classic.
💯 1 to 100
The percentage-style pick.
🎰 Lottery (6 of 49)
UK-style lottery numbers, no repeats.
🔢 PIN (4 digits)
Random 4-digit code generator.
What people roll for.
🎰 Lottery picks
Powerball, Mega Millions, Lotto. Generate your numbers without buying a Quick Pick.
🎁 Raffle drawings
Numbered tickets? Pick winners by their numbers, fair and verifiable.
🎮 Game mechanics
D&D rolls, board game randomizers, probability experiments.
📊 Sampling & research
Pick a random row from a dataset. Run a statistical exercise. Build a quiz answer key.
Number-related FAQs.
How random is the random number generator?
We use crypto.getRandomValues() — your browser's cryptographically-strong random source, which is suitable for everything from games to cryptographic key generation. It's significantly more random than Math.random().
Can I generate negative numbers?
Yes. Set the minimum to a negative value. Both ends of the range can be negative or positive, as long as max ≥ min.
What's the largest range I can use?
Numbers up to about 4 billion (32-bit unsigned integer max). For most purposes — lotteries, dice, raffles — this is more than enough.
Can I generate without duplicates?
Yes. Toggle "No duplicates" and the generator will produce unique numbers. Useful for lottery picks, raffle draws, and any case where you don't want repeats.
Why does my browser say my numbers are similar?
True randomness produces clusters and patterns more often than people expect. Three of the same number in 20 rolls of a six-sided die is normal. The brain looks for patterns, but randomness happily delivers them.