Random Team Generator
Split a list of names into random, even teams
About Random Team Generator & FAQs
Paste a list of names and split it into a set number of teams or teams of a set size. Teams are random and as even as the numbers allow, you can keep chosen people together, pick random captains, reshuffle and copy the result.
How are the teams made random?
The names are shuffled with the Fisher-Yates method: starting from the end of the list, each entry is swapped with a randomly chosen entry at or before it. Every possible order is equally likely, and each press of Reshuffle starts again.
How are team sizes kept even?
After shuffling, each name goes to whichever team currently has the fewest people. Sizes therefore differ by one at most: 13 people in 3 teams gives 5, 4 and 4. Groups you keep together are placed first, largest first, so they fit without unbalancing the teams.
How does teams of a set size work?
The number of teams is the head count divided by the size, rounded up. With 13 people and 4 per team that is 4 teams, filled evenly as 4, 3, 3 and 3 rather than leaving one person alone.
Extensible Module
Standalone component src/tools/utilities-extra/TeamGeneratorTool.tsx; the split is makeTeams() in src/tools/utilities-extra/math.ts and accepts a seeded random function.
src/tools/team-generator/