Random group generator

Paste your list, then choose a group size or a number of groups. Extra people are spread out, so no group is more than one person bigger than another.

Your groups show up here. Add names and press Make groups.

One name per line.

Split by

One pair per line, like Ana + Ben. They never land in the same group.

How to make random groups

  1. Paste your names, one per line.
  2. Choose groups of a set size, like 4 people, or a set number of groups, like 6.
  3. If two people should not be in the same group, add them under Keep apart, one pair per line: “Ana + Ben”.
  4. Make the groups. Run it again any time you need a new set.
  5. Use Copy to paste the groups into a slide or a doc, Print for your desk, or Present to show them on the projector.

Picking a group size for class work

There is no single right size. It depends on the task and how much talking it needs.

If you are not sure, start with threes or fours and watch who talks.

Leftover students

Classes rarely divide evenly. The generator spreads the extra people across groups, so sizes never differ by more than one. You will not get one student on their own, and you will not get one group of six next to groups of four.

When you set the number of groups, you choose how many groups there are and the sizes follow. With 26 students in 7 groups, you get five groups of 4 and two groups of 3. This is the better choice when the room sets the limit, like seven tables or seven sets of materials.

When you set the group size, the size stays close to your choice and the number of groups follows. This is the better choice when the task sets the limit, like a role sheet with four jobs.

Keep apart

Keep apart puts two people in different groups. Use it for students in a conflict, two friends who do not get much done together, or two students who both tend to take over.

Keep the list short. Each pair you add rules out some groupings, and a long list starts to look like you made the groups by hand. Students notice that.

Regroup often

Random groups do more for a class when they change often.

For short tasks, a new set each week or each activity works well. For a long project, keep the groups until it ends, then make new ones.

Decide before you show the result that it stands. If you need a redo, give the reason out loud, like “I forgot to keep two people apart.” A redo with a reason feels fair. A quiet redo does not.

Groups for teams, games, and events

Groups are for working together. For competing teams that should be even in skill, use the random team generator, which can balance teams by a skill number. Outside class, the same tool splits a workshop into breakout rooms or a big family dinner into tables.

Names stay on your device

The names you type here stay in your browser. They are not sent to us.

Updated December 1, 2026

Questions

What happens to the students left over?

They are spread across the groups, so group sizes never differ by more than one. Nobody ends up alone, and no group gets two extra people.

Should I choose group size or number of groups?

Choose the number of groups when the room sets the limit, like six lab stations. Choose the size when the task does, like a four-part role sheet.

How often should I make new groups?

For short tasks, new groups every week or every activity works well. For long projects, keep groups together until the project ends.

Do the names go anywhere?

No. The list and the groups stay in your browser. Nothing on this page is sent to a server.