Random Group Generator for Teachers
Paste your class list, pick a group size or count, get balanced random groups. Optional seed for reproducibility. Avoid repeating last week's pairs.
Saved to this browser. No account, no upload, no signup.
How the generator works
It does a uniform-random Fisher-Yates shuffle of your full class list, then distributes students round-robin into groups. In groups of K mode you choose the size (3, 4, 5…) and the number of groups follows from the class size. In N groups mode you choose how many groups and the size follows. Either way, the algorithm balances sizes — a remainder is spread across earlier groups, not bunched at the end.
Seeding for fairness and reproducibility
A seed locks in the random draw. Same seed + same names + same mode = same groups, every time. Three common uses:
- Run the same groups across two periods. If your 1st and 3rd period both have the same project on the same day, use seed
wed-april-15in both periods to produce parallel group structures. - Share groups with a colleague. Two teachers in adjacent classrooms can produce identical groups by agreeing on a seed and pasting the same combined list.
- Reproduce groups after a refresh.If you closed the browser and need to recreate this morning's shuffle, type the same seed.
Avoid repeating last week's pairs
With this toggle on, the generator stores the pair-ups from your most recent shuffle in your browser's local storage. The next shuffle runs up to ten attempts and picks the one with the fewest repeat pairs. This isn't a hard constraint — with very small group sizes in a small class, some repeats are unavoidable — but it's usually enough to keep multi-week project groups feeling fresh.
Pedagogical patterns
- Jigsaw expert groups — Use groups of 4 for the expert phase, then re-shuffle to mixed groups for the teach-back phase. The seed feature lets you control which jigsaw a student lands in if you have specific reasons for matching.
- Think-pair-share— Use the picker for the "share" part. The pair part can be groups of 3 if you want triads instead of pairs.
- Random project groups for the term — Run one shuffle at the start of the unit, save the result (copy to a Google Doc), and use those teams across multiple class periods until the project completes.
- Mixed-ability shuffling— Generic randomisation doesn't account for ability mix. For deliberately balanced mixed-ability groups, sort your list before pasting (highest → lowest performer), then groups-of-4 mode pairs row 1 with rows 8, 15, 22, etc., giving roughly balanced groups by design.
What this tool doesn't do
It doesn't hard-exclude specific pairings (no "Alice and Bob must not be together" constraint), doesn't balance by gender / reading level / IEP, and doesn't persist multi-week history beyond the most recent shuffle. For deliberately balanced groupings on multiple axes, manual sorting before pasting is the intended workflow.
Related Tools
Groups of 3 Generator
Same tool with the group size locked to 3 — useful for jigsaw activities.
Groups of 4 Generator
Same tool with the group size locked to 4 — the most-used team size.
Name Picker
After making groups, randomly call on one student to summarise their group's thinking.
Classroom Timer
Pair with a projected countdown for timed group-work sessions.
Toolkit Hub
All four free classroom tools in one place.