Written by the Utiliby editorial team · Last updated October 16, 2026 · Rules and formulas reviewed October 2026
What this free online random group generator does
Dividing a class into groups sounds simple until you try it. Letting students choose leads to the same friendship circles. Counting off by hand makes uneven groups. Choosing yourself takes time and invites complaints about favouritism. A random group generator turns the job into a few seconds and gives you a result that nobody can argue was biased.
This free online tool goes further than a basic shuffle. You can split by the number of groups or by people per group, balance groups by a skill or ability level, spread labels such as roles across groups, keep particular people apart, name the groups with a theme, pick a leader and then adjust the result by drag and drop. A chart shows the size and average level of each group, and the final groups can be copied, downloaded as a CSV file or printed.
How to make random groups step by step
- Enter your names, one per line. Paste from a spreadsheet column or a class register.
- Choose how to split. Pick a number of groups or a group size.
- Choose a balance mode. Pure random for quick teams, balance by level for mixed-ability groups, or mix labels for roles.
- Add keep-apart rules if needed, such as Alice & Bob.
- Name the groups with colours, animals, planets, Greek letters or your own list, and tick leaders if you want them.
- Press Generate. Press Shuffle again until you are happy, then drag names to fine tune.
- Copy, download or print.
How balanced grouping works
Pure randomness can give one group all the strongest students by chance. Balanced mode avoids that. After you add a number to each name, the tool shuffles first, so people with the same level are in random order, then sorts from highest to lowest. It deals them across the groups like cards in a snake: group one, two, three, then back three, two, one. The result is that every group gets a similar mix and a similar average, and the chart shows those averages so you can check.
The numbers can mean anything you like: a test score, a reading level, a self-rated confidence from 1 to 5, or years of experience. If you add words instead, choose Mix labels. The tool spreads each label across the groups so no group ends up with only one kind of person.
Keep-apart rules and fairness
Sometimes two people work badly together, or you want to separate friends for a particular task. Enter the pair as Name & Name on its own line, and chains such as A & B & C separate all three from one another. The generator tries up to two hundred shuffles and keeps the result with the fewest broken rules. The stats at the top say whether every rule was met. If the rules are impossible, for example more people to separate than there are groups, it says how many are broken so you can decide what to do.
Fairness also means being transparent. Because the shuffle is unbiased, you can tell students honestly that the computer chose, and the keep-apart list is private to you. Check the final groups for safeguarding, language needs and accessibility before you announce them.
Choosing group size and number
| Group size | Best for | Watch out for |
|---|---|---|
| 2 (pairs) | Think-pair-share, peer review, language practice | No fallback if one is absent |
| 3 | Short tasks, lab work, discussion | One person can be left out |
| 4 | Projects with defined roles | Can split into two pairs |
| 5 to 6 | Debates, simulations, workshops | Some members may stay passive |
With an uneven class, groups differ by at most one person. For 25 students and groups of four, you get six groups, five of four people and one of five, rather than a lonely group of one.
Ideas for using random groups in the classroom
- Cooperative learning. Give each group member a role such as reader, recorder, checker and speaker, and rotate roles each lesson.
- Jigsaw activities. Make home groups, then re-mix into expert groups using a second shuffle.
- Peer review. Use pairs and swap work.
- Revision games. Create quiz teams, then time each round with the exam timer.
- Seating plans. Treat each group as a table.
- Workshops and meetings. Create breakout rooms in a few seconds.
Regrouping often, ideally every few weeks, helps students meet more classmates and prevents fixed cliques. Research on cooperative learning generally supports small, structured groups with clear individual accountability over loosely managed group work.
Tips for better group work
- Make the task clear and say what each person must contribute.
- Keep groups small so everyone has to take part.
- Mix ability in most tasks, but use similar-ability groups sometimes for targeted support.
- Rotate groups so students are not stuck with the same people.
- Have a plan for absences. Remove absent names before you generate.
- Share results quickly on a screen, and print a copy for your records.
Privacy
The names you type never leave your browser. There is no account, upload or database. If you want to keep a class list, save it in your own spreadsheet and paste it in when needed. Printing outputs only the groups and the chart, not the rest of the page.
Related free education tools
These free online tools work well alongside this one:
- Call on students fairly during a discussion with the random student picker.
- Plan the activity your groups will do with the lesson plan template generator.
- Assess the group project with a clear scoring guide from the rubric generator.
Accuracy, limits and responsible use
The generator provides random and balanced splits for everyday use. It is not an audited randomiser and should not be used for prizes, legal selection or decisions with serious consequences. Balanced mode is only as good as the numbers you enter. Teachers remain responsible for the suitability of the final groups.
Frequently asked questions
What is a random group generator?
A tool that splits a list of names into groups by chance. It removes the awkwardness of choosing teams by hand and gives everyone an equal chance of landing in any group.
How do I make random groups from a list of names?
Type or paste one name per line, choose the number of groups or the people per group, and press Generate. Press Shuffle again for a new result.
Can I choose how many people go in each group?
Yes. Switch Split by to People per group. If the class does not divide evenly, groups differ by at most one person, and nobody is left on their own.
Is the grouping really random?
Yes. It uses your browser's cryptographic random number generator with an unbiased shuffle, so every arrangement is equally likely in pure random mode.
Can I make balanced or mixed-ability groups?
Yes. Add a number after each name, such as Alice, 3, and choose Balance by level. People are ranked and dealt in a snake pattern so each group gets a similar mix and average.
What does mix labels do?
If you add words instead of numbers, such as skills or teams, this mode spreads each label across the groups so, for example, every group has a coder and a designer.
Can I keep two students apart?
Yes. Add a rule such as Alice & Bob, one per line. The tool tries many shuffles and picks one that honours every rule. If it cannot, it tells you how many rules were broken.
Can I move people after groups are made?
Yes. Drag a name onto another group, or tap a name and then tap the group on a touch screen. The sizes chart and keep-apart check update at once.
Can I name the groups?
Yes. Use colours, animals, planets, Greek letters, plain numbers, or type your own list.
Can it choose a group leader?
Tick the leader option and each group gets a random leader marked with a star. Moving people keeps the leader valid.
How many names can I add?
Up to 500 names. Duplicate lines with the same name and label are ignored, so add a surname initial if two people share a first name.
How do I save the groups?
Copy them as text, download a CSV file for a spreadsheet, or print. Printing outputs only the group table and chart.
Can I use it for pairs?
Yes. Set People per group to 2. With an odd number, one group has three people.
Is my class list stored or uploaded?
No. Everything runs in your browser and nothing is sent to a server.
What are good group sizes for classwork?
Pairs suit quick discussion, groups of three or four suit most projects, and groups above five tend to let some members stay passive.
Can I use it for sports teams and workshops?
Yes. It works for any list, including team sports, breakout rooms, lab partners, secret Santa style activities and seating.
Is it suitable for official draws?
It is fine for everyday use. For prize draws or legal selection use an audited process.
Sources and further reading
- Johnson, D. W. & Johnson, R. T., What is cooperative learning?, Cooperative Learning Institute.
- Education Endowment Foundation, Collaborative learning approaches.
- MDN Web Docs, Crypto.getRandomValues().
- Vanderbilt University Center for Teaching, Setting up and facilitating group work.
Sources were consulted in October 2026. Standards and rules can change, so always check the official page for your situation.