Skip to content

Random Team Generator - Split Names Into Fair Teams

Random team generator: paste names and split them into any number of teams or groups of a set size. Balanced sizes, optional captains, one-click copy.

By Updated Runs in your browser

Random Team Generator guide

Paste a list of names, choose how many teams or how many people per team, and get fair random teams in one click. Sizes never differ by more than one, captains can be spread across teams, and the result copies as plain text.

How the teams are made

Paste names one per line, choose how to split them, and press Generate teams. The list is shuffled with your browser's cryptographically secure random generator, then dealt out one person at a time, always to one of the currently smallest teams. The result: team sizes never differ by more than one, and every arrangement is equally likely.

You can split two ways. Number of teams is best when you know how many courts, tables or breakout rooms you have: 23 people in 4 teams gives teams of 6, 6, 6 and 5. People per team is best when the activity sets the size, like pairs or groups of four: 23 people in groups of 4 gives 6 groups, five of 4 and one of 3. The status line under the buttons tells you exactly what you got.

Captains mode

Tick First names are captains and the first names in your list are placed one per team before anyone else is shuffled in. Use it for team leaders, table hosts, or to guarantee each group gets one adult, one experienced player or one person who knows the material. Put the captains at the top of the list, in any order. If you list more captains than teams, the extras are shuffled in like everyone else.

The same trick balances skill. List your strongest players first as captains and they're spread out, one per team, while the rest is random.

Why random teams beat picking

Schoolyard picking hurts the last kids chosen and puts friends together, which usually means one stacked team and a lot of quiet people. Random assignment removes both problems, and nobody can claim the teams were rigged. Research on classroom group work consistently finds that mixed groups talk more across social lines than self-selected ones.

Random isn't the same as balanced, though. Pure chance can put your three best players on one side. If balance matters, use captains mode for the top players, or regenerate once and agree up front that you'll accept the second draw.

Practical uses

Teachers: group projects, lab partners, reading circles and seating charts. Paste your roster once, and it stays saved in this browser for next week. Coaches and rec leagues: scrimmage teams and pickup games. Offices: breakout rooms, workshop tables, hackathon teams and lunch roulette. Parties: trivia night, board game teams, escape rooms and Secret Santa groups.

For recurring use, keep one master list and delete the people who are absent before you generate. Copy teams gives you plain text like “Team 1: Alex, Sam, Riley” that pastes cleanly into Slack, Teams, email or a Google Doc.

Fairness details

Duplicate names are treated as separate people, so if the same name appears twice, one person could land on two teams. Use the duplicate line remover first if your list comes from a messy sign-up sheet. Blank lines and extra spaces are ignored.

Every press of Generate is a fresh draw. There's no memory of previous teams, so you can't accidentally or deliberately nudge the outcome. If people doubt the result, generate on a shared screen.

Common mistakes to avoid

Regenerating until the teams look “right” defeats the point of random teams, and people notice. Decide the rules first: one draw, or one redraw if a team ends up with all beginners. Don't forget latecomers either. If someone arrives after you generate, add them to the smallest team rather than redrawing everything, which keeps things calm. And check the list for nicknames and full names of the same person, since a name listed twice means that person can land on two teams at once.

For tournaments with several rounds, generate new teams each round so everyone plays with different people. It's the easiest way to keep a long game night social rather than letting the same cliques form.

Frequently asked questions

How does the random team generator work?

It shuffles your list with the browser's cryptographically secure random generator, then deals people one at a time to the smallest team, so every arrangement is equally likely and team sizes differ by at most one.

Can I choose the team size instead of the number of teams?

Yes. Set Split by to People per team. For example, 23 people in groups of 4 makes five groups of 4 and one group of 3.

What happens if the names don't divide evenly?

Some teams get one extra person. The status line shows the exact sizes, such as 6 or 5.

How do I make balanced teams by skill?

Put your strongest players at the top of the list and tick First names are captains. They are placed one per team, and everyone else is shuffled in randomly.

Can I use it for classroom groups?

Yes. Paste your class roster once; it stays saved in this browser. Remove absent students before generating, and copy the groups into your LMS or a slide.

Does it remember my list?

Yes, the names and settings are saved in this browser's local storage on this device only.

Is my list uploaded?

Everything runs in your browser. Nothing you enter is uploaded to a server or stored by us.