The Random Team Generator takes a list of names and splits everyone into balanced, random teams in one click. It is perfect for classrooms, sports sessions, quiz nights, workshops and any time you need fair groups fast — and it runs entirely in your browser, so the names you paste never leave your device.
How it works
The tool uses a Fisher–Yates shuffle to randomise the order of everyone in the list, then deals the shuffled names into your chosen number of teams round-robin (one to each team in turn). This guarantees two things:
- Fairness — every name has an equal chance of being on any team.
- Balance — team sizes differ by at most one member.
Example
Pasting eight names and choosing two teams produces two groups of four. Pasting eleven names into three teams produces teams of 4, 4 and 3.
Because everything happens locally in your browser, you can re-shuffle as many times as you like with no network calls and complete privacy.
Why the Fisher–Yates shuffle matters
Not all “random” team-making is equal. A naive method — like repeatedly picking a random name from the list and assigning it — can produce biased distributions when implemented carelessly, because pseudo-random generators have subtle patterns at small scales. The Fisher–Yates shuffle avoids this: it iterates through the list in reverse, swapping each element with a randomly selected earlier position. The result is a uniformly random permutation, meaning every possible ordering of the names is equally likely. Round-robin dealing on top of that ensures the size imbalance is never more than one person.
How to enter names
The tool accepts names one per line or separated by commas. Both formats work at the same time — you can paste a column of names from a spreadsheet (which copies as newline-separated text) or type a comma-separated list in a single line. Blank lines and extra spaces are ignored.
Practical uses and tips
Sports and PE classes — Picking teams manually in front of a group always feels awkward for the last few people chosen. Using a random generator removes the social dynamic entirely and is perceived as fair by participants because the process is visibly neutral.
Workshop breakouts — When facilitating a session where you want groups to mix across departments or experience levels, randomise first and then optionally swap one or two people manually to fix a known clash. Starting from a random base is faster than trying to build balanced groups by hand.
Trivia and quiz nights — For pub quizzes and trivia nights, teams of equal size matter for fairness. Paste the evening’s attendees, pick four teams (or however many you need), and the tool handles the split.
Re-shuffling — If a draw produces a pairing that participants object to (two close friends on the same team when mixing was the point, for example), a single click re-shuffles to a completely new arrangement. There is no limit on how many times you can generate.
Hackathons and classroom activities — Random grouping prevents the formation of self-selected cliques and tends to produce more diverse thinking per team. Many facilitators deliberately use random assignment for exactly this reason.
A note on “fairness”
Random assignment is procedurally fair — the process gives everyone the same probability of any outcome — but it does not guarantee that teams are skill-balanced. For competitive settings where skill balance matters (company sports tournaments, for example), use the random draw as a starting point and then make manual swaps to even out the ability levels. The tool makes those manual swaps easy because you can keep reshuffling until you have a draw that is both random and roughly balanced on any dimension you care about.