Random Team Generator – Build Balanced Teams in Seconds
Splitting a group into teams by hand almost always ends up biased — friends cluster together, the "strong" players get picked first, and someone ends up feeling left out. The Random Team Generator removes the guesswork. Paste in your list of participants, choose how you want to split them, and get a fair, randomized set of teams instantly.
Two Ways to Split a Group
Choose Number of Teams when you already know how many groups you need — for example, splitting a class of 24 students into 4 project groups. Choose Team Size instead when you know the maximum headcount per team, such as capping a trivia team at 4 players; the tool automatically works out numTeams = Math.ceil(totalParticipants / teamSize) and creates that many teams for you.
Behind the scenes, the generator runs a Fisher–Yates shuffle on your participant list and then deals names round-robin into the teams, one at a time. This guarantees every person has an equal, unbiased chance of landing on any team, and it means team sizes never differ by more than one member — a group of 7 split into 3 teams becomes teams of 3, 2, and 2 automatically.
Keeping People Apart with Exclusions
Sometimes two people shouldn't end up on the same team — siblings in a classroom activity, coworkers with a scheduling conflict, or rival players who always dominate the conversation. Add pairs in the Name & Name format, one pair per line, and the generator will automatically reshuffle (up to a bounded number of attempts) until the constraint is satisfied. If a constraint is mathematically impossible to meet with the current team count, the tool tells you clearly instead of silently ignoring it.
Naming Teams and Assigning Captains
Replace the default "Team 1, Team 2…" labels with custom names — team mascots, project titles, or colors — by listing them in the Custom Team Names field. Turn on Assign Captains to have the tool randomly designate one member of each team as the leader, which is handy for sports matches or classroom projects that need a single point of contact.
Reshuffling and Exporting Results
Not happy with a split, or just want a fresh draw for the next round? Click Reshuffle to instantly regenerate teams from the same list and settings without retyping anything. Once you have a result you like, use Copy to paste it into a chat or document, or download it as a plain-text (.txt) or .csv file for printing, spreadsheets, or record-keeping.
crypto.getRandomValues() API by default, avoiding the subtle bias naive random-number approaches can introduce. All processing happens locally in your browser — your participant list is never uploaded anywhere, though your list and settings are remembered in local storage for next time.Whether you're forming pickup game rosters, classroom groups, office hackathon teams, or trivia night squads, the Random Team Generator turns a manual, potentially awkward process into a fast, transparent, and demonstrably fair one.