Random Team Generator: fair teams from a list of names

This random team generator splits any list of names into 2 to 6 teams of equal size in one tap. Type or paste the names, choose how many teams you need, and press Generate. The shuffle uses your browser's secure random number generator, so every name has the same chance of landing on any team. Nothing you type is sent or stored.

0 names

Number of teams

How the team generator keeps teams fair

A fair team generator has to do two things: give every person the same chance of ending up on any team, and keep the team sizes even. This one does both in the open:

  1. Shuffle. The list is shuffled with the Fisher-Yates algorithm, fed by the browser's cryptographic random number generator (crypto.getRandomValues). Every ordering of the names is equally likely, and the order you typed them in has no effect.
  2. Deal. The shuffled names are dealt one by one to Team A, Team B, Team C and so on, like cards. With 10 names and 3 teams you get sizes 4, 3 and 3, never 5, 3 and 2.
  3. Mix the extra. When the names don't divide evenly, the teams that get the extra player are picked at random too, so Team A isn't always the big one.

Pressing Re-shuffle throws away the old result and starts again. There is no memory of the previous round, so re-shuffling is just as fair as the first draw.

When to use a random team generator

Any time a group has to split up and nobody wants to be the one choosing.

Illustration of a PE teacher in a school gym splitting a cheerful group of kids into blue and orange teams with a tablet in hand
  • PE class and sports practice

    Paste the roll, pick two teams, done. Nobody gets chosen last and no captain plays favorites.

  • Game night and trivia

    Split the table for charades, trivia or a party board game in seconds, then re-shuffle for the next round.

  • Parties and icebreakers

    Mix the people who already know each other with the ones who don’t. Random teams are the fastest icebreaker there is.

  • Classroom group work

    Random groups for projects and discussions, so the same friends don’t always end up together.

  • Youth groups and camps

    Fair teams for cabin challenges, scavenger hunts and relay races, with a result you can share in the group chat.

  • Quick breakouts at work

    Workshops, hackathons and offsites: random groups beat "find a partner" every time.

Tips for teams that feel fair, not just random

  • Announce the rules first. "We shuffle once, and we keep what we get" stops the re-roll negotiations before they start.
  • Balance skill by hand if it matters. For a competitive match, shuffle, then swap one pair of players so the strongest aren't all on one side. Say out loud why.
  • Use team colors, not numbers. "Blue team" and "Orange team" sound like teams; "Team 1" sounds like a ranking.
  • Share the result. Copy the list into the group chat so nobody can "forget" which team they're on.

Random team generator FAQ

How many names can I enter?

As many as you like. It works for a group of 2 and for a whole school year. Paste a list from a spreadsheet or a chat and it will split on new lines, commas or semicolons.

Can the teams be uneven?

Only when the math forces it. Names are dealt round-robin after a shuffle, so team sizes never differ by more than one player, and which teams get the extra player is random too.

Can I keep two people together or apart?

Not yet, that option is on the way. For now, type the pair as one entry (for example "Sam + Mia") to keep them together, or re-shuffle until you are happy.

Does it store the names I type?

No. The generator runs entirely in your browser. Nothing you type is sent to a server or saved, and there are no cookies.

Does the team generator work offline?

The page has to load once, then the shuffle itself needs no connection. If everyone is in the same room, the Finger Chooser app splits the group into teams with fingers instead of names and works fully offline.