Guide
Splitting a list into fair groups: random dealing, skill balancing and reshuffling
Choosing groups by hand takes longer than it should and invites arguments about fairness. This page deals them out by chance, or balances them by a skill number if you want teams of equal strength, and lets you shuffle again with one press. The names stay on the page: nothing is saved or sent.
Entering the names
Type or paste one name per line. A bar after a name adds an optional second field, which the page treats as a skill value, as in Asha | 5. Blank lines are ignored and the second occurrence of a name, in any capitals, is dropped. The Sample button fills in twelve names with skills from 1 to 5. The list is not uploaded or stored, so a new visit starts with an empty box.
Teams or team size
Choose whether to split by the number of teams or by the number of people per team. With a number of teams the list is dealt into exactly that many, up to as many as there are people. With people per team the page divides the list size by it and rounds up, so 28 people in groups of 5 make 6 teams. The result panel shows the number of people, the number of teams and the team sizes, which differ by at most one.
The random split
For the plain split the page shuffles the names with a standard Fisher-Yates shuffle and deals them one at a time round the teams, like cards. A random number from your browser seeds the shuffle each time you press Shuffle, and the seed is what makes a split repeatable: the same seed with the same names gives the same teams. The first split of a session uses the shuffle number 1, so reloading and pasting the same list gives the same first teams.
Balancing by skill
Switch on the balance option and the people are sorted from the highest skill to the lowest and dealt in a snake order: team 1 to team k, then team k back to team 1, and so on. The strongest person goes to team 1, the second to team 2, and the person next in line goes to the team that received the weakest in the last round. A back-and-forth dealing keeps the team totals close. Letters work as skills too, with A strongest. The shuffle still changes the order among people with the same skill.
A worked example
Press Sample: twelve names, each with a number from 1 to 5, and four teams. The result shows People 12, Teams 4 and Team sizes 3, and each team is a small card with a numbered list. Press Shuffle and the teams change. Switch on balancing and the totals of the skill numbers in the four teams come out at 11, 10, 11 and 9 for the first balanced split, where the total of all skills is 41 and an equal split would be 10.25 per team. Press Copy teams for a text list.
Edge cases
More teams than people leaves empty teams out: the page limits the number of teams to the number of people. A single team holds everyone. When two people share the highest skill, the shuffle decides who is dealt first. If the list is empty the page asks for names instead of showing empty cards.
Limits
The page cannot keep chosen pairs apart or together, take account of gender or friendships, or remember teams between visits. Skill balancing uses the one number you give and nothing else. The shuffle is pseudo-random and good enough for classroom use, not for lotteries or anything where a fair draw is regulated.
Related tools
- Random Name Picker chooses one name at a time from a list.
- Seating Chart Maker places the same list in a classroom layout.
- Team Name Generator invents names once the groups are made.
- Dice Roller settles a tie with a roll.
Checked against the current version of the Random Team Generator on .

