Random Team Generator

Type or paste one name per line (commas work too), choose how to split them and press Make teams. Press it again for a fresh shuffle.

How the draw works

Your names are shuffled with a Fisher-Yates shuffle that uses crypto.getRandomValues, so every ordering is equally likely. The shuffled list is then dealt out round by round, like cards, which keeps team sizes within one player of each other. If the names do not divide evenly, which teams get the extra player is random as well. Duplicate lines are kept (two people may share a name), blank lines are ignored.

When to use it

Pick-up games, classroom groups, office quizzes, board game nights, hackathon groups and sports practice are all quick jobs for a random split. Because nobody chooses, nobody can be accused of picking favourites. For a single winner use the random name picker; for a visual draw use the team picker wheel; for secret gift assignments try the Secret Santa wheel.

FAQ

How does the random team generator work?

It shuffles your list with a Fisher-Yates shuffle driven by your browser's cryptographic random generator, then deals the names out to the teams one by one, like cards. Every possible split is equally likely.

What if the names do not divide evenly?

Teams differ by at most one player. With 10 names and 3 teams you get teams of 4, 3 and 3. The larger teams are picked at random too, so the same team is not always the bigger one.

Can I make teams of a fixed size?

Yes. Switch the mode to players per team and enter the size. The page works out how many teams are needed, so 11 names with a size of 4 gives teams of 4, 4 and 3.

Can I keep two people on the same team or apart?

This tool is a pure random draw and does not support constraints. If you need to keep people together, give them one combined entry such as "Sam & Alex" and note that it counts as one slot.

Is my list stored anywhere?

No. The names are processed in your browser and are never uploaded. Your last list is kept only in your own browser storage so it is there when you come back, and you can clear it with the Clear button.

See also: random name picker · team picker wheel · Secret Santa wheel · dice roller · coin flip