DevTools Logo

Random Team Generator

Random Team Generator

Split any list of names into fair random teams — balanced, seedable, reproducible.

Names & settings

0 names (duplicates ignored)

Teams

About this tool

Random Team Generator: Split any list of names into fair random teams — balanced by count, seedable for reproducibility, with easy copy-paste input. Turns a pasted list of participant names into balanced random teams with keep-together (pair/group must land on the same team) and keep-apart constraints, using CSPRNG-backed assignment with constraint-aware repair. Under the hood, it uses constraint graph over participants + randomized assignment with re-sampling and targeted swaps until all constraints satisfied (or declared infeasible).

Everything runs locally in your browser — your inputs stay on your device and are never uploaded to a server.

What this tool does not do

  • Processes only the inputs provided in this session without connecting to external accounts or background servers.
  • Runs entirely in the current browser tab; nothing is synced across devices or backed up to a server.

How to use this tool

  1. Paste participant names

    Enter one person per line and choose team count or players per team.

  2. Add optional pair/split rules

    Specify keep-together or keep-apart groups and optional seed.

  3. Generate and copy balanced teams

    Review evenly sized teams and copy Markdown or plain-text rosters.

Use cases

28 names

Names, 4 teams — sizes 7/7/7/7 (or +1 remainder rule shown).

Keep-together

"Alice+Bob" pair always co-assigned.

Keep-apart

Two feuding names never co-assigned; infeasible declared clearly if impossible.

Skill-balance mode

Numeric ratings per name for team strength variance minimized within randomization.

Common mistakes

Mistake:How do keep-together and keep-apart rules work?

Fix:Constraint groups ensure paired teammates land on the same squad or rival captains land on separate squads while randomizing everyone else fairly.

Mistake:How random is the assignment?

Fix:Unseeded shuffles draw from Web Crypto randomness, while entering an optional seed lets teachers or tournament organizers reproduce a draw.

Frequently asked questions

How are uneven participant counts distributed across teams?

Team sizes differ by at most 1 person—for example, 14 people across 4 teams always produces two teams of 4 and two teams of 3.

How do keep-together and keep-apart rules work?

Constraint groups ensure paired teammates land on the same squad or rival captains land on separate squads while randomizing everyone else fairly.

How random is the assignment?

Unseeded shuffles draw from Web Crypto randomness, while entering an optional seed lets teachers or tournament organizers reproduce a draw.

Is my roster uploaded or stored remotely?

No. Rosters stay inside your browser tab.