Skip to content
TextArray
100% local

Random team generator

Split a list of names into fair random teams.

Input
Output

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.

FAQ

How does the tool keep team sizes fair?
Names are shuffled and dealt round-robin, one to each team in turn, so sizes differ by at most one member. In team-size mode every team is the exact size you set and only the last one may be smaller.
Is the assignment genuinely random?
Yes. It uses a Fisher–Yates shuffle with the browser's cryptographic random number generator and rejection sampling, so every possible split is equally likely.
Why does it say there are more teams than names?
You asked for more teams than the list has names, so some teams would be empty. Lower the number of teams or add more names.
Can I redo the draw if the result feels unlucky?
Yes. Every press of the button reshuffles from scratch and produces a completely new split.
Is my list of names uploaded anywhere?
No. The shuffle runs entirely in your browser and your list never leaves your device.