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

  1. Enter the minimum, maximum and how many numbers.
  2. Press Generate.
  3. For dice, set the number of dice and sides, then press Roll.
  4. For a coin, press Flip.

Tips and good to know

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.