Random team generator
Paste the names, choose how many teams or how many people per team, and get fair random teams whose sizes differ by one at most.
Teams
How to use it
- Paste the players or students, one name per line.
- Choose Number of teams or People per team and set the number.
- Press Make teams. Not happy with a lineup? Press it again for a new random split.
Even teams, every time
The generator shuffles the whole list, then deals the names out one at a time, like cards, around the teams. That keeps team sizes within one of each other: 14 people into 3 teams gives 5, 5 and 4. With People per team, 14 people in teams of 4 gives four teams of 4, 4, 3 and 3, rather than three full teams and a lone player.
| People | Setting | Team sizes |
|---|---|---|
| 12 | 2 teams | 6, 6 |
| 14 | 3 teams | 5, 5, 4 |
| 14 | 4 per team | 4, 4, 3, 3 |
| 25 | 5 teams | 5, 5, 5, 5, 5 |
Fair by construction
The shuffle is Fisher–Yates with crypto.getRandomValues and rejection sampling, so every arrangement of the list is equally likely and the order you typed the names in has no effect on who ends up together. The list stays in your browser.
To draw single names in turn instead, use the random name picker.
Related tools
Questions people ask
How do I make random teams from a list of names?
Paste the names one per line, choose the number of teams, and press Make teams. Copy teams gives you the result as text for a chat or a document.
What happens when the names do not divide evenly?
Some teams get one extra person. The sizes never differ by more than one.
Can I balance teams by skill?
Not automatically. A simple way: run the generator on your strongest players first to spread them, then on everyone else, and combine the lists team by team.
