How to use the random team generator
- Type or paste your list into Names (one per line). Blank lines are ignored, and the counter shows how many people will be split. For names separated by commas or tabs, press Split commas and tabs into lines first.
- Under Split by, choose Number of teams or People per team, then type the number. A preview line shows the sizes you will get.
- Pick a style under Team names: Team 1, Team A or Red Team.
- Leave Keep team sizes even ticked for the fairest split, or untick it for random sizes.
- Press Generate teams, then Shuffle again for a fresh split. Copy teams puts the result on your clipboard.
How the teams are made
The list is shuffled with a Fisher-Yates shuffle driven by your browser's cryptographic generator, crypto.getRandomValues. Rejection sampling keeps every ordering equally likely, and the shuffled list is then cut into teams.
With even sizes, N people in T teams give every team N divided by T, rounded down, and the remainder teams get one extra person, chosen at random. With People per team, the tool makes N divided by the size, rounded up, teams and evens them out, so none exceeds your size. With even sizes off, Number of teams gives each team one person and sends everyone else to a random team, while People per team fills full teams and puts the leftovers on a smaller one.
Worked example with the default list
The default list holds 10 names, Alex to Robin, so the counter reads 10 people. With 2 teams and even sizes, the tool shows 10 people split into 2 teams of 5. and two cards, Team 1 and Team 2, with five names each. Switch to People per team and enter 4, and the preview reads 3 teams: 1 of 4 and 2 of 3. The summary becomes 10 people split into 3 teams of 4, 3 and 3.
Limits and edge cases
- You need at least 2 people and between 2 and 100 teams. Too many teams, or a team size as big as the list, shows a message instead of a result.
- Each line is one person, so a name entered twice counts as two people. A note under the counter tells you when that happens.
- The split is random, not balanced by skill or friendships, and the tool does not remember earlier splits. Your list stays in your browser and is never uploaded.
Need one winner instead of teams? Use the random name picker. To decide which team goes first, flip a coin online, or let the spin the wheel pick a captain.
Frequently asked questions
How do I split a list of names into random teams?
Paste one name per line, choose Number of teams, enter how many you want and press Generate teams. Each press reshuffles the whole list.
How do I make teams of a certain size?
Switch Split by to People per team and enter the size. With 10 names and a size of 4, you get 3 teams of 4, 3 and 3, because 10 divided by 4 rounds up to 3 teams.
What happens when the group does not divide evenly?
The leftover people each join a different team, so sizes never differ by more than one. For 13 people in 4 teams you get one team of 4 and three teams of 3.
Will the same people end up together if I press Generate twice?
Each press is independent. With the default 10 names in 2 teams of 5, any two people share a team 4 times out of 9, about 44%, on every press, so repeats are normal.
Can I balance the teams by skill level?
No, the split is purely random. For balanced skill, pick captains and let them draft, or deal players out by rating in a snake order by hand.