How to create random teams
Enter one participant per line and choose the number of teams. Blank lines are ignored. The generator shuffles the list and assigns every participant once; copy the result to share the group assignments.
Balanced sizes and duplicate names
Team sizes differ by no more than one person: ten people in three teams gives groups of four, three and three. Balance refers to headcount, not skill. Identical names count as separate participants, so add initials to tell them apart.
How the shuffle works
When you press Generate teams, the list is shuffled with the Fisher–Yates algorithm, using random values from your browser’s Web Crypto API rather than Math.random, so every possible order of names is equally likely. The shuffled names are then dealt out like cards: the first goes to Team 1, the second to Team 2, and so on, wrapping back to Team 1 after the last team. When people don’t divide evenly, the extra members land in the lowest-numbered teams, which is why ten names in three teams always make Team 1 the group of four. Each team heading shows its size, and the status line numbers the rounds so you can tell a fresh draw from the previous one.
Limits, spaces and copying
You can enter 2 to 500 participants with up to 80 characters each and ask for 2 to 50 teams, but never more teams than people. Spaces at the start and end of a line are trimmed. Copy results puts plain text on the clipboard: one block per team, its heading first and then one name per line, ready to paste into a chat, a spreadsheet or a document. If the browser blocks clipboard access, the result is selected so you can copy it by hand. Use example names loads four sample names and splits them into two teams, a quick way to see the format before typing your own list.
Ideas for random groups
Teachers use random teams for group projects and study pairs, coaches for scrimmages, and hosts for quiz nights or board-game tables. For pairs, set the number of teams to half the number of people; with an odd count, one group gets three. To decide which team starts, follow up with a coin flip or the dice roller. If you need choices with different odds instead of equal groups, such as prizes or challenges, build them on the custom wheel.

