Skip to content

Random Group Generator

Type the names, choose how many groups you want and run the draw. Turn on pots and every block you separate with a blank line becomes its own pot.

12 names
With pots on, names from the same pot land in different groups whenever possible.
Draw setup–
Names–
Per group–

Updated: December 1, 2026Sources and method ↓

How does the random group generator work?

Paste your list into the box, one name per line. Pick how many groups you want and tap "Make the groups". Names get drawn one at a time, pop up in the middle of the screen for a second and drop into their group. In a hurry? Hit "Faster" or "Show result now". When the draw is done, copy the groups with one tap and paste them into your class chat, team channel or slides.

Groups are filled as evenly as possible. No group ever gets more than one extra name. Split 10 people into 3 groups and you get one group of 4 and two groups of 3.

Example: Split 12 names into 3 groups of 4 without pots. There are 12! / (4! × 4! × 4!) = 34,650 different ways the lettered groups can come out, and each name has exactly a 1 in 3 (33.3%) chance of landing in Group A.

What are pots and seeding for?

If you've watched a big sports draw like the World Cup, you've seen pots. The strongest teams go into one pot, the next tier into another, and every group gets one team from each pot. That way last year's finalists don't meet in the first round, and the groups start out balanced.

Using pots here takes two steps. First, tick "Use pots". Second, split your list into blocks with blank lines. Each block becomes a pot. Put your top seeds in the first block. If a pot has exactly as many names as there are groups, every group gets exactly one name from that pot.

Example: A school tournament has four 7th grade classes in one pot and four 8th grade classes in another, drawn into 4 groups. Every group ends up with one 7th grade and one 8th grade class. Each pot can be dealt out in 4! = 24 ways, so there are 24 × 24 = 576 possible draw results.

If a pot holds more names than there are groups, the extras go to whichever groups have the fewest names so far. Group sizes stay balanced either way.

How many groups should you make?

For a tournament, the number of groups decides how many games you play. In a round robin where everyone plays everyone, a group of k teams plays k × (k − 1) / 2 games. That's 6 games for a group of 4 and 10 for a group of 5. Short on time? Make more, smaller groups. Think about the knockout round too: if the top two from each group go through, 4 groups give you a clean 8-team quarterfinal, while 3 groups leave you with 6 teams and an awkward bracket.

Example: Split a 16-team tournament into 4 groups and each group has 4 teams, so the group stage takes 4 × 6 = 24 games. Split the same 16 teams into 2 groups of 8 and you'd need 2 × 28 = 56 games.
Teams per groupGames per group
33
46
510
615
828

For classrooms, think about the job instead. Many teachers like groups of 3 or 4, small enough that everyone gets a turn to talk. If you know how many people you want in each group rather than how many groups, the team generator lets you set the group size directly.

Is the draw really random?

Yes. Before the draw starts, each pot is shuffled with your browser's cryptographic random number generator using the Fisher-Yates method. It's the same kind of unpredictable source used in encryption, so neither you nor we can know the result in advance. The one-by-one animation just shows that shuffled order being dealt into groups. Unlike a draw with physical balls, there's no room for "hot ball" conspiracy theories.

Everything runs on your device. The names you type are never sent to a server.

Ideas and tips

  • Classrooms: Project groups, reading circles, lab partners. It's the easiest way to stop the same friends from always ending up together.
  • School and rec leagues: Make grade levels or last season's standings into pots so nobody complains about a "group of death".
  • Work and events: Breakout rooms, trivia night tables, workshop groups.
  • Balanced by skill: If you want groups with equal skill rather than equal luck, the balanced mode in the team generator is a better fit.

Do the draw on a shared screen or projector so everyone sees it happen. If you enter the same name twice, the tool warns you. Once the groups are set, use the random order generator to decide which group presents first, or put the group winners on the wheel for a final showdown.

Frequently asked questions

How do I randomly split a list into groups?
Paste the names one per line, set the number of groups and tap "Make the groups". The list is shuffled with cryptographic randomness and dealt into groups that differ by at most one name.
How do pots work in a group draw?
Tick "Use pots" and separate your list into blocks with blank lines. Each block is a pot, and every group gets names from each pot in turn, so top seeds are spread across the groups.
What happens if the names don't divide evenly?
Groups are kept as even as possible, so the biggest and smallest group differ by one at most. For example, 10 names in 3 groups become 4, 3 and 3.
Is the group draw decided in advance?
No. The pots are shuffled with your browser's cryptographic random number generator only when you press the button. The animation simply shows that result.
What is the maximum number of groups?
Up to 26 groups, lettered A to Z. You can't have more groups than names, because every group needs at least one.

Sources: MDN Web Docs: Crypto.getRandomValues(); Fisher-Yates shuffle algorithm.

Last updated: December 1, 2026

Every draw uses your browser's cryptographic random number generator. The names you type never leave your device.

You might also need