UtilityNest

Random Number Generator

Pick a random number between any two values, draw several with no repeats, or paste a list of names and pick winners. Dice, coin flip and yes-or-no are one tap away.

Quick:
Order:

How to use Random Number Generator

  1. 1Set Min and Max, or tap a quick button like Dice 1-6.
  2. 2Choose how many numbers and whether repeats are allowed.
  3. 3Press Generate.
  4. 4For names, switch to Pick from a list and paste one per line.
  5. 5Copy the results.

Is it really random and fair?

Every number comes from your browser's secure random source (crypto.getRandomValues), the same one used to make encryption keys, not the predictable Math.random. We also throw away the few raw values that would make some results slightly more likely, so every number in the range has exactly the same chance.

We checked it: 600,000 dice rolls came out between 99,721 and 100,479 for each face, against an expected 100,000. A chi-square test gave 3.67, well under the 11.07 that would suggest a biased die. Nothing is sent to a server, and nobody, including us, can see or influence a draw.

Ways people use it

  • Giveaways and raffles: switch to Pick from a list, paste the entrants one per line, and pick the number of winners. Each name can win only once.
  • Classrooms and teams: pick who presents next, or set How many to the list size to shuffle the whole class into a random order.
  • Games: the Dice, Coin flip and Yes or no buttons give an answer in one tap.
  • Sampling and testing: draw up to 10,000 numbers with decimals, sorted low to high, and copy them into a spreadsheet. The sum and average show under the results.

No repeats, order and decimals

No repeats means each number can appear only once, like drawing numbered balls from a bag. If you ask for more numbers than the range holds, for example 6 different numbers between 1 and 3, the page tells you how many fit instead of failing silently. Turn it off for independent draws, like rolling a die several times.

Order keeps numbers as drawn or sorts them. Decimals gives up to 3 decimal places, and every value at that precision is equally likely, so 0.00 to 1.00 has 101 possible results. Drawing all 10,000 different numbers from 1 to 10,000 takes about 20 milliseconds.

Your settings and list stay on this device, so a weekly draw starts where you left it.

What random really looks like

True randomness looks less even than people expect, which is why fair draws are often accused of being rigged. Some exact numbers to keep in mind:

SituationChance
3 numbers from 1 to 10 with repeats allowed: at least two match28%
100 coin flips contain a run of 5 or more heads in a row81%
In a group of 23 people, two share a birthday50.7%
One entrant wins when 3 winners are drawn from 2001.5%
Matching all 6 numbers in a 6 of 49 lottery1 in 13,983,816

So a repeated number or a streak is not a sign that the generator is broken. If repeats would look bad, such as drawing raffle numbers, turn on No repeats instead of re-rolling until the result looks random.

Running a giveaway people trust

  1. Publish the rules first: who can enter, the closing time, how many winners, and how duplicates are handled.
  2. Clean the list: one line per entrant, duplicates removed according to your rules. Use Remove Duplicate Lines if comments came in more than once.
  3. Draw on camera or on a call: paste the list, set the number of winners, and let viewers see the result appear. A screen recording is your proof.
  4. Pick alternates at the same time: draw a few extra names in order, so a winner who does not reply can be replaced without a second draw.
  5. Post the result with the time of the draw and the number of valid entries.

The draw happens in your browser and nothing is sent to us, so keep your own copy of the entrant list and the recording.

Frequently asked questions

Can I pick a random name from a list?

Yes. Choose Pick from a list, enter one name per line and press Pick. To choose several winners, raise How many to pick. No one is picked twice.

What is the largest range?

Any whole numbers your browser can store exactly, up to about 9 quadrillion (2 to the 53rd power). Up to 10,000 numbers per draw.

Can I flip a coin?

Yes. Press Coin flip for Heads or Tails. Each side has exactly a 50% chance.

Are earlier results saved?

The last few short draws show under Earlier draws until you leave the page. They are not uploaded anywhere.

I got the same number twice. Is it broken?

No. With repeats allowed, matches are common: drawing 3 numbers from 1 to 10 gives at least one repeat 28% of the time. Turn on No repeats if every number must be different.

How do I pick backup winners?

Set the number of winners to include alternates, for example 3 winners plus 2 backups means picking 5, and use the order shown: the first 3 win, the next 2 are backups.