Random Team Generator
Paste a list of names and split them into random teams, by number of teams or by team size, with team sizes never more than one apart.
Runs entirely in your browser. Nothing you enter is uploaded.
Written and maintained by ReadoutKit / Takashi Yamazaki
How this works
Faster than drawing straws, and harder to argue with
Workshop breakouts, classroom groups, five-a-side football, game night. When someone picks the teams, people wonder why they ended up where they did; when you make paper slips, it takes time. This tool takes a pasted list, shuffles everyone at random and deals them out to the teams in turn. Every possible split is equally likely, so no two people are more or less likely to be grouped together than any other two.
You can choose the number of teams or the number of people per team. When the numbers do not divide evenly, team sizes are kept within one person of each other, and choosing a team size never produces an awkward extra team of one or two; leftovers join existing teams instead.
How many ways are there to split a group?
The number of possible splits grows much faster than intuition suggests. Counting teams as unlabelled (swapping Team A and Team B does not create a new split), here is how many ways each group can be divided, and how likely two particular people are to land on the same team:
| People | Team sizes | Possible splits | Two given people together |
|---|---|---|---|
| 8 | 4 / 4 | 35 | 42.9% |
| 12 | 6 / 6 | 462 | 45.5% |
| 12 | 4 / 4 / 4 | 5,775 | 27.3% |
| 12 | 3 / 3 / 3 / 3 | 15,400 | 18.2% |
| 20 | 5 / 5 / 5 / 5 | 488,864,376 | 21.1% |
| 30 | 6 / 6 / 6 / 6 / 6 | 11,423,951,396,577,720 | 17.2% |
Eight people in two teams of four can only be split 35 ways, but twenty people in four teams of five can be split nearly 489 million ways, and thirty people in five teams more than ten quadrillion ways. Beyond a handful of people, the same split essentially never comes up twice.
The chance that two friends end up together, however, is far from small: about 45% when twelve people are split into two teams and about 27% with three teams. Once the first friend is placed, the second simply has to land in one of the remaining seats on that team, so larger teams mean higher odds.
Reshuffling does not separate old teammates
When a workshop rotates groups several times, organisers naturally want people to meet someone new each round. A random reshuffle, though, reunites a surprising number of previous teammates — and in some set-ups no arrangement at all can avoid it.
For a new team to contain no two people who were together last time, every member must come from a different previous team. That is only possible when the new team is no larger than the number of previous teams. If twelve people were in three teams of four, any new team of four must draw four people from three old teams, so two of them always share an old team. It is the pigeonhole principle at work.
| People | Team sizes | Pairs reunited by a random reshuffle (average) | Zero repeats possible |
|---|---|---|---|
| 12 | 6 / 6 | 13.6 | No |
| 12 | 4 / 4 / 4 | 4.9 | No |
| 12 | 3 / 3 / 3 / 3 | 2.2 | Yes |
| 12 | 2 / 2 / 2 / 2 / 2 / 2 | 0.5 | Yes |
| 20 | 5 / 5 / 5 / 5 | 8.4 | No |
| 20 | 4 / 4 / 4 / 4 / 4 | 4.7 | Yes |
Reshuffling twelve people in three teams of four reunites about five pairs on average, and no arrangement gets that to zero. The same twelve people in four teams of three can be arranged with no repeats at all, and even a random reshuffle reunites only about two pairs. If mixing people up matters, smaller teams help more than anything else.
Getting the most out of random teams
Balance first, then mix
To spread an attribute evenly — experience, department, year group — split each subgroup separately into the same number of teams and then join the matching teams together. It guarantees an even mix in a way a single random draw cannot.
Make the teams in front of everyone
Teams handed out on paper invite the suspicion that someone arranged them. Pressing the button on a projected screen shows that nobody did.
Four or five is a good size for discussion
Groups of three stall when one person is missing, and beyond about seven, quieter members stop contributing. If you are not sure what size to choose, start with four or five per team.
Common questions
- What happens when the numbers do not divide evenly?
- Teams are balanced so that sizes never differ by more than one: thirteen people in four teams become 4, 3, 3 and 3. When you choose a team size instead, leftover people are added to existing teams rather than forming a tiny extra team, so ten people in teams of four become two teams of five, not 4, 4 and 2. A team of two collapses as soon as one person is absent.
- Can I balance teams by skill or another attribute?
- The tool splits everyone in one random draw. To balance an attribute, split each group separately and then combine them: put only the experienced players in the list and make four teams, then do the same with the beginners, and join Team A with Team A, Team B with Team B, and so on. Every team ends up with the same mix.
- Can I avoid putting the same people together again?
- Getting exactly the same split twice is very unlikely — twelve people in three teams can be split 5,775 ways. But some pairs from last time will almost always end up together again, and when teams are larger than the number of teams, it is mathematically impossible to avoid. The table in the article shows how using smaller teams reduces repeat pairings.
- Are the names sent anywhere?
- No. The split happens entirely in your browser, and the list is saved only in this browser so you do not have to retype it next time.
- How do I share the result?
- Press Copy teams to copy the result as “Team A: Olivia, Liam, …”, ready to paste into a chat or email. Making the teams live on a projected screen also shows the group that nobody adjusted them.