Random Team Generator, Split Names into Groups

Split a list of names into random balanced teams. Fair grouping for classrooms,

2

Team Generator

Enter a list of names and choose how many teams you want, the generator splits everyone into random, balanced groups instantly. The assignment uses the Fisher-Yates shuffle algorithm to ensure genuinely random, unbiased distribution. If the names don\'t divide evenly, extra members are distributed one per team from the first group onward. Classroom teachers use team generators daily to form lab groups, discussion teams, and project partners without bias. Unlike letting students self-select (which tends to create imbalanced cliques), random assignment gives everyone an equal chance of working with any classmate. Sports coaches use it for pickup game teams, paste the names of everyone who showed up and split into two squads. The interface is straightforward: paste names (one per line), set the number of teams (2 to 10+), and click generate. The result displays labeled teams with their assigned members. Regenerate as many times as you want, each split is freshly randomized.

How it works

The generator reads the input names, one per line, and filters out blanks. It then shuffles the entire list using the Fisher-Yates algorithm (a proven O(n) shuffle that produces every permutation with equal probability). The shuffled list is then divided into the requested number of groups by round-robin assignment: person 1 to team 1, person 2 to team 2, ..., wrapping back to team 1 after the last team. This ensures teams differ in size by at most 1 person when the total doesn\'t divide evenly. Each team is displayed with its assigned names.

When to use this tool

Teachers split classes into project groups, lab partners, or debate teams. PE teachers form pickup game squads for gym class. Office managers create random lunch groups for team-building. Hackathon organizers sort participants into cross-functional teams. Tournament directors create brackets or pools. Summer camp counselors form activity groups. Training facilitators split workshop participants into breakout rooms.

Frequently asked questions

Are the teams truly random?

Yes. The Fisher-Yates shuffle ensures every possible arrangement has equal probability. No name is more likely to end up on any particular team.

What happens if the numbers don\'t divide evenly?

Extra members are distributed to earlier teams. For example, 7 people split into 3 teams gives teams of 3, 2, and 2 (or similar balanced splits). The difference is always at most 1 person.

Can I regenerate if I don\'t like the teams?

Yes. Click generate again and a completely new random assignment is created. Each generation is independent, there\'s no memory of previous splits.

Can I set minimum or maximum team sizes instead of team count?

The current interface lets you set the number of teams. To target a specific team size, divide your total names by your desired size. For 20 people in groups of 4, set the team count to 5.

Can I keep certain people together or apart?

The generator assigns purely at random with no constraints. If you need to keep specific people together, put them on one line separated by " & " and treat the pair as one entry, then manually split them into the assigned team.

Related tools

Name Picker for drawing one name

Who Goes First for turn order

List Randomizer to shuffle a list

Winner Picker for contests