Random team generator
Split a list of names into a set number of teams or teams of a given size, with balanced sizes and optional fixed captains.
Loading tool…
Paste the names of everyone taking part, then choose either the number of teams or the number of people per team. The list is shuffled and dealt out so team sizes never differ by more than one: 11 people in 3 teams gives 4, 4 and 3.
When you choose "people per team", the generator makes as many teams as needed and spreads the remainder instead of leaving one tiny team: 11 people in teams of 5 becomes three teams of 4, 4 and 3 rather than 5, 5 and 1.
Captains are optional. List them one per line and each is placed at the head of a different team before everyone else is shuffled in; a captain who is also in the main list is not counted twice. "Copy teams" gives you a plain-text list ready to paste into a chat.
How to use it
- Paste the names, one per line (duplicates are merged).
- Choose "Number of teams" or "People per team" and enter the number.
- Optionally list captains, one per line, up to the number of teams.
- Press "Make teams", then "Reshuffle" for a different split or "Copy teams" to share it.
Frequently asked questions
Is it really random and fair?
Yes. Draws come from your browser's crypto.getRandomValues, the cryptographically secure generator defined by the W3C Web Cryptography API, rather than Math.random. The widget turns 32-bit random numbers into a choice with rejection sampling: values from the small top slice of the range that would favour some options are thrown away and redrawn, so every option has exactly the same probability.
How are uneven numbers handled?
People are dealt one at a time to the currently smallest team, so sizes differ by at most one. Which teams get the extra person is itself random.
Can I balance teams by skill?
Not automatically. A simple workaround is to list your strongest players as captains so they start in different teams, then let the rest be shuffled.
What if I list more captains than teams?
The generator stops and asks you to remove a captain or add teams, because two captains would otherwise land in the same team.
Is the list saved?
No. Everything happens in your browser tab and is gone when you close it.
Related tools
- Random name pickerPaste a list of names and draw one or several winners without repeats, optionally excluding people who already won.
- Spinner wheel: pick a random name or optionSpin a wheel of names or options: up to 200 entries, remove winners after each spin, keep a history and share the wheel by link.
- Flip a coin: heads or tailsFlip a fair coin once, or flip up to 1,000 coins at once and see the heads/tails tally, percentages and longest streak.
- Random number generatorUniform random integers in any range from crypto.getRandomValues, one or many, with or without repeats.