Random Group Maker — Split a Class Fairly
Paste your names below, one per line, choose how you want to split - into a number of groups, or groups of a certain size - and press the button. Fair random groups, instantly, with no arguments about who chose whom.
Last updated: July 2026
How are the groups made fair?
The full list is shuffled with the Fisher–Yates algorithm, then names are dealt into groups one by one — like dealing cards. That guarantees:
- Even sizes: groups differ by at most one member (23 students in 4 groups gives 6, 6, 6, 5).
- No bias: friends are as likely to be split as paired — every arrangement is equally likely.
- Two ways to split: "Number of groups" fixes how many groups you get; "Students per group" fixes the size and makes as many groups as needed.
Teacher tip: reshuffling is one click, so if a group combination is a known problem, just press again.
Frequently Asked Questions
How does it handle numbers that do not divide evenly?
Names are dealt one at a time, so sizes stay as even as possible - 23 students in 4 groups gives three groups of 6 and one of 5.
Can I keep two students apart?
Not automatically - but reshuffling is instant, so press the button again until the arrangement works for your class.
Is my class list stored anywhere?
No. Everything happens in your browser - nothing is uploaded, and the list disappears when you close the page.
What is the maximum class size?
Hundreds of names work fine. Paste one name per line - blank lines are ignored.