Free Tool

Team Generator

Last updated: May 2026

Paste in names, pick how many teams, and get balanced groups in one click. Perfect for sports, classrooms, game nights, and any group activity.

Players / Names 10
One name per line
Tip: paste a list from any spreadsheet or doc
Number of teams
2
Balance teams evenly
Distribute extras across first teams
👥
Ready to build your teams?
Add names on the left, choose how many teams, then hit Generate.
Your Teams

How Random Team Generation Works

A random team generator takes a list of names and distributes them across a specified number of teams using a shuffle algorithm — typically a Fisher-Yates shuffle, which guarantees every possible permutation is equally likely. The names are first randomized into a shuffled order, then assigned to teams sequentially: person 1 goes to team 1, person 2 to team 2, and so on until all slots are filled. This creates teams of roughly equal size while ensuring the assignment process is free from conscious or unconscious bias.

Random assignment is the gold standard for fairness when skill levels are unknown or irrelevant — classroom activities, icebreakers, hackathons, and social sports leagues all benefit from it. When skill balance does matter, stratified random assignment (sorting participants into skill tiers first, then randomly drawing one from each tier per team) is more appropriate. The random team generator handles the pure random case; for stratified assignment, pre-sort your list by skill before running the generator.

Total PeopleRecommended Team SizeNumber of TeamsNotes
62–32–3Good for pair or trio exercises
102–52–55 teams of 2 work well for debates
153–53–5Teams of 3 minimize free-riding
204–54–5Teams of 4 optimal for most projects
244–64–6Divides evenly; no remainder
305–65–66 teams of 5 is classic classroom size
50+5–86–10Keep teams under 8 to maintain accountability

Worked Examples

Example 1 — 12-person workshop split into 3 teams
Enter 12 names; select 3 teams. The generator shuffles all 12 names using Fisher-Yates, then assigns positions 1–4 to Team A, positions 5–8 to Team B, and positions 9–12 to Team C. Each person had a 1-in-12 chance of any position, making the assignment statistically unbiased. Each team ends up with exactly 4 members.
Example 2 — 13 people split into 4 teams (uneven remainder)
With 13 people and 4 teams, integer division gives 3 teams of 3 and 1 team of 4 (13 ÷ 4 = 3 remainder 1). The generator distributes the remainder by giving the first team an extra member. To decide which team gets the extra person fairly, the shuffled order determines this automatically — no manual intervention needed.

Frequently Asked Questions

How are teams randomly assigned?

The generator performs a Fisher-Yates shuffle on the complete list of names, which produces a uniformly random permutation. It then divides the shuffled list into the requested number of teams by slicing sequentially. This means every possible team composition is equally likely — there is no hidden preference or pattern.

Can you ensure balanced teams by skill?

Not with pure random assignment. For skill-balanced teams, use stratified random assignment: rank participants by skill level, create tiers (e.g., top 25%, mid-50%, bottom 25%), and randomly draw one person from each tier per team. This ensures each team has a representative mix without eliminating randomness entirely.

What is the best team size for productivity?

Research on group dynamics consistently points to 4–6 members as optimal for most collaborative tasks. Teams of 2–3 can move fast but lack diversity of perspective; teams of 7+ suffer from coordination overhead, social loafing, and diffusion of responsibility. Amazon's "two-pizza rule" (teams small enough to be fed by two pizzas) reflects the same principle.

How do you handle uneven numbers?

When the total number of people does not divide evenly by the number of teams, the generator creates some teams with one extra member. For example, 14 people across 4 teams produces two teams of 4 and two teams of 3. The uneven distribution is handled by assigning remainders to the first teams in the shuffled order.

What is the difference between random assignment and stratified assignment?

Random assignment gives every participant an equal chance of landing on any team with no constraints. Stratified assignment first groups participants by a relevant variable (skill, experience, department) and then randomly assigns within each group to ensure balance. Use random assignment for fairness; use stratified assignment when balance on a specific dimension is required.