random.cihat.dev

Random team generator

Paste the names, choose how many teams or how many people per team, and get fair random teams whose sizes differ by one at most.

Split by

Teams

How to use it

  1. Paste the players or students, one name per line.
  2. Choose Number of teams or People per team and set the number.
  3. Press Make teams. Not happy with a lineup? Press it again for a new random split.

Even teams, every time

The generator shuffles the whole list, then deals the names out one at a time, like cards, around the teams. That keeps team sizes within one of each other: 14 people into 3 teams gives 5, 5 and 4. With People per team, 14 people in teams of 4 gives four teams of 4, 4, 3 and 3, rather than three full teams and a lone player.

How names are dealt
PeopleSettingTeam sizes
122 teams6, 6
143 teams5, 5, 4
144 per team4, 4, 3, 3
255 teams5, 5, 5, 5, 5

Fair by construction

The shuffle is Fisher–Yates with crypto.getRandomValues and rejection sampling, so every arrangement of the list is equally likely and the order you typed the names in has no effect on who ends up together. The list stays in your browser.

To draw single names in turn instead, use the random name picker.

Questions people ask

How do I make random teams from a list of names?

Paste the names one per line, choose the number of teams, and press Make teams. Copy teams gives you the result as text for a chat or a document.

What happens when the names do not divide evenly?

Some teams get one extra person. The sizes never differ by more than one.

Can I balance teams by skill?

Not automatically. A simple way: run the generator on your strongest players first to spread them, then on everyone else, and combine the lists team by team.