How to make random teams
- Type or paste the names, one per line (a single line of comma-separated names also works). Insert example loads eight names.
- Choose Number of teams or People per team and the number. Pick how the teams are named.
- Press Make teams. Press it again for a different split: every press is a fresh shuffle.
- Copy all teams gives plain text you can paste into a chat or document; each team also has its own Copy button.
How teams are sized
The names are shuffled fairly, then dealt out one by one like cards, so team sizes differ by at most one person. Eight names in three teams give sizes 3, 3 and 2; in teams of four they give two even teams. When you choose People per team the tool makes as many teams as needed and spreads the remainder, rather than leaving one person alone in a team of one.
One example split of eight names into three colour teams:
Red (3): Dev, Hana, Chloe Blue (3): Fay, Ana, Eli Green (2): Gus, Ben
And the same eight names in teams of four, named by letter:
Team A (4): Ana, Ben, Fay, Dev Team B (4): Gus, Eli, Hana, Chloe
These were drawn once when the page was written; your split is new every time.
Is the split fair?
Yes. The shuffle is a Fisher-Yates shuffle driven by crypto.getRandomValues, your browser's secure random generator, with rejection sampling so no order is favoured. Every person is equally likely to land in every team, and any two people are as likely to end up together as any other two. Nothing about the order you typed the names in matters.
The number of different ways to split a group into equal teams grows quickly (teams are not numbered, so swapping two whole teams is not counted as a new split):
| Group | Different ways to split it |
|---|---|
| 6 people, 2 teams of 3 | 10 |
| 8 people, 2 teams of 4 | 35 |
| 10 people, 2 teams of 5 | 126 |
| 12 people, 3 teams of 4 | 5,775 |
| 12 people, 4 teams of 3 | 15,400 |
| 16 people, 4 teams of 4 | 2,627,625 |
| 20 people, 4 teams of 5 | 488,864,376 |
| 24 people, 4 teams of 6 | 96,197,645,544 |
Ideas for using it
- Classrooms and workshops: group projects, debate sides, breakout rooms.
- Sport and games: pickup football, relay teams, quiz nights, board game tournaments.
- Work: hackathon teams, icebreaker pairs (set people per team to 2), review buddies.
The tool is a pure random split. It does not balance skill, so for competitive teams, place the strongest players first on separate lists and run each list through the tool separately, then combine the teams. To pick a single winner or presenter use spin the wheel; to put a list in order or shuffle it, see sort lines.
Names, duplicates and privacy
Blank lines are ignored, and with Ignore blank and duplicate names on, a name that appears twice (ignoring capitals) is used once, with a note telling you how many were dropped. Turn it off if two people really share a name; add an initial to tell them apart. Names stay in your browser. Nothing is uploaded, saved or shared, and the tool works without sign-up.
Worked example: 17 people
Seventeen people in 3 teams become 6, 6 and 5. In teams of 4 they become 5 teams: 4, 4, 3, 3 and 3. The tool never makes a team of 1 just because the numbers do not divide, and it tells you when the sizes cannot be equal. If you need the exact size, add or remove a name: a placeholder such as "Spare" is easy to spot and remove afterwards.
Related tools
- Spin the wheel – to pick one name or choice instead of splitting the group
- Random letter generator
- Dice roller
- Sort lines – tidy or shuffle your name list first
Random team generator FAQ
How do I split a group into random teams?
Paste the names one per line, choose the number of teams or people per team and press Make teams. Press again for a new random split.
Will the teams be the same size?
As close as possible. When the group does not divide evenly, some teams have exactly one more person than others.
Is the team split really random?
Yes. The names are shuffled with a Fisher-Yates shuffle using your browser's secure random generator, so every assignment is equally likely.
Can I choose the team size instead of the number of teams?
Yes. Choose People per team and enter the size. The tool makes the number of teams needed and spreads any remainder.
Can I use a comma-separated list?
Yes, if the whole list is on one line. If you use several lines, each line is one name, so commas inside a line stay part of the name.
Can I name the teams?
You can choose Team 1, Team A or colour names (Red, Blue, Green, and so on). Beyond the available names the tool continues with Team numbers.
Are the names stored or sent anywhere?
No. Everything runs in your browser, and the names are never uploaded or stored.