This random team generator takes a list of names and splits it into groups. You say how many teams you want, or how many people each team should hold, press the button, and every name lands in exactly one team. It is built for sports sides, project groups and class activities where nobody should be able to argue about who picked whom.
Teams or team size
There are two ways to set the split. In number of teams mode you choose from 2 to 50 teams, and the people are spread across them. In people per team mode you choose a size from 2 to 50 and the page works out how many teams that needs. The names go in one per line, up to 1,000 of them. Blank lines are ignored.
The page refuses requests that cannot work and tells you why. Asking for 5 teams from 3 names, or teams of 4 from a list of 4, gives a message instead of a broken result. In size mode a list that would need more than 50 teams is refused too, so choose a bigger team size.
When the names do not divide evenly
Team sizes never differ by more than one person. Split 10 people into 3 teams and you get 4, 3 and 3. In size mode the page rounds the number of teams up: 10 people at 4 per team make 3 teams, so no team is larger than the size you asked for. The extra places go to the first teams in the list, but who sits in them is random, so that order gives no one an edge.
Team leaders
To give every team a leader, write a space and a star after the names of people who may lead, for example "Ann *", and switch on the leaders option. Each marked person leads a different, randomly chosen team. If more people are marked than there are teams, the extra ones join teams as ordinary members, and the page tells you. If fewer are marked, the remaining teams simply have no leader, and you get a notice about that too. Switch leaders on without marking anyone and the page reminds you how to mark them.
Copy, print and what is stored on your device
Teams are labelled Team 1, Team 2 and so on, with the number of people in brackets. Copy teams gives you plain text: the team label, then one member per line, with a blank line between teams. A leader is marked "(leader)". There is also a print view for a paper copy. If the same name appears twice in the list, both entries stay in and are marked "(same name)", so you can tell whether it is a repeat or two people.
When you only need one or two people from a list rather than teams, the name picker is the right page.
The names you type are not uploaded. The page keeps your last setup in this browser under the key picker.v1.teams: the text of the list, the mode, the number you chose and whether leaders were on. That is so the page is ready when you return. It stays on this device until you clear the site's data.
Frequently asked questions
Number of teams or team size?
Use number of teams when you know how many sides you need. Use team size when the group size matters, such as pairs or fours, and let the page work out how many teams result.
What if the names do not split evenly?
Teams differ by at most one person, with the extra places going to the first teams. Which people fill those places is random.
Can I set team leaders?
Yes. Put a space and a star after a name, such as "Ann *", and turn leaders on. Each marked person leads a different team, and you get a notice if there are too many or too few leaders for the number of teams.
Can I print or copy the teams?
Yes to both. Copy produces plain text with one member per line, and the print view gives a clean page of the teams.
Are the teams different every time?
Yes. Each run shuffles the list again with the browser's cryptographic random source, so the same names can give different teams on the next press. The how random is it page explains how the shuffle stays fair.