← Home

👥 Team Generator

Split any list of names into random, balanced teams or groups instantly.

What is this tool?

The Team Generator is a free online tool that randomly divides a list of names into teams or groups. Whether you are a teacher organizing classroom activities, a coach setting up practice teams, a manager creating project groups, or hosting a game night, this tool ensures fair and unbiased team assignments. Simply paste or type a list of names (one per line), choose how many teams you want, and click Generate. The tool assigns each name to a team, balancing the team sizes as evenly as possible. Each run creates a different random assignment, so you can regenerate until you get a grouping that works. The result displays all teams clearly with their members listed under each team name. Team names use numbered labels (Team 1, Team 2, etc.), making it easy to print or share.

How it works

The generator works by first shuffling the list of names using the Fisher-Yates shuffle algorithm, which produces a uniformly random permutation. It then distributes the shuffled names round-robin style across the requested number of teams. This ensures that the teams are balanced: no team has more than one extra member compared to any other team. For example, with 23 names and 4 teams, the algorithm assigns names sequentially: person 1 to Team 1, person 2 to Team 2, person 3 to Team 3, person 4 to Team 4, person 5 to Team 1, and so on. This results in teams of sizes 6, 6, 6, and 5. Because the shuffle is random each time, every run produces a different team composition. The tool also handles edge cases: fewer names than teams results in some empty teams, and one team results in all names in one group.
Ad

How to use

  1. Enter or paste the names of all participants, one per line.
  2. Enter the number of teams you want to create (2 to 20).
  3. Optionally choose whether teams should be as equal as possible.
  4. Click Generate to randomly assign members to teams.
  5. Review the teams and use the Regenerate button if you want a different assignment.

Frequently Asked Questions

Frequently Asked Questions

Can I put specific people on the same team?
No. The generator is purely random. For controlled grouping, you should manually assign teams.

What is the maximum number of people I can enter?
There is no hard limit, but for practical readability, we recommend up to 200 names.

Can I name the teams instead of using numbers?
The current version uses numbered team labels. You can rename the teams yourself after generating.

Does the tool save my name list?
No. All data stays in your browser. Nothing is stored or transmitted to any server.

Tips & Advice

For classroom activities, 3–5 students per team is usually optimal for collaboration. For sports practice, balance skill levels by entering names in skill order and the randomization will mix them effectively. If you need specific team sizes rather than a fixed number of teams, adjust the team count until the sizes match your needs. For large groups, copy the name list from a spreadsheet for faster entry. Teams work best when they have at least 3 members each.

Related Generators

Ad