Random team generator
Split a list of names into random teams or groups. Balance them by skill tier, keep certain people apart or together, and share the teams with one link.
How the split works
Paste names from a spreadsheet, a group chat or a sign-up sheet; blank lines and extra spaces are ignored, and repeated names get a number so nobody is lost. Choose how many teams you want, or how many people should be on each team, and press Make teams.
Sizes are as even as the numbers allow. Team sizes never differ by more than one. The teams with an extra person come first in the list, so Team 1 is never smaller than Team 3.
Random mode shuffles the whole list and deals it out, so every possible split is equally likely. With keep-apart pairs, any shuffle that puts a pair together is thrown out and a new one is drawn, which keeps every allowed split equally likely too.
Keep together places pairs as one unit: a parent with a small child, a couple, two friends who only came because of each other. Pairs chain, so three people linked by two pairs stay on one team. With keep-together pairs the split is still random, but it comes from a search that places the pairs first, so not every possible split is exactly as likely as the others. If a group is bigger than a team, or the same two people are marked both together and apart, the page tells you which rule it could not keep.
Balanced mode is for pickup games and quiz nights where pure chance can stack one side. Put each person in a skill tier from 1 to 5 (be kind, and be honest). The teams come out with close totals, and the totals are printed on each card. Because equal skills are shuffled before placing and swaps are tried in random order, pressing Reshuffle gives a different set of balanced teams, not the same one every time.
Results are large so they can be read off a phone held up to the room, or shown on a TV. Copy as text gives one line per team for a chat; your browser's Print gives a clean sheet with just the teams. Share link makes a link that opens this page with the same names, settings and teams, so a coach or teacher can send the split to everyone instead of a screenshot. Then run the event: a tournament bracket or a round robin built from these teams.
How the randomness works
Every random step uses your browser's cryptographic random generator (crypto.getRandomValues), the source used for security keys, rather than the everyday Math.random. Shuffling is done with the Fisher-Yates method, and any random number that would not divide evenly into the choices is discarded and drawn again, so no name is a fraction more likely to land on Team 1. Automated tests split lists tens of thousands of times and check each person lands on each team as often as the sizes say they should, that sizes stay within one, and that balanced totals stay within the bound stated above.
Your names, skills and pairs are saved only in this browser so the list is there next time. Nothing is sent anywhere. A share link carries the names inside the link itself, after the #; browsers do not send that part to any website, including this one, so only the people you give the link to can see the names.
Team and group questions
What happens when the names do not divide evenly?
Some teams get one extra person, and never more than one. With 10 names in 3 teams you get teams of 4, 3 and 3. If you ask for people per team instead, no team goes over that number: 10 names at 4 per team also gives 4, 3 and 3.
How does "balance by skill" work?
Give each person a number from 1 to 5. The generator places the strongest players first, each onto the team with the lowest total so far, breaking ties at random. Then it keeps swapping pairs between teams whenever a swap brings two team totals closer. Each team's total is shown so everyone can check.
How even are balanced teams?
With teams of equal size, the highest and lowest team totals differ by no more than the gap between your strongest and weakest player (at most 4 on the 1 to 5 scale), and usually by 0 or 1. When some teams have an extra person, the gap can reach 5. Keep-apart pairs can make it a little wider.
Can I keep two people on different teams?
Yes. Open "Keep people apart", pick the two names and add the pair. You can add several. If no split can honor every pair, for example three people who must all be apart but only two teams, the page tells you instead of quietly ignoring it.
Can I keep two people on the same team?
Yes. Open "Keep people together" and add the pair, for example a parent and a young child, or two friends who came together. Pairs chain: if Ana is with Bo and Bo is with Cy, all three share a team. A group bigger than the largest team cannot fit, and the page says so.
How do I share the teams?
Tap "Share link" after making teams. The link holds the names, the settings and the teams, so whoever opens it sees the same teams. The names sit after the # in the link, a part browsers never send to a website, so they go only to the people you send the link to.
Can the generator name the teams for me?
Yes. After you make teams, tap "Name these teams" and every team gets a name from the trivia and game night name generator, using the theme you picked in the team names menu (game night if you picked numbers or colors). Tap "New name" on any one team to re-roll just that team; the other names stay and no two teams share a name.
Is this a random group generator too?
Yes. Teams and groups are the same split. Use it for classroom groups, golf foursomes or tables at an event; rename the teams with the color or game-night name sets, or copy the result and paste it wherever you need it.
Need names for the teams? The trivia and game night team name generator has vibes and themes, or tap "Name these teams" above.
Suggest a game or report a problem
Spotted a wrong rule, a bug, or a game we should add? Tell us here. We read every message.