Random Team Generator
A random team generator splits a list of players into fair teams by chance. Paste the names, choose how many teams you want and press the button: the tool shuffles with your browser’s cryptographic random source and deals players one by one, so team sizes differ by at most one.
Press the button to deal players into teams.
Dicekite Team · Updated

How the random team generator splits players
Paste your players, pick how many teams you need and press the button. The generator shuffles the list with the browser’s cryptographic random source and deals players one at a time, like cards, so team sizes never differ by more than one person.
Worked example: 8 players, 3 teams
Eight players cannot divide evenly into three teams. After the shuffle the first player goes to team 1, the second to team 2, the third to team 3, the fourth back to team 1, and so on. The result is two teams of three and one team of two. If you want even teams, change the number of teams or add a substitute.

Team names, leagues and countries
The name option labels teams by number, color or animal. The second tool draws one random team from the NFL, NBA, MLB or NHL, or one random country from the list of UN member states. Use it to assign sides in a pick-up game, a fantasy draft icebreaker or a geography quiz. League lists change when franchises move or rename, so check the current season if it matters.

Is it fair?
Each shuffle uses uniform integers drawn with rejection sampling, which avoids the small bias you get from taking a random number modulo the list length. Nothing about a name, its position in the list or the time you press the button changes its chances. Your player names stay in your browser and are not sent anywhere.
Tips for picking teams
- Remove blank lines: the generator ignores them, but a stray space inside a name stays.
- For skill-balanced teams, run the draw once per skill tier and combine the results by hand.
- Press the button again for a fresh split; the old one is replaced, so copy it first.
Frequently asked questions
Can I make unequal teams?
The tool always deals evenly. For unequal sizes, make two draws and merge the results manually.
Is there a random country generator?
Yes. Choose “Country” in the second tool to draw one of the UN member states at random. Each draw is independent, so the same country can appear twice in a row.
Can I draw a random NFL team?
Yes. Select NFL and press “Draw a team”. All 32 teams have the same chance on every draw.
Are my player names saved?
No. They exist only in the open page and vanish when you close or refresh it.
More pickers are on the Random Generator Letters home page.
Did this fly?
Tell us if the generator worked for you or what to tweak.
Thank you! Your note has taken off.