👥 Random Team Generator

Paste one name per line, choose how many teams you need, and get a random, evenly-sized split.

Shuffle first, then deal round-robin

The names are shuffled with a Fisher-Yates pass - every possible ordering is equally likely - and then dealt out one at a time, first name to Team 1, second to Team 2, and back round. The order you typed them in has no effect at all.

base size = floor(n / k)
the first (n mod k) teams get one extra member

So 10 names across 3 teams gives 4, 3 and 3, and the extra person always lands in the lowest-numbered team rather than a random one. If that matters - a team number decides who bats first, say - shuffle the team labels yourself, or add a placeholder line such as "Bye" to even the numbers out.

Whether two people end up together

Once one person is placed on a team of size m out of n names, the chance a particular friend joins them is (m - 1) / (n - 1). Split 8 names into 2 teams and that is 3/7, or 42.9%; ask for 4 teams of 2 instead and it drops to 1/7, 14.3%. Re-shuffling is the only lever - there is no way to pin or separate a pair.

This splits at random, not by ability. For balanced sides, group your players into tiers of similar strength, run each tier through separately, and combine the results.

Frequently asked questions

How do I split 10 people into 3 teams?

Paste the ten names, set Number of teams to 3, and shuffle. You get one team of 4 and two of 3, since 10 does not divide evenly.

Does the order I paste the names in affect the teams?

No. The list is fully shuffled before anyone is assigned, so the first name in your text box is no more likely to land on Team 1 than the last.

Can I keep two people apart, or together?

Not with a switch. In a two-team split of eight, any given pair share a team 42.9% of the time, so just shuffle again - or place them by hand and run the tool on everyone else.