Random Group Generator
Paste a list of names and instantly split them into fair, randomly shuffled groups, either by number of groups or by group size, entirely in your browser.
Add at least 2 names, one per line, to create groups.
Split By
Number of Groups
Paste your names and click Shuffle Groups
Fair, unbiased shuffling, computed entirely in your browser
Common Use Cases
About Random Group Generator
Splitting a class, a team, or a room full of people into groups by hand is slow and easy to second-guess: did you accidentally put the same two people together again, or make one group noticeably bigger? This tool takes a plain list of names, one per line, and randomly shuffles them into groups in an instant, entirely inside your browser.
Choose how you want the split to work: pick a target number of groups (e.g. "split these 24 students into 4 teams") and the tool distributes everyone as evenly as possible, or pick a target group size (e.g. "put people into groups of 3") and it chunks the shuffled list accordingly, with the final group taking whatever's left over. Either way, the underlying shuffle is the same: every name has an equal, independent chance of landing in any position before the groups are cut, so there's no bias toward keeping names in the order you pasted them.
The shuffle itself uses the Fisher-Yates algorithm, the standard, provably unbiased way to randomly reorder a list, but instead of drawing its randomness from Math.random(), it pulls from crypto.getRandomValues(), the Web Crypto API's cryptographically strong random number generator, with rejection sampling applied so the result isn't even subtly skewed toward smaller values. That's more rigor than a group-picker strictly needs, but it means the shuffle is as fair as randomness gets, with no shortcuts.
Once grouped, each group is shown as its own card with a member count and a one-click copy button, plus a "copy all" and a "download .txt" option for pasting the full breakdown into an email, a lesson plan, or a spreadsheet. Nothing you type is ever uploaded, transmitted, or stored; the names you paste, and the groups generated from them, exist only in your current browser tab.
Frequently Asked Questions
How does the random group generator actually split people up?
Is the shuffle actually fair, or biased toward certain positions?
What happens if the number of names doesn't divide evenly into groups?
Can I set an exact number of people per group instead of a number of groups?
Does this tool upload, store, or share the names I enter?
Related Tools
View all GeneratorsLorem Ipsum Generator
Generate paragraphs, sentences, or words of placeholder text for mockups and designs.
Random Number Generator
Generate random numbers with custom ranges, quantity, and sorting options for testing and development.
QR Code Generator
Generate and download QR codes for any URL or text. Customize size, colors, and error correction level.