UTILS.
Private by default
⚇

Team / Group Generator

Randomly shuffle a list of names and split them evenly into teams.

Your files stay on this device

Files are processed in your browser, never uploaded. The site downloads code and assets to run the tools. No accounts or trackers.

Use Download to save this tool as one HTML file for offline use.

Privacy →
— output appears here —

About this tool

Paste a list of names and split them into balanced teams in your browser, using a Fisher-Yates shuffle driven by crypto.getRandomValues.

Put one name on each line. Names are trimmed and blank lines dropped, but duplicates are kept, and a comma-separated line counts as one name. Each press of Generate shuffles the list with a Fisher-Yates shuffle whose swap positions come from crypto.getRandomValues with rejection sampling, not Math.random, then deals it out round-robin, so team sizes differ by at most one.

Teams are capped at the number of names. Each prints as a heading with its size, such as Team 1 (3), then one dashed line per member. Until you enter a name, the tool shows an error.

Frequently asked questions

How are the teams balanced?
Names are shuffled and dealt out one at a time in round-robin order, so team sizes differ by at most one person.
What if I ask for more teams than names?
The number of teams is capped at the number of names, so you never get empty teams.
Can I keep certain people apart?
No. The split is purely random, with no constraints.
Does pressing Generate again change the teams?
Yes. Each press reshuffles everything, so copy the result you want.

More tools