Paste the players and choose how to split. The list is shuffled with the browser’s crypto generator, then dealt out evenly.

Two ways to split
Choose “Number of teams” when the pitch decides it: two sides, four relay teams. Choose “Players per team” when the activity does: groups of three for a lab, pairs for a workshop. The line under the field tells you how many teams the current list will produce before you draw.
With players per team, a remainder never becomes a one-person team. Ten players in teams of three makes four teams, of 3, 3, 2 and 2.
How the split is made
The whole list is shuffled with the Fisher–Yates method, using numbers from the browser’s cryptographic generator, and the shuffled players are dealt to the teams in turn like cards. Every ordering of the list is equally likely, so every player has the same chance of landing on any team and beside any other player.
The common shortcut of sorting a list with a random comparison does not have that property: it leaves some players more likely to stay near where they started. That shortcut is not used here.
What it will not do for you
The split knows nothing about skill, age or who gets along. If you need two captains, draw them first with the name picker and take them out of the list. To decide which team kicks off, flip a coin.