Random Group Generator
Split a list of names into random teams or groups
100% free. Runs entirely in your browser - your files and data never leave your device and nothing is uploaded to any server.
0 names
Your groups will appear here.
About this tool
Paste a list of names and split them into random groups or teams in one click - by the number of groups you want, or by how many people should be in each. Teachers use it to make classroom groups and pairs, coaches to pick sides, and facilitators to fill breakout rooms. The shuffle uses your browser's cryptographic random number generator, so nobody can predict or steer who ends up together, and when the names do not divide evenly the groups never differ by more than one person.
How to use this tool
- Paste the namesOne name per line. Blank lines and extra spaces are ignored, or press Sample to try it with ten names.
- Choose how to splitNumber of groups ("make 4 teams") or People per group ("groups of 3").
- Generate the groupsPress Generate groups. Names are shuffled and then dealt out like cards, so group sizes stay within one of each other.
- Reshuffle or copyPress Reshuffle for a new random mix, or Copy to paste the list into a chat, slide or email.
How to split a class or team into random groups
Paste the names one per line, then choose either the number of groups you want or how many people should be in each. Press Generate for random groups, and Reshuffle if you want a different mix.
When the names do not divide evenly, some groups get one extra person. For discussion groups, 4 to 6 people works best; for pair work, set 2 people per group.
How uneven numbers are split
After the shuffle, names are dealt to the groups one at a time, like cards, so the biggest and smallest group never differ by more than one person. Some examples:
- 13 names, 3 groups: 5, 4 and 4.
- 10 names, 4 people per group: three groups of 4, 3 and 3 - not 4, 4 and 2.
- 22 names, 4 people per group: six groups of 4, 4, 4, 4, 3 and 3.
- 30 names, 6 groups: six groups of 5.
- 7 names, 2 people per group: 2, 2, 2 and 1 - choose 3 groups instead to get 3, 2 and 2.
Key features
- Splits by number of groups or by group size - whichever way the activity is described.
- A cryptographically random shuffle, so the order you typed names in has no effect.
- Uneven numbers are handled for you: 13 people in 3 groups become 5, 4 and 4.
- No sign-up, nothing to install, and the names stay in your browser.
Common uses
- Splitting a class into discussion groups or random pairs for pair work.
- Picking fair teams for a five-a-side match, quiz night or sports day.
- Filling breakout rooms for a workshop, training or online meeting.
- Assigning people to tasks, rotas or project groups without favouritism.
Tips for better results
- Check the list for repeated names first - a name entered twice is treated as two people.
- For pairs, set People per group to 2. With an odd number of names the last pair is a single person, so add them to another pair to make a trio.
- Use Number of groups when the room sets the limit (5 tables), and People per group when the task does (teams of 4).
- Copy the result before pressing Reshuffle - each new shuffle replaces the last one.
Mistakes to avoid
- Expecting the generator to keep certain people apart - it is purely random, so swap names by hand afterwards.
- Asking for groups of 4 from 10 names and expecting 4, 4, 2 - you get the fairer 4, 3, 3.
- Editing the name list after generating and forgetting to generate again.
- Reshuffling until a favourite combination appears, which defeats the point of random groups.
Frequently asked questions
Yes. Choose Number of groups to say how many teams you want, or People per group to say how big each one should be - the generator works out the other number. Asking for groups of 4 from 22 names, for example, gives six groups.
It is random. The list is shuffled with the Fisher-Yates method using your browser's cryptographic random number generator (crypto.getRandomValues), so every arrangement is equally likely and the order you typed the names in makes no difference.
The extra people are spread one per group, so group sizes differ by one at most: 13 names in 3 groups gives 5, 4 and 4. In People per group mode the generator makes as many groups as needed and evens them out, so 10 names in groups of 4 gives 4, 3 and 3.
Randomise first, then swap one or two people if a team is clearly stronger. For classes, some teachers split the list by ability first and randomise within each level so every group gets a mix.
Three to five people per group usually works best: everyone gets to speak, and there are enough views for a real discussion.
Random breakout groups mix departments and seniority, so people meet colleagues they rarely work with - useful for workshops, retrospectives and team-building days.
Yes. Choose People per group and enter 2 to split the list into random pairs. If the number of names is odd, one person is left on their own in the last group - put them with any pair to make a group of three.
Yes - choose Number of groups, enter 2 and press Generate groups. Press Reshuffle for a rematch with different sides.