Team generator
Split a list of names into fair random teams, balanced by skill if you want, or draw new partners every round.
A skill from 1 to 5 after a name (Ana 4) is optional and balances the teams. Plain names make purely random teams.
Every round, each name on list A meets one name on list B (mentors and mentees, readers and listeners).
Keep apart and keep together
One rule per line, names split by /. Ana / Ben / Gus on Keep apart puts all three on different teams; on Keep together it places them as one unit.
Captains first
You can also put (c) after a name in the main list. List more captains than teams and the page picks which ones lead.
Fair, and why: every draw uses your browser's cryptographic random generator (crypto.getRandomValues, rejection-sampled so no position is favoured), and the teams or rounds are fully decided before the cards appear.
Teams
Your teams appear here as cards. Tap Make teams.
The teams were drawn in full the moment you tapped Draw on a wheel, so the wheel only shows that finished draw one name at a time and cannot change who ends up where.
—
Tap the wheel, Next name or the Space bar for one name; Draw all shows about one a second.
Nobody's role is shown here. The roles are kept only while this page is open; closing it forgets them.
Tap a team name to rename it, or ↻ beside it for another name from the list.
How to make random teams
- Paste your names into the box, one per line. A column copied from a spreadsheet pastes straight in.
- Choose Number of teams or People per team and set the number.
- Optional: add a skill from 1 to 5 after each name to balance the teams, and open Keep apart and keep together or Captains first for rules.
- Tap Make teams to see every team at once, or Draw on a wheel to reveal them one name at a time on a projector or TV. Rename a team by clicking its name, or tap Reshuffle for a fresh draw.
- Send the result with Copy as text or Share link, or Print it for the gym wall.
How the balancing works
Without skills, the list is shuffled and dealt into teams whose sizes differ by one at most. With skills, the generator runs a snake draft: players are sorted strongest first (equal skills in random order), and the teams pick in the order 1, 2, 3, then 3, 2, 1, so the team that picked first also picks last in the next round. It then looks for a swap between a stronger and a weaker team that brings their totals closer, and repeats until no swap helps.
Worked example: 12 players with skills 5, 5, 4, 4, 3, 3, 3, 2, 2, 2, 1, 1 into 3 teams total 35, so the best possible split is 12, 12 and 11. The snake draft alone gives 12, 12 and 11 here; on awkward lists the swap pass closes the gap. Without captains or rules, the highest and lowest team totals end up at most one top skill apart, and usually within 1.
Captains and keep-together groups are not swapped, so with many rules the totals can drift further apart; the card totals always show where it landed.
Partners each round, with no repeats
Tap Partners, paste the names and choose how many rounds. Each round is a card of pairs, and nobody gets the same partner twice. The page uses the circle method that round-robin tournaments use: one person stays put while everyone else moves one seat around a circle, so every two people meet exactly once. The seats are filled in a random order first, so the rounds are a fresh draw each time.
The page says how many rounds are possible before you draw. With an even number of names in pairs it is one fewer than the number of names: 10 people give 9 rounds of 5 pairs, and after those 9 rounds all 45 possible pairs have met once. With an odd number you choose: one person sits out, a different one each round (11 people give 11 rounds of 5 pairs, and each sits out exactly once), or one group of 3. The group of 3 costs rounds, because its third person meets two new people at once: 11 people give 5 rounds that way.
Two lists pair every name on list A with someone on list B in each round: 5 mentors and 5 mentees give 5 rounds in which every mentor meets every mentee once. When the lists differ, either some people on the shorter list get two partners in a round (named on the card), or the extras on the longer list sit out in turn. Keep apart lines are never paired in any round; each such pair can cost one round, and the page says how many are left.
Show round on a big screen puts one round at a time in large type for a projector; Copy as text and Print give all the rounds at once.
Secret roles for Mafia or Werewolf, on one phone
Tap Roles, type the players (or just how many, such as 8), pick Mafia, Werewolf or Custom and tap Deal roles and pass the phone. The page deals every role at once with crypto.getRandomValues, then shows Hand the phone to Ana. Ana holds the big button to see her role, lets go, and the screen moves on to the next name. A hand-over screen has no role in the page at all, not even hidden, and the phone's Back button closes the screen rather than stepping back to an earlier player. When everyone has looked, the narrator holds the button for a second to open the narrator view: every player's role, a night-order checklist for the roles in play, and a box to tick off who is out.
The role list is one role per line with a count, for example Mafia 2. Everyone not named gets the role in Everyone else is (Villager in both presets). Custom starts with Leader, Scribe and Timekeeper for any game or class activity with secret jobs. If the roles add up to more than the players, the page says so and deals nothing.
| Players | 5 | 6–7 | 8–10 | 11–13 | 14–16 | 17–19 | 20 |
|---|---|---|---|---|---|---|---|
| Mafia | 2 | 2 | 3 | 4 | 5 | 6 | 7 |
| Werewolves | 2 | 2 | 2 | 2 | 2 | 3 | 3 |
Mafia: a third of the players, rounded to the nearest whole number, which Wikipedia gives as the suggestion of the game's original rules, with one Doctor and one Detective added (https://en.wikipedia.org/wiki/Mafia_(party_game), read 2026-10-25). Werewolf: Andrew Plotkin's rules use two werewolves and one Seer, and suggest a third werewolf for about 17 players, which he says he has not tested; the Bodyguard is this page's addition (https://www.eblong.com/zarf/werewolf.html, read 2026-10-25). The same Wikipedia article notes that Mafia's best share shrinks as groups grow (it scales with the square root of the player count in large games), so a third is on the strong side for 15 or more; lower it if the hidden side keeps winning.
Night order: the hidden side wakes first, then the protector (Doctor or Bodyguard, who wakes after the attackers have gone back to sleep), then the investigator (Detective or Seer). Custom roles follow in the order you listed them, marked as your group's rule.
What it cannot do
- It does not remember people between visits unless you tap Save list on this device. In Partners mode it only knows earlier partners if you saved the list with its rounds; a new draw on another day can pair people who met last time.
- Partners mode ignores skills: it does not balance pairs by skill, and a 1 to 5 after a name is left out.
- Past the stated number of rounds, repeated partners cannot be avoided. The page still makes the extra rounds if you ask, but marks each one as repeating partners. Partners mode makes up to 100 rounds.
- Partners mode makes pairs (and one group of 3 for an odd count), not groups of 4 or more with no repeats. With keep-apart pairs it tries 300 random orders and uses the best it finds, so a cleverer schedule with one more round may exist.
- Balance uses only the skill you type. It knows nothing about positions, who plays well together or who turned up late.
- Up to 500 names and 100 teams. Skills are whole numbers from 1 to 5; any other number after a name stays part of the name.
- No live teams across devices: a share link sends a copy of the teams, and a reshuffle on one phone does not change anyone else's. The same goes for the wheel: everyone watching has to see one screen, as the draw is not mirrored to other phones.
- The wheel shows a draw that was already decided when you tapped Draw on a wheel; it is not a second, separate random pick, and stopping or skipping it never changes the teams. Past 60 names the slices are colours only and the drawn name appears beside the wheel.
- Roles mode is one phone passed around the circle. It cannot send each player their role on their own phone, as that needs a server, and it does not run the game, time the day or judge votes. The suggested counts are a starting point, not a balanced design. Roles are kept only while the page is open: Save list keeps the names, never the roles.
- Name the teams draws from fixed lists written for this page, in English only, about 46 names per theme; it does not make up new names or translate them. From initials makes letters, not words: a team of Ana, Bo and Émile is Team ABÉ, and two teams with the same letters get a 2 after the second. With more teams than a list holds, the page says so and the rest keep their numbers (Team 47, Team 48).
- Share links longer than 2,000 characters (roughly 120 to 200 names, depending on how long and how varied they are) may be cut short by some chat apps; Copy as text always works.
Privacy and what is stored
The names never leave your device. The page sends an anonymous page-view count and, when you make, draw or share teams, one of eight fixed words (teams-make, teams-wheel, teams-wheel-done, teams-share-make, teams-share-open, teams-partners the first time you make rounds in a visit, teams-roles the first time you deal roles and teams-names-suggest the first time you name the teams, all three remembered in this tab's session storage); never a name or a number from your list. Nothing is stored unless you tap Save list on this device, which keeps the names, rules and team names in this browser's local storage, and in Partners mode the second list and the rounds as drawn, until you tap Clear saved list. A share link carries the list after the #, which browsers do not send to any server, and opening one saves nothing.
Questions
How do I make random teams with names?
Paste the names into the box, one per line, choose Teams or People per team and the number, and tap Make teams. Each team appears as a card; tap Reshuffle for a new draw, Copy as text to paste it into a chat, or Print.
Is the random team generator really random?
Yes. Every shuffle uses crypto.getRandomValues, the browser's cryptographic random generator, with rejection sampling so no position is favoured. Without skills, every way of splitting the list into teams of those sizes is possible, and no setting favours anyone.
How do I make balanced teams by skill level?
Write a skill from 1 to 5 after each name, for example Ana 4. The generator then drafts like a playground pick: strongest first, in a snake order (1-2-3-4, 4-3-2-1), and then swaps players of different skill between teams while that brings the totals closer. Each card shows its skill total. Names without a number count as 3.
What happens when the numbers do not divide evenly?
The teams differ by one person at most. 30 names in 4 teams gives two teams of 8 and two of 7. With People per team, the number is a maximum: 23 names at 5 per team gives 5 teams, three of 5 and two of 4, rather than one team of 3.
Is there a team generator wheel that fills the teams one name at a time?
Yes. Tap Draw on a wheel instead of Make teams. The page first draws the whole set of teams exactly as Make teams would, with every rule and the skill balance, and then a wheel of the names not yet shown spins and stops on the next name, which flies onto its team card. Teams fill in turn (Team 1, 2, 3, then again), or in the snake order of the skill draft when Balance by skill is on. Use Next name or the Space bar for one name, Draw all for about one a second, Skip to the result to see everything, and Full screen for a projector. The tick sound is off until you switch it on, and with reduced motion turned on in your system the names land without the spin.
How do I make random partners each round with no repeats?
Tap Partners, paste the names, set the number of rounds and tap Make rounds. Nobody meets the same partner twice within the rounds the page states: one fewer than the number of names for an even list, so a class of 24 gets 23 rounds of 12 pairs. For an odd list choose a group of 3 or a rotating sit-out, and for mentors and mentees use Two lists.
How do I deal secret roles for Mafia or Werewolf with one phone?
Tap Roles, enter the players, pick Mafia or Werewolf and tap Deal roles and pass the phone. Each player holds the button to see only their own role and lets go to pass it on; then the narrator holds it to see every role and the night order. With 8 players the Mafia preset deals 3 Mafia, 1 Doctor, 1 Detective and 3 Villagers.
Can it come up with team names?
Yes. After making teams, pick a theme under Team names (Christmas, Winter, Animals, Colours, Space or Food) and tap Name the teams: each team gets a different name from a list of about 46 written for this page, such as Tinsel Titans, Snowdrift Squad or Plucky Puffins, drawn with crypto.getRandomValues so no name is favoured. Tap the ↻ beside one team's name to draw another for that team only. Names you typed yourself are kept unless you tick Replace typed names. From initials names each team after its members' first letters in the order shown, in capitals with accents kept, so Ana, Bo and Émile become Team ABÉ. The names go into Copy as text, the share link and the saved list.
Can I keep two people apart or on the same team?
Yes. Under Keep apart and keep together, write one line per rule, such as Ana / Ben. Keep-apart people always land on different teams; a keep-together line is placed as one unit. If the rules cannot all be met, for example a group bigger than a team, the page says why in one sentence instead of making teams.