Random Number Generator

Pick truly random numbers in any range, with or without repeats.

Quick:

🔒 Runs entirely in your browser. Nothing you enter is uploaded or stored.

What is the Random Number Generator?

This random number generator picks numbers from any range you choose. Get a single number for a quick decision, roll a die, flip a coin, or produce thousands of values for testing, sampling or a raffle. Turn on No repeats to draw unique numbers, like pulling tickets from a hat.

The numbers come from crypto.getRandomValues, your browser's cryptographically secure generator, and the tool avoids the "modulo bias" that makes some simple generators favor certain numbers. Every value in the range has exactly the same chance.

How to use the Random Number Generator

  1. Enter the lowest and highest number. Both ends are included.
  2. Set How many numbers you need, and tick No repeats for unique draws.
  3. For decimals, set the number of decimal places.
  4. Click Generate, or use a quick preset such as Dice.

Frequently asked questions

Are these numbers truly random?

They come from the operating system's cryptographically secure random source via your browser. That is the same quality used for encryption keys, far better than Math.random().

Can I use this for a giveaway or raffle?

Yes. Number your entries, set the range from 1 to the number of entries, choose how many winners and tick No repeats. Take a screenshot for transparency.

Are the minimum and maximum included?

Yes. A range of 1 to 6 can return 1, 2, 3, 4, 5 or 6, each with equal probability.