Random Team Generator
Just enter the names and the number of teams.
Random Team Generator
How this is calculated
See the formula and a worked example
How teams are split (random shuffle)
This tool first shuffles the order of the participants at random, then deals them into the teams one at a time from the front. The shuffle is a Fisher-Yates shuffle (swapping places from the back to mix the order at random), and the random values come from the browser’s cryptographic random number function (crypto.getRandomValues). The result is a random order. For example, splitting 10 people into 3 teams automatically gives teams of 4, 3 and 3, so the sizes never differ by more than one person. Leftover people are spread across several teams instead of piling into one. It combines an even split with a random order.
How to use
How this random team generator works
This random team generator splits a list of names into teams in one click. Type or paste the participants, one name per line or separated by commas, then choose how to split: by the number of teams you want or by the number of people per team. Press Split teams and everyone is placed into teams at random. If you do not like the result, press Reshuffle for a new draw from the same list. You can name the teams and copy the result as plain text. The tool handles up to 300 names and 100 teams.
How the names are split
The split has two parts: a random shuffle and an even distribution. The shuffle uses the Fisher-Yates method, which mixes the list into a random order, and it draws its random numbers from your browser’s cryptographic random source rather than from a simple pseudo-random function. Once the list is shuffled, it is cut into teams as evenly as possible: team sizes never differ by more than one person. Twelve people in three teams gives 4, 4 and 4. Eleven people in three teams gives 4, 4 and 3. When you split by team size, the number of teams is the number of people divided by the size, rounded up, so 11 people with 4 per team makes 3 teams (4, 4 and 3).
A random draw is not always balanced
A random draw decides who ends up where, but it does not balance skill. If you are picking teams for a sport or a quiz and some players are much stronger, random teams may turn out lopsided. A simple fix is a snake draft: sort players by rating, put the top players on different teams first, then reverse the order for the next round.
Tips for better results
- Keep names unique. If two people share a first name, add an initial, such as “Sam K.” and “Sam L.”
- Use commas or new lines. You can paste a column from a spreadsheet or a comma-separated list. Blank lines are ignored.
- Name your teams. Enter team names separated by commas. If you enter fewer names than teams, the rest are numbered.
- Copy the result. The copy button produces one line per team, ready to paste.
Frequently asked questions
How do I split a list of names into random teams?
Paste the names, choose either the number of teams or the number of people per team, enter a number and press Split teams. The tool shuffles the list and divides it as evenly as possible.
Are the teams really random?
The shuffle uses your browser’s cryptographic random number generator and the Fisher-Yates algorithm. Reshuffling gives a new draw.
What happens if the names do not divide evenly?
Team sizes differ by at most one person. For example, 11 people in 3 teams become 4, 4 and 3. The teams that get the extra person are the first ones in the list, but who is on them is random.
Can I name the teams?
Yes. Type team names separated by commas, such as Red, Blue, Green. If you leave the box empty the teams are called Team 1, Team 2 and so on.
Can I make the teams balanced by skill?
This tool shuffles randomly and does not know anyone’s skill. For balanced teams, pick captains or use a snake draft by rating, and use the random split for the rest.
Is my list of names saved or shared?
The list is saved only in your own browser so it is there when you come back. It is never sent to a server, and the Clear list button removes it.
Related tools
How this tool is checked
Last regular check
How it calculates Names are shuffled with a Fisher-Yates shuffle using crypto.getRandomValues, then dealt into teams whose sizes differ by at most one.
How we check Before release, results go through calculation regression tests plus screen and accessibility checks, and the check date changes only when these checks pass again.
Run by Toolssok · About · Report an error