Make random groups in seconds
Paste names from a spreadsheet, your LMS roster or a list you type yourself. Names can be on separate lines or separated by commas; blank lines and duplicate spaces are ignored. Choose whether you want a set number of groups or a set number of people per group, then press Shuffle.
Why random groups work
Randomly assigned groups feel fair to students and break up the same friends always working together. They mix ability levels naturally and save you the time of hand-balancing teams before every activity.
- Think-pair-share: set people per group to 2.
- Lab teams or stations: set the number of groups to match your stations.
- Project teams: 3–4 people per group usually gives everyone a real role.
Is it really random?
Yes. The generator uses crypto.getRandomValues, the same cryptographic randomness browsers use for security,
with an unbiased Fisher–Yates shuffle. Need a random number instead — for picking a student or a raffle winner? Try the
random number generator.
Planning a unit or a group project? The school-day counter on our sister site TimeCalc counts the weekdays between two dates and skips federal holidays.
Frequently asked questions
How does the random group generator work?
It shuffles your list with a Fisher–Yates shuffle powered by your browser’s cryptographic random number generator, then deals names into groups one by one. Every arrangement is equally likely.
What happens if the class doesn’t divide evenly?
Group sizes never differ by more than one. With 23 students in groups of 4 you get five groups of 4 and one group of 3, rather than a lonely group of one.
Can I make pairs?
Yes. Choose “People per group” and set it to 2. With an odd number of students, one group will have three people.
Is my class list stored anywhere?
No names ever leave your device. The list is saved only in this browser so you don’t have to paste it again next lesson; use Clear to remove it.
Can it make uneven groups?
Groups are always as even as possible, so sizes never differ by more than one. If you need deliberately different sizes, generate the larger groups first, remove those names from the list, and run it again for the rest.
Can I re-roll the groups?
Yes — press Shuffle again for a completely new random arrangement as many times as you like.
Sources
- Crypto: getRandomValues() method — MDN Web Docs
- Fisher–Yates shuffle — Wikipedia
See how we build and test our tools in our editorial policy.