FREE ONLINE TOOL

Random Team Generator

Shuffle a list of names into balanced teams in your browser. Choose how many teams you need, or how many people each team should hold.

Blank lines are ignored. Repeated names are kept, because two identical lines usually mean two participants.
Enter a whole number between 2 and 100. The teams are filled as evenly as the participants allow.
Random Teams

Free Online Random Team Generator

Paste your participants, one name per line, and the tool assigns each one to a team at random. It fits team building exercises, classroom groups, sports sides, tournament brackets, seating plans and standup pairs.

The shuffle uses the cryptographic random number generator built into the browser where it is available, so the order does not come from a predictable sequence such as the clock. Random assignment is still random: an unlucky draw is possible, and generating again takes one click.

How to generate random teams

  1. Paste the participant list, one name per line.
  2. Choose whether you want a set number of teams or a set team size.
  3. Enter the number for the option you selected.
  4. Click Generate Teams, then copy the result if you need to share it.

Number of teams or team size

In Number of Teams mode you choose how many teams to create and the participants are shared as evenly as possible. With 10 participants and 3 teams the result is 4, 3 and 3, so no group carries two extra people while another is short.

In Members per Team mode you choose a target size and the tool creates as many teams as needed to stay near that size. With 10 participants and a target of 4 the result is 4, 3 and 3, because a group of 4 and a group of 3 use everyone while a third group of 4 would need extra people.

How the shuffle works

The list is shuffled with the Fisher-Yates algorithm, which walks the array from the end and swaps each position with a randomly chosen earlier position. Every ordering has the same chance, unlike a sort with a random comparator, which leans towards particular results.

The random numbers come from window.crypto.getRandomValues(), the same source browsers use for cryptographic keys. When a browser does not offer it, the tool falls back to Math.random() and says so in the result message, so the draw is never silently weaker than it claims.

Repeated names and duplicate entries

Duplicate names are kept, because two people can share a name and two identical lines usually mean two participants. Nothing is merged and nothing is removed automatically.

When a repeated line is there by accident, remove it from the input list and generate again. To find out how many copies a list contains, run it through Remove Duplicate Lines first and compare the line counts.

Are my participants uploaded?

No. Names are shuffled in your browser and never leave the page, so student lists, employee lists and customer names can be pasted safely. Nothing is sent to UtilityNexa and nothing is stored after you leave the page.

Frequently Asked Questions

Can the teams have different sizes?

Yes, when the number of participants is not divisible by the number of teams. The tool keeps the difference at one member, so 10 participants in 3 teams gives 4, 3 and 3 rather than 5, 4 and 1.

Is the result fair?

Before the draw every participant has the same probability of landing in any team, but randomness has no memory. A team can come out stronger than you expected, and generating again can produce something completely different.

How many participants can I use?

One run accepts up to 1,000 participants and up to 100 teams. That covers a large classroom, a whole department or a tournament field, which keeps the page responsive at the same time.

Can I keep two people apart or together?

Not on this page. The assignment is a plain random draw with no constraints. If some groups are fixed, place those people in the teams yourself and generate the random names around them.