Random Team Generator (Balanced by Skill)
Fair teams in one click — random, or balanced by skill, with your rules.
Teams
About the Random Team Generator (Balanced by Skill)
Paste a list of names, choose how many teams (or how many people per team), and get teams in a second. Random gives every possible split the same chance; Balanced by skill uses ratings you add after each name (Asha, 8) to make teams whose average skill is as close as possible — ideal for five-a-side, cricket, quiz nights, hackathons and classroom groups.
You can also keep friends together, keep rivals apart, spread a group such as gender, role or class section evenly across the teams, and choose captains (the ones you mark, one picked at random, or the best player in each team). Teams can be copied, downloaded as CSV or printed. Everything happens in your browser.
How to use it
- Type or paste the people, one per line. Optionally add a rating and a group:
Asha, 8, F. Put*in front of a name to mark a captain. - Choose Number of teams or People per team, and Random or Balanced by skill.
- Optional: tick Spread each group evenly, choose how to pick Captains, and open Keep together, keep apart, team names to add rules.
- Press Make teams. Press Shuffle again for a different split with the same rules, or Copy, CSV and Print to share the result.
Examples
Ratings 10, 9, 8, 7, 6, 5, 4, 3, 2, 1 · 2 teams · Balanced by skill
Team totals 28 and 27 (averages 5.6 and 5.4) — the closest any split can get, since the ratings add up to 55
30 pupils · People per team: 4 · Random · keep apart: “Kabir, Arjun”
8 groups: six of 4 and two of 3, with Kabir and Arjun in different groups
When the people do not divide evenly, sizes differ by at most one: 30 in groups of up to 4 makes 8 groups (4, 4, 4, 4, 4, 4, 3, 3).
6 F and 6 M · 3 teams · Spread each group evenly · Captains: highest rating
Every team gets 2 F and 2 M, and the best-rated player in each team is captain
Common uses
- Sports: football, cricket, basketball and badminton doubles with fair sides.
- Teachers: project groups, reading groups and seating, with pupils who should not sit together kept apart.
- Offices and events: hackathon teams, workshop tables, quiz teams and team-building games.
- Game nights: random teams for charades, Pictionary or any team game.
How the balancing works
Ratings are put on a common scale (how far each one is from the group’s average). People are then dealt one at a time, strongest first, each to the team that needs them most — the team with the fewest people, and among those the one furthest below its fair share of skill. After that the tool keeps moving and swapping single people between teams for as long as any move makes the teams more even, shakes the result up with random swaps to escape dead ends, and repeats the whole process from several random starting points, keeping the most even result.
“More even” is judged in a fixed order: first team sizes (never more than one apart unless keep-together groups force it), then each group label, then skill. With balanced sizes, equal average skill is the goal, so a team with one extra player is not treated as weaker. Checked against every possible split of eight people into two teams (150 random cases), it found the best split every time; for long lists the result is very close to the best possible.
Random teams are really random
With no rules, the list is shuffled with the Fisher–Yates method using your browser’s cryptographically secure random generator (crypto.getRandomValues), then dealt out in turn, so every split is equally likely and sizes differ by at most one. With keep-together, keep-apart or group rules, people are placed in a random order into the teams that still have room and respect the rules.
Writing the list
Asha— just a nameAsha, 8— a rating (any scale: 1–5, 1–10, 0–100, decimals allowed)Asha, 8, ForAsha, F— a group label (gender, role, class section …)*AshaorAsha (c)— a captain, used with Captains: the ones marked with *
Commas, semicolons, tabs (from a spreadsheet) and | all separate the parts. Names must be unique — add an initial for two people with the same name. People without a rating count as the average in balanced mode.
Limitations
- Up to 1,000 people and 100 teams.
- Ratings are only as fair as the numbers you give: the tool balances the ratings, not the players.
- Group labels are matched exactly but ignoring case: “F” and “f” are the same group, “F” and “Female” are not.
- Results are not saved; copy, download or print the teams you want to keep. Your list and settings are remembered in this browser.
Privacy
Names, ratings and rules never leave your browser. They are remembered on this device so the list is still there next time; press Clear to remove it.
Frequently asked questions
How do I make fair teams by skill?
Add a rating after each name (Asha, 8), choose Balanced by skill and press Make teams. The team averages and the spread between the strongest and weakest team are shown above the teams.
What happens if the people do not divide evenly?
Team sizes differ by at most one. Ten people in three teams make teams of 4, 3 and 3; with People per team: 4, ten people make three teams (4, 3, 3), not two of 4 and one of 2.
Can I keep two people together or apart?
Yes. Open Keep together, keep apart, team names and write one rule per line, for example Asha + Ravi to keep them in the same team, or Meera, Joe, Li to put all three in different teams.
How do I balance boys and girls (or roles)?
Add the group after the rating or name (Asha, 8, F or Joe, M) and tick Spread each group evenly. Each group is shared out as evenly as the numbers allow.
Is my list uploaded?
No. The teams are made in your browser, and the list is only saved in this browser’s storage so it is there next time.