Random Team Generator

Split names into fair random teams - free, no signup.

Random team generator
Teams

What this tool does

Paste a list of names (one per line), choose whether to split by a set number of teams or a set number of people per team, and press Shuffle. Names are distributed as evenly as a real Fisher-Yates shuffle allows - useful for sports, classroom groups, work exercises, or any time you need fair random teams fast.

Splits a pasted list of names into random teams, either by a fixed number of teams or a fixed team size.

Uses a real Fisher-Yates shuffle, the provably uniform shuffling algorithm, not a naive sort-based fake shuffle that silently favours some orderings.

Distributes names as evenly as possible across teams when the count doesn't divide exactly.

Deals shuffled names to teams one at a time in round-robin order, like dealing playing cards, rather than slicing the shuffled list into contiguous chunks.

Draws its shuffle from the same cryptographically secure random source used across this site's other generator tools.

How to use it

  1. Paste your list of names, one per line.
  2. Choose to split by number of teams or people per team, and set the value.
  3. Press Shuffle to get your teams.

Why use this generator

Making fair groups by hand invites bias and argument. A proper shuffle gives impartial teams in seconds.

Why we built it

We built the random team generator on a Fisher-Yates shuffle, which is provably uniform, instead of a sort-based fake shuffle that skews. Draw names with the list randomizer and plan seating with the seating plan generator.

Handy alongside this: the Lottery Number Generator and the Random Question Generator.

Who this tool is for

  • Teachers and coaches splitting a class or squad
  • Event organisers
  • Friends picking sides

When to use it

  • Classroom groups and projects.
  • Sports and games.
  • Workshops and team-building.
  • Breakout rooms.

Why the shuffle algorithm actually matters

A sort-based fake shuffle isn't random the way it looks.

A common shortcut for shuffling a list is sorting it with a random comparator - `array.sort(() => Math.random() - 0.5)`. It looks random, but it isn't: a sort algorithm's comparisons aren't independent, so the underlying sort's structure leaks into the result and some orderings come out more often than others. This tool uses Fisher-Yates instead, the standard algorithm that's provably uniform over every possible ordering, so team assignments here are genuinely fair rather than fair-looking.

Why leftover people spread across teams instead of forming one small group

The remainder is dealt out like cards, not dumped into a single undersized team.

Once the full name list is shuffled, this tool deals names to teams one at a time in a round-robin - name one to Team 1, name two to Team 2, and so on, cycling back to Team 1 once it reaches the last team. If the names don't divide evenly, any remainder shows up as one extra person on the earliest teams instead of being left over as a separate, smaller squad. A generator that instead sliced the shuffled list into contiguous chunks (first however-many names to Team 1, the next chunk to Team 2, and so on) would still be fair in who ends up on which team, but any remainder would concentrate whichever chunk is last - round-robin dealing keeps the size difference between any two teams to at most one person, spread across the front of the list rather than the back.

What you give it, and what you get back

Input and output of Random Team Generator
ItemDetails
NamesOne per line.
SplitBy number of teams or team size.
OutputThe teams, balanced in size where possible.

Issues you may run into

Common problems with Random Team Generator
What you seeWhy it happensWhat to do
Skill balance is wrongIt does not consider skill.Shuffle again or swap by hand.
Two people must be apartPairs are not considered.Re-shuffle until acceptable.
Uneven teamsThe count does not divide equally.Some teams get one more person.

Assumptions and limitations

Frequently asked questions

How do I make random teams online for free?

Paste your list of names, choose to split by number of teams or people per team, and press Shuffle - your teams appear instantly.

Can I split by number of teams instead of team size?

Yes - switch the 'Split by' option to choose either a fixed number of teams or a fixed number of people per team.

What happens if the names don't divide evenly?

Teams are filled as evenly as possible, with any remainder distributed one extra person at a time rather than left in an uneven leftover group.

Is the shuffle actually fair?

Yes - it uses a real Fisher-Yates shuffle, the algorithm proven to give every possible ordering an equal chance, not a naive sort-based approximation that can be subtly biased.

Is my data uploaded anywhere?

No. Shuffling happens entirely in your browser - nothing is sent to a server.

If the names don't divide evenly, which team gets the extra person?

The earliest teams do. Names are dealt round-robin, like dealing cards, after shuffling, so any remainder lands as one extra person on Team 1, Team 2 and so on, rather than one team ending up as a separate small leftover group.

Does the shuffle use the same random source as the rest of the site?

Yes - it draws from the browser's cryptographically secure random source, the same one used by this site's dice roller, coin flip and picker wheel.