Random Team Generator
Fairly divide participant lists into random teams by number of teams or people per team. Features captain assignment and copyable results.
Enter participant names and click 'Generate Teams' to see the random assignments here.
Usage Tips
Enter each participant on a separate line to make team setup easier
Enter participant names for class activities, company workshops, sports days, or game groups using line breaks or commas. Choose the number of teams or people per team to split everyone randomly, and if needed, pick captains together so the result is ready to share.
What is Random Team Generator?
Random Team Generator shuffles participant names and splits them fairly by either team count or people per team. It's ideal for classrooms, company workshops, study groups, and game matchmaking.
How to Use
- 1Enter participant names, one per line or separated by commas.
- 2Choose a split mode: by number of teams or by people per team.
- 3Optionally enable 'Pick captains first' before generating teams.
- 4Review results in card/table view, then use shuffle again, copy result, or reset.
Review randomness and equal distribution separately
Last reviewed: July 11, 2026Team distribution rule
base team size = participant count ÷ team count; distribute remainders one by one from the first team
Participants are shuffled, then assigned across the requested teams, keeping the team-size difference at no more than one person. Captain rules may be applied first.
Dividing 10 people into 3 teams
- • 10 participants
- • 3 teams
- • Random assignment with no captains
- 1. 10 ÷ 3 = 3 with remainder 1
- 2. Team sizes = 4, 3, and 3
- 3. Membership changes on each shuffle
The teams contain 4, 3, and 3 people, so the maximum size difference is one.
How to read the result
- Fisher-Yates shuffles the order, while equal distribution minimizes team-size imbalance.
- Preselecting captains adds a separate assignment rule to the random grouping.
Conditions that change the result
- Random assignment does not evaluate skill, gender, friendship, or role balance.
- Fairness depends on the operating rules, including the participant list and captain settings.
Common input mistakes
- Duplicate names may be treated as separate participants.
- More teams than participants can create empty or highly uneven teams, so check the inputs.
Reference Knowledge
- ●All processing runs locally in your browser with no server upload.
- ●After shuffling, remaining participants are distributed to keep team sizes as balanced as possible.
- ●With captain-first mode enabled, one captain is assigned per team before filling remaining slots.
- ●Use the copy feature to share team assignments quickly in chat or docs.
FAQ
Q.How does the random assignment algorithm work?
The tool utilizes the browser's standard pseudo-random number generation algorithm to mathematically shuffle the entire list of participants, completely independent of the order in which they were entered, before dividing them.
Q.What happens if the total number of participants cannot be divided equally?
An even-distribution logic is applied to ensure that the difference in size between any two teams never exceeds one person. For example, if you divide 10 people into 3 teams, the remaining person is assigned to the first team after shuffling, resulting in team sizes of 4, 3, and 3.
Q.How does the tool handle delimiters and duplicate names?
Both line breaks (Enter) and commas (,) are recognized as valid delimiters separating individual participants. Any trailing spaces or empty lines are automatically removed before processing. However, if the exact same name is entered multiple times, the system treats each as an independent participant. For people with the same name, we recommend adding a number or initial (e.g., John1, JohnA).
Q.How exactly does the 'Pick a captain for each team' option operate?
The system first randomly extracts a number of individuals equal to the total number of teams and assigns one as the captain for each team. The remaining unselected participants are then mathematically reshuffled and distributed evenly among the teams.
Q.Is there any risk of the participant names or results being stored or leaked?
This tool operates entirely on the client-side, meaning all calculations are performed locally within your web browser. The participant names you enter and the generated team results are never transmitted to or stored on any external servers.