Random Team Generator: Split Names into Balanced Groups
Split a list of names into random teams without sending the roster to an AI model. Each nonempty line becomes one numbered entry, including repeated names. Choose the number of teams and generate groups whose sizes differ by at most one. Copy one team, copy all teams or download the exact result as a text file.
For
Teachers, workshop hosts and organizers of low-stakes group activities.
Problem
A shuffled list still needs to be divided into explicit groups without losing or merging entries.
Output
Named teams with balanced headcounts, visible source-entry numbers and matching text exports.
Use when
Classroom activitiesDivide a class roster into small discussion teams. Repeated names remain separate entries, identified by their source numbers.
Workshop breakout groupsSplit participants into a chosen number of groups, then copy the individual team lists for your reviewed agenda.
Casual game teamsRandomly assign participants for a low-stakes activity. Review the result yourself; this tool does not consider skill levels.
What to include
One entry per lineEnter 2-100 nonempty lines. Commas remain part of a name, not separators. Blank lines are ignored, surrounding whitespace is trimmed and repeated ordinary spaces collapse.
Choose the team countUse an integer from 2 to 20, no higher than the number of entries. Every team receives at least one entry.
Keep identifiers briefEach normalized name can contain up to 50 Unicode characters, with 5,000 characters across the full input. Control and directional formatting characters are rejected. Prefer non-sensitive labels.
Steps
01Generate balanced groupsEnter names and a team count, then Generate teams. The list is shuffled once and split into chunks. Any extra entries go to the first teams, one per team.
02Review or reshuffleEach #number refers to a nonempty entry in the current input list. Reshuffle changes assignments, but repeats are possible. Editing names or team count clears old results.
03Export the same assignmentsCopy a single team or all teams, or download a TXT file. Exports preserve team labels, headcounts, entry numbers and names in the displayed order. Reset clears the input and results.
Try this
Ten participants
10 names, 3 teams
Team sizes are 4, 3 and 3. All ten entries appear exactly once.
Two equal teams
8 names, 2 teams
Each team has four entries; no skill or preference information is inferred.
Repeated names
Alex, Alex and Sam on three separate lines; 2 teams
The two Alex entries remain #1 and #2, even if they land on the same team.
Good output
Every nonempty input entry appears once in the result.
Duplicate names retain separate source numbers.
No team is empty and team sizes differ by at most one.
Copied and downloaded assignments match the displayed teams.
Changed inputs cannot export outdated teams.
Avoid
Pasting comma-separated namesUse new lines between entries. A comma is treated as part of the name, so Smith, Alex remains one entry.
Confusing size balance with skill balanceOnly headcounts are balanced. No ability, role, relationship or other attribute is evaluated.
Expecting a new result every timeRandom shuffling can repeat some or all assignments. Reshuffle does not promise a unique outcome.
Limits
Supports 2-100 entries and 2-20 teams, with no more teams than entries. Invalid inputs are blocked, not silently truncated.
Uses browser pseudorandom shuffling for low-stakes planning, not a certified draw or fairness guarantee. There are no weighted entries, captains, keep-apart rules or skill balancing.
Custom names and groups stay in the open page memory. This tool adds no generation request, saved roster, URL encoding, autosave or tracking of entries. Existing site delivery and aggregate analytics still apply. Reloading restores example identifiers.
Numbers identify the current nonempty input entries, not permanent people. Editing or reordering the list creates a new input snapshot and clears the result.
FAQ
Are the teams equally sized?
As close as possible. Each team gets the whole-number quotient of entries divided by teams. The remaining entries go one each to the first teams, so sizes differ by no more than one.
What happens to duplicate names?
Every nonempty line stays separate, including identical names. Source-entry numbers appear on screen and in text exports. Use additional non-sensitive identifiers when names alone are ambiguous.
Does this balance teams by skill?
No. It balances only the number of entries. It does not infer skills, roles, preferences or relationships, and is not a fairness certification.
Are names sent to AI or saved?
No. This tool groups names in the current browser page without a generation API call, persistent roster storage or share-link encoding. Reloading restores the example list.
Can I copy just one team?
Yes. Each team has its own copy button. The top controls copy all teams or download a TXT file with the same names, source numbers and headcounts.
Is a random group generator different?
For dividing a list into groups, it is the same task. This page handles both team and group assignments without creating separate duplicate tools.