Random Team Generator
Split a list into balanced random teams by team count or team size, with optional keep-together and keep-apart rules and printable results.
One non-empty line is one participant.
0 entries
Limits: up to 500 entries, 80 characters each. Extra entries or characters are ignored and you will be told.
How to use it
- Enter participants, one per line, and resolve any duplicates.
- Choose the number of teams or a target team size. Optionally name the teams.
- Add keep-together or keep-apart rules by choosing two participants. Duplicate names are shown with their list position.
- Press Generate teams. Use Shuffle again for a different arrangement that still follows your rules.
- Copy the teams as plain text or print the page; only the results are printed.
Worked example
A facilitator enters 11 participants and asks for 3 teams, so the sizes will be 4, 4 and 3. Two colleagues who always co-present are set to keep together, and two who dominate discussions are set to keep apart. The tool checks that no keep-together group is larger than the biggest team, searches for a placement, and shows the teams with their sizes.
Limitations
- Up to 500 participants and 50 teams. Rules are limited by a search budget of 200,000 placement steps so the page stays responsive.
- Results are always checked against your rules before display; the tool never shows an arrangement that breaks one.
- Three outcomes are distinguished: a contradiction proven directly, an impossibility proven by a completed exhaustive search, and “not found within the search limit”, which is not a proof.
- Only headcount and your rules are considered. No skill, experience or diversity balancing is performed.
- Rules refer to list positions; editing a name removes rules that pointed at it.
Questions and answers
How are uneven groups handled?
Team sizes differ by at most one person. If 10 people form 3 teams, the sizes are 4, 3 and 3. Which teams are larger is random.
Are the teams balanced by skill?
No. The tool only balances headcount and applies your keep-together and keep-apart rules. It knows nothing about ability, experience or personality.
What does “proven impossible” mean?
Some rule combinations can be shown contradictory directly, such as asking two people to be together and apart. For others the tool searches every placement and reports impossibility only if that search finishes. If the search hits its size limit first, you are told it was not found within the limit, which is not proof that no arrangement exists.
Do rules apply to duplicate names?
Each list position is its own participant. If you keep two entries called “Sam”, a rule applies to the specific position you picked, shown as #number.
What if I change the list after adding rules?
Rules that point to a position whose text changed are removed, and you are told.
What happens to your data
Names and rules stay in your browser and are not sent to a server or put in the page address. Nothing is saved unless you switch on “Save this list on this device”, which stores the names and options in local storage until you clear them.
See the full privacy page for hosting, storage and future analytics or advertising. Spin and Shuffle does not require an account.