Random Group & Team Generator
: Split a list of names into random groups or teams by number of groups or people per group, spread tags evenly, balance skill levels, keep people together or apart, pick leaders, and copy, print or download the groupsOptions
Random Group & Team Generator
A random group generator and random team generator: paste a list of names and it splits them into groups or teams at random, either into a set number of groups or with a set number of people in each. It can spread tags such as year or gender evenly, balance teams by skill level, keep friends together or apart, and pick a leader for each group. The draw runs in your browser with its secure random numbers; the names are not uploaded.
How to make random groups from a list of names
- Paste or type the names into
Names, one per line, or open a.txtor.csvfile. TheExamplesmenu has a class of 20, players with skill levels and a list with tags. - Choose
Split into:Number of groupswithGroups, orPeople per group. With people per group,People left oversays whether the spare people join other groups or make a smaller group of their own. - Optional: add a tag or a skill number after a comma (
Ava, girlorAva, 4), join names with + to keep them together (Ava + Ben), and list people who must not share a group underKeep apart.Call them,Pick a leaderandGroup namesset how the result reads. - Read the groups under
Groups: as text to copy, a table you can search for a name, and notes on what was balanced.Reshuffledraws new groups from the same list;Downloadgives a CSV with one row per person, andPrintprints the groups alone.
Example
Nine names split into 3 groups of 3, from one draw. Press Reshuffle on the page and every draw is different.
Ava
Ben
Chloe
Daniel
Ella
Finn
Grace
Henry
IslaGroup 1 (3): Finn, Grace, Isla
Group 2 (3): Ben, Ella, Henry
Group 3 (3): Ava, Chloe, DanielDetails
- Groups are as even as the numbers allow. Ten people in 4 groups gives groups of 3, 3, 2, 2. Ten people with 3 per group gives 4, 3, 3 when the spare person joins another group, or 3, 3, 3, 1 with a smaller group. Asking for more groups than there are people gives one person in each.
- Tags: put a word after a comma or a tab, such as
Ava, girlorAva, Year 5. Each tag is dealt round the groups in turn, so every group gets its share of each one, as even as the group sizes allow. The table lists how many of each tag every group has. Lines without a tag count as a tag of their own. - Skill levels: when every value after a comma is a number, the teams are balanced by their totals instead. The strongest players are spread first, then single players are swapped between the strongest and weakest team while that narrows the gap. The twelve players in the skill example (levels 1 to 5) come out in 3 teams whose totals are 11, 10, 10. A player with no number counts as the average.
- Keep together: names on one line joined by + always land in the same group, such as
Grace + Henry. A tag or number can follow each name. If the people kept together outnumber the group size, that group is bigger and a note says so. - Keep apart: list names split by commas, and several rules split by semicolons, such as
Ava, Ben; Jo, Kim. Everyone in one rule goes to a different group. The page tries the draw up to 25 times to meet every rule; if a rule cannot be met, as with three people to keep apart in two groups, it says which pair shares a group. Names not in the list are named in a note. - Names with a comma in them, as in a
Smith, Johnlist, are kept whole: when the text after the commas is different on almost every line it is read as part of the name, not as a tag. To keep every comma in the name, setAfter a commatoPart of the name. - The draw uses crypto.getRandomValues, the browser's secure random numbers, with an unbiased shuffle, so every arrangement is equally likely when nothing is balanced. A long list (tens of thousands of names) is split in steps with progress and a Cancel button.
Limits
- A new draw happens each time the list or an option changes and on Reshuffle. Groups are not saved: copy, download or print them before changing anything.
- There is no memory between draws, so it cannot avoid pairing people who were together last time unless you add them under Keep apart.
- Balancing uses one value per person: either a tag or a skill number, not both at once.
- Keep apart matches names as typed, ignoring capitals and extra spaces. Two people with the same name are both kept apart from the others in the rule.
FAQ
How do I split a class into random groups?
Paste the class list into Names, one student per line, set Split into to Number of groups or People per group, and the groups appear at once. Press Reshuffle for a new draw, or Print to put the groups on paper.
How do I make balanced random teams?
Add each player's skill level after a comma (Ava, 4) and the teams are balanced by their totals: the skill example gives 3 teams with totals 11, 10, 10. With a word such as girl or Year 5 after the comma, each team gets an even share of each tag.
Can I keep two people in different groups?
Yes. Type their names under Keep apart, split by a comma (Ava, Ben), with semicolons between rules. To keep two people in the same group, put them on one line joined by + (Ava + Ben).
How do I make random partners or pairs?
Set Split into to People per group and People per group to 2. With an odd number of people, People left over sets whether the spare person joins a pair (a group of three) or stays on their own.
Is it really random?
Yes: groups are drawn with the browser's crypto.getRandomValues and an unbiased shuffle. Balancing tags or skills, and keep-together and keep-apart rules, limit which draws are allowed; within those, the order is still random.
Runs entirely in your browser. Nothing is uploaded.