Random Team Generator
The Random Team Generator lets you paste a list of names (one per line) and instantly divide them into balanced teams. You can choose either how many teams you want or how many players each team should have — the tool calculates the best split automatically and shuffles participants using the Fisher-Yates algorithm, ensuring a truly unbiased distribution.
Once generated, each team is displayed with a clear label and player count. A reshuffle button lets you redistribute names in one click, and the copy button exports the full result as plain text so you can paste it into a chat, spreadsheet, or document. Perfect for sports events, classrooms, hackathons, online games, and any group activity.
How it works
Uses the Fisher-Yates shuffle: iterate from the last element to the first, swapping each element with a random element at or before its position. After shuffling, players are assigned to teams in round-robin order (player i goes to team i % teamCount), guaranteeing teams differ by at most one player.
Use cases
- Dividing sports players into balanced teams for a pickup game
- Splitting students into project groups in a classroom
- Assigning participants to breakout rooms in online workshops
- Forming random squads for team-based video games
- Organizing event volunteers into work shifts or stations
Frequently asked questions
How does the random team generator split names fairly?
It first shuffles the full list of names with the Fisher-Yates algorithm, which makes every possible ordering equally likely, and then assigns players to teams in round-robin order. Because the shuffle is unbiased, the order in which you typed the names has no influence on the final teams.
What happens if the names do not divide evenly into teams?
The round-robin assignment guarantees that team sizes differ by at most one player. For example, 10 names split into 3 teams produces teams of 4, 3, and 3 — the leftover players are spread across the first teams rather than dumped into the last one.
Can I choose how many players per team instead of the number of teams?
Yes. You can set either the number of teams you want or the number of players each team should have, and the tool calculates the best split automatically. This is handy when the format is fixed, such as 5-a-side football or pairs for a class activity.
How do I generate different teams if I do not like the result?
Click the reshuffle button and the tool redistributes all names in one click. Each reshuffle is an independent Fisher-Yates pass, so previous results have no effect on the new draw.
How do I share the generated teams with my group?
Use the copy button to export the full result as plain text, then paste it into a chat, spreadsheet, or document. Each team is labeled and shows its player count, so the output is ready to send as-is.