A fair way to choose a name
Pulling names from a hat works, until someone asks whether the slips were folded the same way. This random name picker gives every name exactly the same chance. It uses the Web Crypto random number generator built into modern browsers and a method called rejection sampling, which avoids the small bias that simpler “random number modulo list length” code can introduce. When you ask for several winners, the tool shuffles the whole list with the Fisher–Yates algorithm and takes the first names, so nobody can be drawn twice in the same draw.
Empty lines and extra spaces are ignored. Duplicate names are kept on purpose, because some giveaways give extra entries; if you want each person to count once, clean the list first with the remove duplicate lines tool.
Picking several winners and removing names
Set “How many winners” to draw more than one name at once. The winners are listed in the order they were drawn, which is handy for first, second and third prizes. Tick “Remove picked names from the list” when you run a draw in rounds, such as choosing who presents next in class: each pick deletes the chosen names from the box so they cannot come up again. Untick it if the same person may win more than once over several draws.
Shuffling and making random teams
Shuffle list puts every name in a new random order inside the box, which is useful for speaking orders, turn orders in games or seating plans. Make teams splits the list into groups either by the number of people per team or by the number of teams you need. Names are shuffled first and spread as evenly as possible, so team sizes never differ by more than one person.
Ideas for using the name picker
- Classrooms: cold-call students fairly, choose helpers or build project groups.
- Giveaways and raffles: paste entrant names or handles and draw winners on a shared screen.
- Offices and clubs: pick a secret gift exchange order, meeting facilitator or lunch spot.
- Game nights: decide who goes first, then use the dice roller for the game itself.
Comparing two lists of entrants first? The compare two lists tool shows who appears in one but not the other.