Random name picker
Paste a list of names and draw one or more winners without repeats, or divide everyone into balanced teams. The draw uses your browser's secure random generator, and the names never leave your device.
How to use it
- Type one name per line in Names.
- Choose Pick winners or Split into teams and set the Number of winners / team size.
- Click Run. Click it again for a brand new draw.
Complete guide to drawing names and making teams
What the name picker is for
Choosing a giveaway winner, assigning a presenter, deciding who goes first, or splitting a class into groups are all situations where nobody wants to be accused of bias. This tool takes a list of names, one per line, and either draws one or more winners without repeats or divides everyone into balanced teams. Names stay in your browser and are not stored.
How the draw works
The tool cleans the list first: it trims spaces, ignores empty lines and, if Ignore repeated names is ticked, removes repeated names regardless of capital letters, so Ana and ana count as one. Then it shuffles the whole list with the Fisher-Yates algorithm, using your browser's secure random generator with rejection sampling so every name has exactly the same chance. Winners are simply the first names after the shuffle, which guarantees no one wins twice in the same draw. Every click reshuffles from scratch and nothing is remembered.
How teams are formed
With Split into teams, the number you enter is the team size. The tool creates the smallest number of teams that respects it, which is the number of names divided by the size, rounded up, and deals the shuffled names into them one at a time. Team sizes therefore differ by at most one person.
| People | Team size | Teams | Team sizes |
|---|---|---|---|
| 8 | 3 | 3 | 3, 3, 2 |
| 7 | 3 | 3 | 3, 2, 2 |
| 10 | 4 | 3 | 4, 3, 3 |
| 12 | 4 | 3 | 4, 4, 4 |
Worked example
- Keep the default list in Names (one per line): Ana, Bruno, Carla, Diego, Elena, Felipe, Gabi and Hugo.
- Choose Pick winners, set Number of winners / team size to 2 and click Run. The Result shows two different names numbered 1 and 2. Which two appear is random and changes on each click.
- Now choose Split into teams with the number set to 3. The Teams table has the columns Team, Members and People. With 8 names you always get three teams of 3, 3 and 2 people, but who is in each team changes with every run.
- Ask for 10 winners from these 8 names and you get the message that you asked for 10 but there are only 8 names.
Tips and common mistakes
- If two different people share a name, untick Ignore repeated names or add a number or initial to tell them apart, for example Ana S and Ana M.
- In team mode, a size of 1 gives one person per team, and a size larger than the list gives a single team.
- For a public giveaway, announce the rules beforehand and consider recording the screen while you run the draw. Check the rules that apply to promotions where you live, since this tool does not certify a draw.
- Drawing again is always possible, so agree before starting whether a re-draw is allowed.
Related tools
For dice and coin flips use the dice roller, and for a random number in a range use the random number generator.
Questions
Is the draw really random and fair?
Yes. It uses crypto.getRandomValues with rejection sampling and a Fisher-Yates shuffle, so every name has exactly the same chance and there is no modulo bias.
Can the same name win twice?
No. Winners are drawn without repeats. Run it again for a new draw; the previous result is not remembered.
How are teams formed?
The list is shuffled and dealt into the smallest number of teams that respects your team size, so teams differ by at most one person.
What about duplicate names?
By default repeated names are ignored. Untick the option if two people share a name, or add a number or initial to tell them apart.