Random Team Generator

โ€“people per team
โ€“people
โ€“teams
โ€“balance
Press Shuffle to draw teams.
Fairness lives in the shuffle: names are drawn with the browser's crypto-grade getRandomValues - the documented fix for Math.random's non-cryptographic weakness - and dealt round-robin, so the extras land on fixed teams instead of favorites.
How the split math deals - names are crypto-shuffled first, then dealt round-robin, so the remainder lands on the earliest teams:
PeopleTeamsSizes
933-3-3 even
1034-3-3 - team 1 takes the extra
1143-3-3-2
Re-shuffling re-deals the same sizes to different people - sizes only change when the headcount or the team number changes.

Every teacher, coach and facilitator knows the ritual: 24 names, 4 teams, and the suspicion that the draw wasn't quite random. Paste the list - one name per line - choose how many teams, press Shuffle, and this generator deals everyone out using cryptographically secure randomness from your own device, with team sizes balanced to within one person and the roster preserved for the next session.

The balance line shows the exact distribution (2 teams of 7 and 2 of 5, for instance), and re-shuffling costs one click - no recutting strips of paper. The share button packages the full draw as text for the group chat, with a link that carries the name list so colleagues can re-run it on their side. It joins the coin flip, dice roller and random number tools for every decision that should not be yours to make.

How to use

  1. Paste or type the names, one per line.
  2. Set the number of teams and press Shuffle.
  3. Read the teams, re-shuffle if needed, or share the draw to the group chat.

Worked examples

Two teams of five, counted

Ten players into two named teams of five: the draw produces one of C(10,5) = 252 possible fives for Team A, or 126 if the teams are unnamed and swapping colors does not count as a new split. The generator picks uniformly from that space - the definition of a fair picking, and the reason captains stopped arguing over coin flips.

Four teams of three, counted

Twelve players into four unordered teams of three: 15,400 distinct arrangements (12-choose-3, then 9-choose-3, then 6-choose-3, divided by the 24 orderings of identical teams). The count explodes faster than intuition - which is why manual picking drifts toward familiar clusters, and a uniform draw is the reset.

The classroom caveat

Fair does not mean fit: a uniform draw will happily put all three strong readers on one team. Teachers fix it by seeding - assign the strongest reader to team A first, then let the draw fill the rest - keeping the randomness for the unranked majority while guaranteeing the spread that matters.

Good to know โ€” The fair-division math under the hood: N people across K teams always land within one of even - the ceiling and floor of N over K - which is why the balance line sometimes reads two teams of 7 and two of 5: a perfectly even split simply does not exist, and pretending otherwise just hides a decision someone would have to make. The cryptographic shuffle guarantees every arrangement of the names is equally likely; the round-robin deal then spreads that fairness across the teams.

Frequently asked questions

How does the team generator stay fair?

Two parts: the shuffle uses the browser's cryptographic random source - the same one that guards web security - so every arrangement is equally likely, and the dealing round-robins the shuffled names so team sizes differ by at most one. No weighting, no seeding, no favorites.

Can I make uneven teams on purpose?

Not directly here - balance is the point. If you need a 5-and-2 split for a scrimmage, run two draws or move one name by hand after shuffling; the honest randomness has already done its job by that point.

Are my names sent anywhere?

No - the list never leaves the browser. Names are stored only in your own device's local storage so the next session starts where this one ended, and clearing the browser clears them.

Can it pick one winner instead of teams?

For single draws use the random name generator; for yes/no decisions the coin flip; for order-of-play questions shuffle here and read the first team as the order. Same cryptographic engine underneath all of them.

How do I use this for a tournament bracket?

Shuffle once and read the teams as seeds, or run a second shuffle on each team to order its matches; for a knockout bracket, shuffle the full list and pair adjacent names - 1v2, 3v4 - which gives every pairing the same odds as a drawn cup. Re-shuffles are free until you commit; after the first match, the bracket owns itself.

Does team size have to divide evenly?

No - the dealer spreads remainders: ten players into three teams lands 4-3-3, with the larger team randomized too rather than always the first one. If the game needs exact sizes, run it as two draws (the fives first, then the leftover three); what the tool guarantees is fairness of the draw, not symmetry of the result.

Why draw at all instead of choosing?

Because choosing is where the politics lives: whoever picks last remembers it, and the same strong players cluster every time. A visible uniform draw converts the outcome from a decision someone made into a result nobody argues with - the same reason tournaments publish brackets before the seeding debate starts.

Related tools