Randomly split a group into teams
Split a list of participants into as many teams as you need, randomly and as evenly balanced in size as possible.
Shuffles the full list randomly and then distributes participants one by one across teams, so each team's size differs by at most one participant.
Use cases
- Forming teams for a match or sports activity.
- Splitting a class into working groups.
- Organizing teams for a game or activity.
How it works
- 1
Type the participants
One per line.
- 2
Choose the number of teams
Click Form teams to split them randomly.
Technical details
- Type one name per line (empty lines are ignored) and choose 2 to 10 teams. If there are fewer people than teams, as many teams as people are formed.
- It shuffles the list with the Fisher-Yates algorithm and crypto.getRandomValues, then deals names in turn: teams never differ by more than one person.
- It doesn't account for skill levels, pairs or constraints: it's a pure draw. Each new draw is independent of the previous one.
- The list is processed in your browser and isn't stored.
Frequently asked questions
Are teams always the same size?
They are distributed as evenly as possible; if the number of participants isn't a multiple of the number of teams, some teams will have one more participant than others.
Can I re-roll if I don't like the result?
Yes, just click Form teams again to generate a new random combination from the same list.
Is there a maximum number of participants or teams?
There's no fixed limit; it works with any reasonable list of names, one per line.
Is the participant list stored anywhere?
No, the list is processed in your browser and never sent to a server.