Picking teams by hand rarely goes well. In a school sports lesson, the same children are always chosen last. In a workshop, friends cluster together and the room splits into cliques. At a company offsite, the organiser gets accused of stacking the quiz team. A random split solves most of this: nobody chooses, so nobody can be blamed, and people meet colleagues they would never have sat next to.
This guide covers the maths of splitting a group evenly, the difference between "number of teams" and "people per team", how to deal with leftovers, and when pure randomness is not the right approach.
How a fair random split works
A good team generator does two things. First it shuffles the whole list so every order is equally likely. Then it deals the shuffled names out like cards: first name to Team 1, second to Team 2, and so on, wrapping around until everyone is placed.
Dealing is what keeps team sizes even. If you have 14 people and 4 teams, dealing gives two teams of 4 and two teams of 3. No team can ever be more than one person larger than another. Simply cutting a shuffled list into chunks can leave a lonely team of two at the end, which is the kind of result people complain about.
Number of teams or team size?
You usually know one of two things:
| You know… | Example | Result for 14 people |
|---|---|---|
| How many teams you need | 4 tables in the room | 4 teams: 4, 4, 3, 3 |
| How big each team should be | Doubles tennis, pairs work | Size 2 → 7 teams of 2 |
When you set a team size that does not divide evenly, the tool works out how many teams are needed and then balances them. With 14 people and a target of 4 per team, you get 4 teams (4, 4, 3, 3), not three teams of 4 plus one pair.
Make random teams with our tool
The Random Team Generator runs in your browser; the names you paste are not uploaded anywhere.
- Open the Random Team Generator.
- Paste your list into Names (one per line). A single line of comma-separated names also works. The counter shows how many people were detected.
- Choose a mode: Number of teams or People per team.
- Enter the number in the field below the tabs.
- Optionally, type Team names such as "Red, Blue, Green". Teams without a custom name are labelled Team 1, Team 2 and so on.
- Click Make teams. Each team appears as a card with its member count.
- Not happy? Click Reshuffle for a completely new draw. When you are done, use Copy teams for a plain-text summary or Export CSV for a spreadsheet with one row per member.
The CSV export is handy for teachers who keep group records in a gradebook, or for event organisers who need to print table assignments.
Other ways to make teams
Counting off. The classic "one, two, three, four" around the room is quick and needs no device. It is not truly random, though: people who stand together end up split, but friends who notice the pattern can shuffle their position to land together.
Drawing slips from a hat. Physically fair and fun for small groups, but slow for more than 20 people, and you have to prepare the slips.
Spreadsheet formula. In Excel or Google Sheets, put names in column A, add =RAND() in column B, sort by column B, then number rows 1 to N in a repeating pattern in column C. It works well for recurring use, but it takes a few minutes to set up and the random values change every time the sheet recalculates.
Spin wheel. For assigning one person at a time, for example choosing captains first, a Spin Wheel adds some drama. For whole-group splits, a generator is faster.
When random is not enough
Pure randomness is fair in the sense that nobody influenced the result. It is not always balanced. A random split of a football class can put the three strongest players on one side. Some options:
- Seed captains first. Pick captains, then randomise the rest. Or split the group into "experienced" and "new" lists, randomise each into the same number of teams, and combine team by team.
- Constraints. If two people must not work together, reshuffle until they are apart, rather than editing the result by hand in front of everyone.
- Repeat pairings. For weekly groups, keep the exported CSV so you can see whether the same people keep ending up together, and reshuffle if they do.
If you only need one or two people out of the group, for a presentation order or a prize, use the Random Name Picker instead, which removes each person once they are chosen.
Tips and troubleshooting
My count of people is wrong
Blank lines are ignored, but a name with a stray comma in a multi-line list counts as one entry. Check the people counter above the box before you generate. If you paste from a spreadsheet, each cell becomes a line, which is exactly what you want.
Duplicate names
Two people with the same first name are treated as separate entries, which is correct, but it makes the result hard to read. Add an initial ("Sam K", "Sam P") before generating.
More teams than people
If you ask for more teams than you have names, the tool caps the team count at the number of people, so nobody gets an empty team.
Showing the result on a projector
Team cards are colour-coded, which works well on a shared screen. Zoom the browser in so the names are readable from the back of the room, and click Make teams live so everyone sees that nobody chose the groups.
Need a tie-breaker?
When two teams finish level, settle it with a Coin Flip rather than an argument.
Frequently asked questions
Are the teams truly random?
Yes. The list is shuffled with the Fisher–Yates method using the browser's secure random source, so every arrangement is equally likely.
What happens with an odd number of people?
The teams are dealt round-robin, so sizes never differ by more than one. With 11 people in 2 teams you get 6 and 5.
Can I name the teams?
Yes. Type names separated by commas or on separate lines in the optional Team names field. Extra teams fall back to numbered labels.
Can I save the teams?
Use Export CSV to download a file with a team and member column, or Copy teams to paste a summary into email or chat.
Does the tool remember my list?
No. Everything stays in the page while it is open; refreshing clears it, so copy your list somewhere if you reuse it weekly.