Intermediate

Random Team Generator

Paste a list of names and pick how many teams you want — this tool shuffles everyone fairly and splits them into balanced groups.
Enter each participant on a new line
How many groups to split into
Random split
8 people → 2 teams
Team 1
Charlie, David, Henry, Grace
Team 2
Emma, Frank, Bob, Alice
50%
50%
Team 1
Team 2
Members per team
Largest team
4
Smallest team
4
Results are estimates for general information only and are not professional advice — always verify important results independently before relying on them. Read the full disclaimer.
Quick answer

How does this calculator work?

Enter your names one per line and choose how many teams you want. The tool runs an unbiased Fisher-Yates shuffle, then deals names round-robin into teams so group sizes differ by at most one. You get the full roster for each team plus a size breakdown, and re-rolls whenever inputs change.

Formula
Fisher-Yates shuffle, then assign shuffled index i to team (i mod T)
How this is calculated

Enter one name per line in the names box; blank lines and surrounding spaces are ignored, so the count n is the number of non-empty lines. The "Number of teams" field T must be a whole number between 1 and n.

The generator first performs an unbiased Fisher-Yates shuffle: starting from the last index and walking down to the first, each element is swapped with a uniformly random element at or before its position. This guarantees every ordering of the names is equally likely. The shuffled list is then dealt out round-robin — the element at position i goes to team (i mod T) — which keeps team sizes within one of each other: each team holds either ceil(n/T) or floor(n/T) members.

Because the result depends on random shuffling, the teams change whenever you edit the inputs. Edge cases: if T equals 1 everyone lands on one team, if T equals n every team has exactly one person, and T greater than n is rejected because you cannot fill more teams than there are people.

Frequently asked questions

Sizes are as balanced as possible. With n names and T teams, each team has either ceil(n/T) or floor(n/T) members, so any two teams differ by at most one person.

Yes. It uses the Fisher-Yates algorithm, which produces every possible ordering with equal probability, so no name is favored for any team.

There would be no one to fill the extra teams. Keep the team count at or below the number of names so every team has at least one member.

Also known as

team picker
split into teams
group randomizer
name shuffler
team maker
team generator
random teams
divide into groups

APA

TG we-Calculate Editorial Team. (2026). Random Team Generator [Online calculator]. TG we-Calculate. https://we-calculate.com/calculator/random-team-generator

Chicago

TG we-Calculate Editorial Team. "Random Team Generator." TG we-Calculate. 2026. https://we-calculate.com/calculator/random-team-generator.

IEEE

TG we-Calculate Editorial Team, "Random Team Generator," TG we-Calculate, 2026. [Online]. Available: https://we-calculate.com/calculator/random-team-generator

BibTeX

@misc{wecalculate_random_team_generator, title = {Random Team Generator}, author = {{TG we-Calculate Editorial Team}}, howpublished = {\url{https://we-calculate.com/calculator/random-team-generator}}, year = {2026}, note = {TG we-Calculate} }

Did this calculator help you?