Random team generator

Fair random or skill-balanced teams, with keep-together and keep-apart rules.

Add a skill or weight after a comma to balance teams: “An, 7”. 0 people

Strongest first, picking 1-2-3-3-2-1 like a playground draft.

One group per line, names separated by commas or +.

One group per line: no two of them in the same team.

Teams

Add at least two names.

What this tool does

Paste a list of names, one per line, and it splits them into teams: by number of teams or by people per team, with sizes that never differ by more than one. Teams can be purely random or balanced by skill: add a number after a name ("An, 8") and the snake-draft or greedy method spreads the strong and the less strong players evenly. You can keep friends together or rivals apart, copy the result as text or CSV, and make it repeatable with a seed. Names never leave this page.

Fair randomness

Without a seed, every shuffle draws from your browser's cryptographic random source (crypto.getRandomValues), with rejection sampling so every possible order is exactly as likely as any other: no name is more likely to land in team 1. This is the same unbiased draw as our random name picker. With Repeatable on, a seed drives a deterministic generator instead: the same names, settings and seed always give the same teams, which is useful when you need to show how the teams were made or redo them on another device. Re-roll draws again (with a new seed when repeatable).

Balanced teams: snake draft or greedy

  • Random ignores the numbers: pure chance.
  • Snake draft sorts people by their number, strongest first (equal numbers in random order), and hands them out 1, 2, 3, 3, 2, 1, 1, 2, 3… the way captains pick on a playground. The team that picks last in one round picks first in the next, which evens out the advantage of going first.
  • Greedy gives each person, strongest first, to the team whose total is lowest so far. It usually ends with the smallest difference between the strongest and weakest team.

With six players weighted 10, 9, 8, 7, 6 and 5 in two teams, both methods give totals of 23 and 22. The tool shows each team's total and the difference between the strongest and weakest team, so you can see how even the result is. Numbers can be anything that adds up sensibly: a skill rating, a grade, a ranking reversed so that higher means stronger.

Keep together, keep apart

Write each group on its own line, with names separated by commas or "+": "An + Bình" keeps two friends together; under Keep apart, "Chi, Dũng" stops two people who should not be in the same team from meeting. Groups that must stay together are placed first as one unit, so they never get split; keep-apart rules are checked for every placement. If the rules cannot all be satisfied (three people kept apart into two teams, for example), the tool tries other random orders and then tells you which pair it could not separate. Names in the rules must match the list (case is ignored).

Tips

  • For classes, put the shy pairs under keep together and known distractions under keep apart, then use Random so nobody can say the teams were picked.
  • For sports, Snake draft with honest skill numbers is usually fairer than captains choosing in public.
  • Keep the seed if you might be asked how the teams were made.
  • Need to pick one winner instead of teams? Use the random name picker; for dice and coins, the dice and coin roller. How the balanced methods compare is explained in fair team splitting.

Frequently asked questions

Is the split really random?

Yes. Without a seed the order comes from the browser's cryptographic random generator with unbiased sampling, so every arrangement is equally likely. With a seed it is repeatable on purpose.

How do I balance teams by skill?

Add a number after each name, such as 'An, 8', and choose Snake draft or Greedy. Higher numbers are treated as stronger; the tool shows each team's total.

What is a snake draft?

Picking order 1, 2, 3, then 3, 2, 1, then 1, 2, 3 again. The team that picks last in one round picks first in the next, so no team keeps the advantage of the first pick.

Can I keep certain people together or apart?

Yes. One group per line in Keep together or Keep apart. If the rules conflict, the tool tells you which pair it could not satisfy.

Are the names uploaded?

No. Everything happens in your browser; nothing is stored or sent.