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.