Random Group Generator – Split Names into Teams

Paste your names, pick how many groups you need and get an even, unbiased split instantly.

How to Use This Random Group Generator

List the people you want to split, one name per line, in the box provided. Don't worry about the order you type them in — the tool shuffles everything for you. Set how many groups you need, anywhere from 2 to 8, and press Generate Groups. The names are shuffled with an unbiased Fisher-Yates shuffle and then dealt out one at a time in a round-robin pattern, so the groups end up as evenly balanced as the number of names allows. Each group appears in its own card with a coloured edge so it is easy to scan. Press Copy all groups to copy them as a simple list you can paste into a chat, an email or your notes. Typical uses include breaking a class into discussion teams, assigning chores, splitting a sports session into sides, or forming quiz teams at random so nobody can accuse you of fixing the draw.

Frequently Asked Questions

Are the groups always the same size?

They are as even as possible. When the number of names does not divide exactly by the number of groups, the earlier groups receive one extra member rather than leaving one group short.

Can the same name end up in more than one group?

No. Every name from your list is placed into exactly one group, so the groups together contain the full list with nothing duplicated and nothing left out.

Is the shuffle fair?

Yes. The order is randomised with a Fisher-Yates shuffle in which every swap index comes from crypto.getRandomValues, the secure random source built into your browser, so all possible arrangements are equally likely.

Is my list of names saved anywhere?

No. The names exist only inside this page while it is open. Nothing is written to your device and nothing is sent to a server, so reloading or closing the tab clears everything.

Why the Groups Stay Fair

The tool starts by randomising the order of your whole name list, then deals the names out one by one. Because the shuffle happens before anyone is placed, every position in the list is decided at random and each person can only land in one group. Running the generator again reshuffles from scratch, so you get an entirely new arrangement rather than a small change to the previous one. Nobody keeps ending up with the same people by design; any repeat you notice across several runs is ordinary chance, not a preference built into the tool. When the number of names does not divide evenly by the number of groups, the groups cannot all be identical in size. The tool spreads the names as evenly as it can, so some groups hold one extra member while the rest hold one fewer. Classrooms, sports teams, workshop breakout sessions and party games all benefit: the split is quick, transparent and repeatable whenever you need a fresh draw.

Related Tools