WhimWheel

Random Team Generator

Paste a list of names, choose how many teams you need, and get fair, random teams in one click.

Make random teams

Fair teams without the playground picking

Choosing captains and letting them pick is the fastest way to make someone feel left out. This random team generator shuffles your names fairly and deals them into teams like cards, so team sizes never differ by more than one person. Split by number of teams (“we need 4 groups”) or by people per team (“pairs”, “groups of 3”), and each team gets a fun name and color.

Teachers use it for group projects and PE, coaches for scrimmages, and office managers for quiz nights and hackathons. Run it again for a completely fresh mix, and use Copy teams to paste the result into a chat, slide or spreadsheet. Names never leave your browser. Want to pick one person instead? Use the classroom spin wheel.

Making teams in under a minute

  1. Paste your list of names, one per line.
  2. Choose Number of teams or People per team and enter a number.
  3. Press Make random teams.
  4. Use Copy teams to share the result.

Why captains picking teams is a bad idea

Most of us remember it. Two captains take turns choosing, the strongest and most popular go first, and the same few kids are left standing against the wall at the end. It wastes time, it teaches nothing, and the people picked last remember it for years. Teachers have been moving away from captain-picks for a long time, and a random generator is the simplest replacement.

Random teams aren’t just kinder. They mix people who wouldn’t normally work together, which is often the point of group work in the first place. And because the computer did the choosing, nobody can accuse you of favouritism.

How the shuffle works

The generator does two simple things, in order.

  1. It shuffles the list. Every name is put in a random order using a standard shuffle, so every possible ordering is equally likely.
  2. It deals the names out like cards. The first name goes to team one, the second to team two, and so on, wrapping back round to team one until everyone is placed.

Dealing round-robin is why team sizes never differ by more than one. With 14 people in 4 teams, you get two teams of four and two of three, never a team of five next to a team of two.

Two ways to split

You can ask for a number of teams or a number of people per team. They behave a little differently, and it’s worth knowing how.

Number of teams is the simplest. Ask for 4 and you get exactly 4, with sizes as even as possible.

People per team works out how many teams are needed so no team is bigger than the size you asked for, then deals the names out evenly. That means some teams can come out one smaller than requested. Here’s what that looks like with real numbers:

PeopleYou ask forTeams madeTeam sizes
10Groups of 343, 3, 2, 2
25Groups of 474, 4, 4, 4, 3, 3, 3
30Groups of 484, 4, 4, 4, 4, 4, 3, 3
7Pairs42, 2, 2, 1
13Pairs72, 2, 2, 2, 2, 2, 1

Notice the last two rows. With an odd number of people and pairs, one person ends up alone. If that’s not what you want, switch to number of teams and ask for half the group rounded down. With 13 people and 6 teams, you get one trio and five pairs.

Team names and colours

Each team gets a name and a colour so you can call them out easily: Red Rockets, Blue Comets, Green Geckos, Yellow Yetis, Purple Pandas, Pink Penguins, Teal Tigers and Orange Owls. If you make more than eight teams, the rest are simply numbered (Team 9, Team 10 and so on). The names are deliberately silly. “Purple Pandas, you’re up” is easier to say across a sports hall than “Group three”.

When you press Copy teams, the result is copied as plain text, one team per line, ready to paste into a chat message, a slide or a spreadsheet.

How likely are friends to end up together?

People often ask this, usually because two best friends keep landing on the same team and someone suspects a rigged generator. Here’s the actual chance that any two specific people end up together when the teams are equal sizes:

GroupSplitChance two named people are teammates
12 people2 teams of 6about 45%
24 people4 teams of 6about 22%
30 people5 teams of 6about 17%

So in a class of 24 split four ways, a particular pair of friends will be together roughly one time in five. If you generate teams every week for a term, they’ll be together a few times, and that’s perfectly normal randomness. With 12 people and only two teams, it’s close to a coin flip.

For a sense of scale: there are 462 ways to split 12 people into two teams of six, and more than 96 billion ways to split 24 people into four teams of six. The generator picks one of them at random each time.

In PE and sport

Random teams are standard practice in many PE departments now. Some tips from the field:

  • Generate before the lesson and put the teams on the board, so students go straight to their bibs.
  • Rerun every few weeks so students play with different people across a unit.
  • Watch for lopsided results. Pure randomness can occasionally put several strong players together. If it’s obviously unfair, rerun it. Most students accept a rerun as long as it’s done openly and quickly.
  • Use the team colours. If your bibs are red, blue, green and yellow, the first four team names match.

For casual weekend games, the same applies. Five-a-side football, pickup basketball and beach volleyball all go smoother when nobody has to pick.

Balancing by skill without losing fairness

The generator doesn’t know who’s good at what, and that’s by design. But you can still balance teams if you need to. The most common approach is called “seeding”:

  1. Split your group into a few skill bands, for example the four strongest players, the next four, and so on.
  2. Run the generator separately for each band, always asking for the same number of teams.
  3. Combine the first team from each run, then the second, and so on.

Each team ends up with one player from each band, and within each band the choice was random. It takes about a minute longer and produces teams that feel fair to everyone. The same trick works for separating friends who chat too much: put them in the same band, so they can’t end up together.

For group projects

Random groups are useful for projects, but they need a bit of structure.

Pick the right size. For most classroom projects, three or four is the sweet spot. Pairs don’t get enough ideas going; groups of six often have someone coasting.

Assign roles after the groups are made. Leader, researcher, writer and presenter are a classic set. You can use the classroom spin wheel to give each role to someone at random within a group.

