Works on this device
Random Team Generator
Paste your names, say how many teams you want, and choose Make teams. The tool mixes the names and deals them into teams of equal size. You can also ask for teams of a set size, such as pairs or groups of four. The teams are made on your device.
Enter the names
Check these values
This is off unless you turn it on. Saved entries stay in this browser only. Untick the box to delete them.
The teams are made in this browser. The names are not sent to a server.
Your teams will show here
Choose Make teams to split the names.
Your teams
How it was worked out
How to make random teams
- Type or paste the names in the box, one on each line. You can also type them on one line with commas between them.
- Enter the number of teams. To set the team size instead, choose Into teams of a set size in the first menu.
- Choose how the teams are named: Team 1, Team A, or your own team names.
- Choose Make teams. Choose it again to mix the people in a new way.
- Use Copy teams, Download CSV or Print to share the teams.
How the team sizes are set
- Into a set number of teams: the sizes are as equal as possible. No two teams differ by more than one person. When the people do not split evenly, the first teams in the list get one person more. For example, 12 people in 5 teams give two teams of 3 and three teams of 2.
- Into teams of a set size: the tool makes as many full teams as it can. For the people left over you choose one of three rules.
- Add them to the teams: the people left over join the full teams, starting with the first team. For example, 12 people in teams of 5 give 2 teams of 6.
- Put them in one smaller team: 12 people in teams of 5 give two teams of 5 and one team of 2.
- Leave them out as reserves: 12 people in teams of 5 give two teams of 5 and 2 reserves. The same shuffle decides who is a reserve.
- Captains, under More options, are fixed people. The first captain leads team 1, the second leads team 2, and so on. Captains are not mixed, and they count in the team size.
What fair means here
The tool first works out the team sizes from your settings. Then it mixes the names so that every order of the list has the same chance. Then it deals the mixed list to the teams in order. So every person has the same chance to land in each place, and the mix does not depend on earlier mixes.
To mix the list, the tool asks your browser for random bytes from its secure generator (the Web Crypto function crypto.getRandomValues) and uses the shuffle known as Fisher-Yates. The tool never uses Math.random.
Fair here means fair by chance. The tool does not know who is strong, who is new or who are friends. If you need teams of equal strength, mix the strong players and the other players in two separate runs.
Worked example
You have 30 pupils and want 7 groups. 30 ÷ 7 is 4 with 2 left over. So the first 2 groups have 5 pupils and the other 5 groups have 4 pupils: 2 × 5 + 5 × 4 = 30.
You have 23 players and want teams of 4. That gives 5 full teams and 3 players left over. With Add them to the teams you get three teams of 5 and two teams of 4. With Put them in one smaller team you get five teams of 4 and one team of 3. With Leave them out as reserves you get five teams of 4 and 3 reserves.
Limits you should know
- A list can hold up to 1,000 names, and one name can have up to 100 characters. You can make 2 to 500 teams, or teams of 2 to 500 people.
- Teams are balanced by the number of people only, not by skill, age or any other trait.
- Rules such as "keep these two people apart" or "keep these two together" are not offered.
- The tool does not make up team names, and it does not make a match schedule. You can type your own team names.
- Two people with the same name are two people. Add a letter to tell them apart.
- The page does not send the names to a server. It saves them in this browser only when you tick Save my entries on this device.