Random team generator
Split a list of names into fair random teams.
Related tools
Random team generator
Paste a list of names, one per line, and split it into random teams with one click. Teachers use it to form groups for classroom projects without the usual negotiation, coaches split players into balanced sides for five-a-side practice, and workshop facilitators break a room into discussion groups or pair-programming duos in seconds. Because the assignment is random, nobody can claim the teams were stacked.
Choose how to split: by the number of teams you need, or by how many members each team should hold. In number-of-teams mode the names are dealt round-robin, so team sizes never differ by more than one — nine people over four teams gives 3+2+2+2, not one crowded team and one pair. In team-size mode every team gets exactly the size you set and only the last team may come up smaller. Empty lines are skipped by default so a list pasted from a spreadsheet works as-is, and "Numbered members" adds 1., 2., 3. inside each team when you need positions or an order.
Fairness comes from a Fisher–Yates shuffle driven by the browser's cryptographic random number generator with rejection sampling, so every arrangement of names is equally likely — no bias toward the top of the list and no repeating pattern. Run it again for a completely fresh draw.
Everything happens in your browser: the class roster or employee list is never uploaded anywhere. The tally under the output shows how many names went in, how many teams came out and each team's size.