ReadoutKit

Random Name Picker

Paste a list of names and draw one or more winners at random, with a fair shuffle and the option to keep drawing for second and third prizes.

Runs entirely in your browser. Nothing you enter is uploaded.

Written and maintained by ReadoutKit / Takashi Yamazaki

How this works

A fair draw is a fair shuffle

Raffle prizes, the order of presentations, who does the dishes: whenever someone has to be chosen, the people who were not chosen accept the result only if they believe the method was fair. This tool shuffles the whole list at random and takes the winners from the top. Because every person is equally likely to land in every position, each person’s chance of winning is simply the number of winners divided by the number of entries, whether you draw one name or ten.

The randomness comes from the browser’s cryptographic generator rather than the quick generator most code uses by default. For everyday tasks the difference rarely matters, but when there is a prize at stake and someone asks whether the draw was really random, it is the cryptographic source you can point to.

Ladder lotteries are less fair than they look

In Japan, a popular way to assign prizes is the ladder lottery, or amidakuji: vertical lines with prizes at the bottom and horizontal rungs drawn at random between them. Each player picks a line at the top and follows it down, crossing every rung they meet. It feels random, but with few rungs it is strongly biased towards landing directly below where you started, because each rung only moves you one line sideways. Simulating 20,000 random ladders with five lines gives these odds; a fair draw would put every one of them at 20%.

Rungs drawnLeft → leftLeft → rightMiddle → middle
354.9%0.0%31.2%
545.2%1.2%24.8%
1032.9%7.4%20.3%
2024.7%15.2%20.0%
5020.6%19.7%20.1%

With five rungs, the player who starts on the far left ends on the far left about 45% of the time and reaches the far right only about 1% of the time. Even twenty rungs leave a 25% chance of staying put, and the odds only even out at around fifty rungs — far more than anyone draws by hand. Anyone who knows where the prize is and gets to choose a starting line has a real advantage. Shuffling the whole list removes that problem entirely.

The same lesson applies to other homemade methods. Drawing names from a hat works only if the slips are folded the same way and mixed thoroughly; shuffling a deck of cards needs about seven riffle shuffles to be properly random. When fairness matters, it is easier to let a well-made algorithm do the mixing.

Drawing first or last makes no difference

When people take turns drawing from a box, someone always argues that going first is better, and someone else insists the last ticket is lucky. Before anyone draws, though, every position has exactly the same chance. Here is a box of ten tickets with one winner:

Chance before anyone drawsChance if everyone before missed
Drawing 1st10.0%10.0%
Drawing 2nd10.0%11.1%
Drawing 3rd10.0%12.5%
Drawing 5th10.0%16.7%
Drawing 8th10.0%33.3%
Drawing 10th10.0%100.0%

Watching others miss makes the later positions feel increasingly promising — if nobody has won by the tenth draw, the last person is certain to. But that only happens in the lucky case where everyone ahead missed. Counting the cases where someone ahead takes the prize as well, every position comes out at exactly 10%. If people argue about the order, you can tell them it genuinely does not matter.

Running a draw people trust

Show the list first

Letting everyone check that their name is on the list before you draw prevents the suspicion that someone was left out. Drawing on a shared screen also shows that nobody had the chance to interfere.

Decide in advance what happens if a winner is absent

Agree beforehand whether you redraw or move to the next name. With winners removed from the list, a redraw can never pick the same person again.

Announce any weighting

Giving some people extra tickets is perfectly fair when it is the stated rule, such as one entry per purchase. Doing it quietly is not, and it tends to come out.

Common questions

Is the draw really random?
It uses the browser’s cryptographic random number generator (crypto.getRandomValues), the same source used to generate passwords and encryption keys, so the next value cannot be predicted. The whole list is then shuffled with the Fisher–Yates algorithm, which makes every possible order equally likely, and winners are taken from the top. Some common shortcuts for shuffling a list in code favour certain orders; this method does not.
How do I draw second and third prizes?
Leave “Remove winners from the list” switched on and press Draw again. Each winner is taken off the list, so nobody can win twice. Drawing three names at once and awarding prizes in the order they were picked is just as fair.
Can I give someone a better chance?
Write their name on more than one line and they hold more than one ticket. If one person out of ten is listed twice, their chance of being the single winner is 2 in 11 and everyone else’s is 1 in 11. This is a fair way to weight a raffle by tickets bought or visits made, as long as the rule is announced.
Are the names stored or uploaded?
They are never uploaded. To save you retyping the list, it is kept in this browser only. On a shared computer, clear the box when you are done and the list is gone.
Is drawing first better than drawing last?
No. Before anyone draws, every position has the same chance. Drawing later only looks better after you have watched other people miss, and drawing earlier only looks better if you imagine someone ahead of you taking the prize. Averaged over every way the draw can go, the positions are identical.

Other tools