Random group generator
Paste names, choose how many groups, get evenly sized random teams.
Put one name per line, choose how many groups you want, and press the button. The list is shuffled with your browser cryptographic random source and dealt out round by round, so the groups come out as even in size as the numbers allow — never one group of eight and another of two. The names, the count and the result stay on your device.
Runs entirely in your browser. Your text is never uploaded — open DevTools, Network tab, and you will see zero requests while you use this tool.
How to use it
- Paste your names, one per line.
- Set the number of groups you want.
- Press "Make groups".
- Each group is labelled with its size; copy or download the result.
What this tool does
Give it a list and a number, and it divides the list into that many random groups. It does two things that matter and that quick solutions usually get wrong. First, the shuffle is genuinely random — it uses crypto.getRandomValues, the same source used for security-grade randomness, not the predictable Math.random. Second, the groups are balanced: names are dealt out one at a time in rotation, so with eleven names across three groups you get sizes of four, four and three, not a lopsided split.
Who uses it
- Teachers. Break a class into project teams or discussion groups in seconds, without anyone arguing about who picked whom.
- Sports and games. Split players into fair, even sides.
- Workshops and events. Assign attendees to breakout rooms or tables.
- Secret Santa and draws. Divide a big list into smaller pools.
Balanced groups, fair randomness
Two design choices separate a good group maker from a bad one. Balance means the sizes differ by at most one person; nobody wants a team of six against a team of two. Fairness means every arrangement is equally likely, which needs a proper shuffle. Many simple splitters just cut the list into slices — if the list was already in any order, so are the groups. Here the list is fully shuffled first, then dealt in rotation, so both properties hold at once.
Your list stays private
A class register, a team roster or a guest list is personal data. The best-known wheel and group sites ask you to sign in and keep your saved lists in their cloud. This one keeps everything in your browser — no account, no upload, no stored list. Open the Network tab in your developer tools while you make the groups and you will see nothing sent.
Doing it without this tool
Slips of paper: the classic method, and genuinely fair, but slow for thirty names and you cannot redo it instantly.
Spreadsheet: add a column of =RAND(), sort by it, then assign groups by row number. It works but takes several steps and has to be rebuilt each time.
Counting off "one, two, three": quick in a room, but the result depends on where people are standing, so it is not really random.
Privacy: your list never leaves your browser
Everything on this page runs in your browser with JavaScript. The text you paste is never sent to a server, no account is required and nothing is stored anywhere. You can confirm it: open your browser developer tools, switch to the Network tab and use the tool — you will see zero requests go out. For anything sensitive, that is the whole point.
Related tools
Frequently asked questions
As even as possible. Names are dealt out in rotation, so the sizes differ by at most one when the list does not divide equally.
Yes. The list is shuffled with crypto.getRandomValues, a cryptographic-grade random source, and then dealt out, so every arrangement is equally likely.
The number of groups is capped at the number of names, so you never get empty groups.
No. There is no sign-up and nothing is saved. Paste, generate, copy — done.
No. Everything runs in your browser and the list never leaves your device, which matters because names are personal data.
Yes. Set the number of groups to the number of teams you want and each comes out evenly sized.