Random number generator

Pick one or many random numbers in any range, with or without repeats. Fair, cryptographically secure draws for giveaways, raffles and classrooms.

Cryptographically secureNo-repeat drawsFree, no sign-up

Settings

Result

Press "Generate" to start

Using a random number generator

1. Common uses

  • Picking winners for social media giveaways and livestream lucky draws.
  • Calling on students or assigning seats in class.
  • Simulating dice rolls or coin flips (allow duplicates).
  • Choosing random samples for surveys and tests.

2. Running a fair draw

  1. Number your entries (for example 1 to 250) and publish the list first.
  2. Set the range and number of winners, with duplicates turned off.
  3. Draw live on screen and copy the result so everyone can check it.

Frequently asked questions

Is this random number generator truly random?

It uses your browser's cryptographically secure random generator (crypto.getRandomValues) with rejection sampling, so every number in the range has exactly the same chance.

Can I pick several winners without repeats?

Yes. Set the quantity and leave "Allow duplicates" unchecked. Each number can then only be drawn once, which is ideal for giveaways and lucky draws.

What is the largest range supported?

Any whole-number range up to about 4.29 billion values, for example 1 to 4,000,000,000, and up to 1,000 numbers per draw.