Random tool
Random Number Generator
Generate a number in a range, roll dice, or flip a coin — all using true browser randomness.
Number in a range
—Result
Dice roller
—Rolls
—Total
Coin flip
—Result
About the Random Number Generator
The Random Number Generator creates random numbers in a range, rolls dice and flips a coin. Use it for games, raffles, sampling, decisions and teaching probability.
Numbers are generated using the browser's cryptographically secure random generator when available. You can choose a minimum and maximum, how many numbers you want, the number of dice and the number of sides per die. Each result is independent of the last, so streaks happen naturally and do not mean the generator is broken.
How to use it
- Enter the minimum, maximum and how many numbers.
- Press Generate.
- For dice, set the number of dice and sides, then press Roll.
- For a coin, press Flip.
Tips and good to know
- Make the range inclusive of both ends.
- For lotteries, remember that every combination has an equal chance.
- Do not use it for security keys; use the Password Generator.
Frequently asked questions
Can numbers repeat?
Yes, each draw is independent.
Can I roll a 20-sided die?
Yes, set sides to 20.
Is it fair?
Yes, each outcome has equal probability.