Saved

Press the star next to a tool's name to save it.

All my tools

Random Group Maker

Paste your names into this random group maker, choose how many groups you want or how many people go in each, and it shuffles everyone into fair, evenly sized teams in one click.

Restored your last values ·

Names stay in the order they're drawn. Press Make groups again to reshuffle.

Your list stays in your browser. Nothing is uploaded.

Your groups

Add your names, and press Make groups.

A random group maker splits a list of people into teams without any favoritism. Teachers use one to form project groups, coaches to pick sides and managers to set up workshops. Choosing by hand takes time, and someone always feels that it wasn't fair. Paste your names into this random group maker, choose how many groups you'd like or how many people should be in each, and press Make groups. Everyone is shuffled and dealt out so that the groups are as even as possible. If you'd like a different mix, just press the button again. Your list stays in your browser.

How to use the random group maker

  1. Paste or type your names, one on each line or separated by commas.
  2. Choose how to split them: by number of groups or by people per group.
  3. Enter the number.
  4. Press Make groups.
  5. Copy or share the result, or press the button again to reshuffle.

How the groups are made

This tool uses the Fisher–Yates shuffle, an algorithm for shuffling a finite sequence. It takes all of the elements and repeatedly draws one at random until none remain. The algorithm produces an unbiased permutation, which means that every possible order is equally likely. Random values come from your browser's cryptographic generator, so the order can't be predicted. After the shuffle, names are dealt around the groups, like cards around a table, so no group can end up more than one person larger than any other.

Number of groups or people per group?

Split byBest whenExample with 10 names
Number of groupsYou have a set number of tables, rooms or topics3 groups of 4, 3 and 3
People per groupAn activity needs a certain team sizeGroups of 3 become 4, 3 and 3

When you split by people per group and the numbers don't divide evenly, the spare people join existing groups. That way, nobody is left in a group alone.

A worked example

Suppose that you teach a class of 26 students and you need teams of 4 for a science project. Paste the names, choose People per group and enter 4. Dividing 26 by 4 gives 6 full groups with 2 people left over, so the tool makes 6 groups. Two of them have 5 students, and the other four have 4. If you'd rather have 7 groups, choose Number of groups and enter 7. You'll get five groups of 4 and two groups of 3.

Why does random selection help?

  • It feels fair. No one can claim that the teams were rigged.
  • It breaks up cliques, so people work with someone new.
  • It saves time compared with drafting or negotiating.
  • It removes awkwardness because no one's picked last.

Tips for teachers and team leaders

Tell people that the groups are chosen at random before you show them. It heads off most complaints. If you need to keep two people apart, reshuffle until they're in separate groups, or remove one of them and add that person to a different group by hand. For a long project, consider rotating the groups so that everyone gets to know more of their classmates. It also helps to show the groups on a projector, so that everyone can find their team quickly.

When random isn't best

Random groups are fair, but they aren't necessarily balanced. By pure chance, all of the strongest players could land on one side, or everyone with a particular skill might end up in the same team. If balance matters, split people into levels first and run each level separately, then join the results together. For example, make groups from your experienced players and from your beginners, and then pair one group from each list.

Tidying your list

Each line or comma-separated entry counts as one person, and blank lines are ignored. Two people who share a name are both kept, so add an initial if you need to tell them apart. If your names are written as Last, First with a comma, then each half will be treated as a separate person. In that case, switch the list to First Last, or remove the commas before you paste it in.

Using it for games and events

Random groups work just as well outside the classroom. Use them for quiz teams at a party, tables at a team-building day, or doubles pairs at a tennis evening. To make pairs, choose People per group and enter 2. With an odd number of people, one pair becomes a group of three, so nobody has to sit out. Copy the result and paste it into a chat or an email, and everyone will know where to go.

Common mistakes

  • Asking for more groups than names. Each group needs at least one person.
  • Leaving in the names of absent people. Update your list on the day.
  • Forgetting to copy the result. A new shuffle replaces the old groups.

Draw a single winner with the random name picker, organize a gift exchange with the Secret Santa generator, and pick numbers using the random number generator.

What next

Use this often? Add Random Group to your Home screen.

Frequently asked questions

How does a random group maker work?

It shuffles your list of names and then deals them around the groups.

Are the groups even?

Yes, as far as possible. Group sizes never differ by more than one.

What happens to leftover people?

They join existing groups, so that nobody is left alone.

Can I reshuffle?

Yes. Press Make groups again for a new mix.

Is my list saved or uploaded?

No. It stays in your browser and isn't uploaded.

What went wrong?

We only receive the reason you pick, never what you typed into the tool.

Thanks for your feedback.

More Education Tools