Keep groups for a sensible stretch. A two-week project needs stable groups. Regenerate for the next project, not halfway through.

Plan for absences. If someone is off, it’s simpler to have a three-person group carry on than to reshuffle everyone.

At work: quiz nights, hackathons and offsites

Random teams have a lot of uses outside school.

  • Quiz nights. Mixing departments makes the evening more social and stops one team of trivia fanatics from dominating.
  • Hackathons. Random teams of three or four, ideally with mixed skills, produce surprisingly creative projects. You can use the seeding method above to make sure each team has at least one developer and one designer.
  • Offsites and workshops. Small random groups for discussions mean people meet colleagues they rarely talk to.
  • Lunch roulette. Some companies use random pairs or groups of four for a monthly lunch with someone new. It’s one of the easiest ways to build connections across a growing organisation.

Game nights and parties

For board games that need teams, like Pictionary, charades, Codenames or Articulate, random teams avoid the awkwardness of couples always being together or old friends ganging up. Make teams, then spin the Pictionary word generator and you’re away. For debates, generate two teams and then use the debate topic picker for the motion.

Running a mini tournament

Once you have teams, you’ll often want them to play each other. The simplest fair format is a round robin, where every team plays every other team once. The number of games grows quickly as you add teams, so it’s worth checking before you promise everyone a full league.

TeamsGames in a full round robinRough time at 10 minutes a game, one court
3330 minutes
461 hour
5101 hour 40 minutes
6152 hours 30 minutes
828over 4.5 hours

The rule is that n teams play n times (n minus 1) divided by 2 games. With five or more teams on a single pitch or court, a round robin gets long. Two groups followed by a final, or a knockout bracket, fits better into a lesson or an afternoon. With an odd number of teams, one team sits out each round, which conveniently gives them time to referee.

Rotating partners over a term

Some teachers like every student to work with as many classmates as possible over a term. Pure randomness gets you most of the way there, but repeats will happen. If you’d like fewer repeats, keep a simple record. After each shuffle, glance at the result, and if a pair has already worked together twice recently, rerun it. Over six or eight sessions that small check spreads the pairings out nicely without any complicated scheduling.

For pair work specifically, a classic alternative is a rotation: students sit in two rows facing each other, and one row moves one seat along every session. It guarantees new partners each time, but it’s very predictable. Mixing the two works well: rotate for a few weeks, then shuffle randomly for a fresh start.

Privacy

The names you type stay in your browser. The shuffle runs on your device, nothing is sent to our server, and closing the tab clears them. That matters for teachers, who shouldn’t be putting students’ names into tools that store them. If you’d like to keep a list for next time, keep it in a document you control and paste it in when you need it.

Common setups

A quick reference for the situations we see most often:

SituationSettingTip
Class of 30, group projects4 per teamGives eight groups: six of four, two of three
PE lesson, two sides2 teamsRerun if one side looks stacked
Quiz night, 40 guests8 teamsTeams of five, mixed departments
Pair programming2 per teamFor odd numbers, use number of teams to make a trio
Debate club2 teamsThen flip a coin for proposition and opposition

Getting names in quickly

Typing thirty names every time gets old. A few shortcuts:

  • Paste from a spreadsheet. Copy a single column of names and paste it straight into the box. Each line becomes one person.
  • Keep a class list ready. A plain text file per class, one name per line, is the fastest thing to paste.
  • Use first names and an initial if you have two students with the same name, so you can tell them apart on the board.

Blank lines are ignored, so don’t worry about stray gaps in what you paste.

Handling the “can we swap?” requests

As soon as teams go up, someone will ask to swap. Decide your policy in advance and say it before you press the button. A common one is “no swaps, but I’ll rerun once if the teams look badly unbalanced”. Another is “you can swap only if both people agree and it doesn’t change team sizes”. Whatever you pick, apply it to everyone. The moment one person gets a special swap, the fairness that made random teams work disappears. It helps to remind people that these teams are just for today. Next time, it’ll be a whole new mix, and that usually ends the debate.

When random isn’t right

Random grouping isn’t always the best choice. For support groups in a classroom, a teacher’s judgement about who needs help with what matters more than randomness. For long-running work teams, people’s skills and working styles should come first. And if two people really can’t work together for a serious reason, you should separate them, quietly, without making a show of it.

For everything else, a shuffle is quick, fair and hard to argue with. That’s usually exactly what you need.

Want to pick one person rather than make teams? Use the classroom spin wheel. Organising a gift exchange? Draw names makes Secret Santa pairs where nobody gets themselves. And when the teams are made and you need a game to play, try truth or dare for adults or the brain break wheel for a class.

Happy shuffling, and good luck to the Yellow Yetis.

Team generator FAQ

Are the teams balanced in size?

Yes. Names are shuffled and dealt round-robin, so team sizes differ by at most one.

Can I make pairs?

Yes. Choose “People per team” and enter 2. With an odd number of people, one team gets three.

Can I balance teams by skill?

The generator is purely random. For rough skill balance, generate teams for each skill group separately and combine them.

Is there a limit on names?

No practical limit — hundreds of names work fine.

I have an odd number of people. How do I avoid someone being on their own?

Switch to number of teams instead of people per team. With 13 people, asking for 6 teams gives one group of three and five pairs, so nobody works alone.

Will the same people keep ending up together?

Only by chance. Each press reshuffles everyone from scratch, so previous results have no effect. In a class of 24 split into four teams of six, any two particular students land on the same team a little over a fifth of the time.

Published · Last updated by the WhimWheel team.

Browse all classroom tools

Featured on