# Team split > How do you split a group into fair teams? Add the players, with a skill rating if you like, and get teams of equal strength. Re-roll for a new split that is just as fair. Split a group into fair teams in your browser: add names with optional skill ratings, pick the number of teams and re-roll for evenly matched teams. A preset of [Random name picker](https://how.box/picker/). - Page: https://how.box/team-split/ - Runs entirely in the browser. - License: HowToolbox's own text and data (titles, explanations, FAQs, tool descriptions and schemas, this file) are CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/); AI training and answers are welcome. Attribute "HowToolbox (how.box)" with a link to the page used. Third-party data keeps its own terms; the name and logo are not licensed. Publisher: HowToolbox, contact@how.box. Terms: https://how.box/about/terms/ ## Inputs Answer link: https://how.box/team-split/?n={n}&m={m}&w={w}&t={t}&c={c}&k={k}&r={r} - `n` (text): The options, one per line (in teams mode optionally with a skill rating after a comma, as Ana, 8), up to 400 characters; a longer list is not put in links. Example: `Alex Blair Casey`. - `m` (winners, teams or wheel): winners, teams or wheel. Example: `winners`. - `w` (whole number 1 to 100): How many winners, 1–100. Example: `1`. - `t` (whole number 2 to 50): How many teams for m=teams, 2–50. Example: `2`. - `c` (whole number 5 to 100): Mode wheel: the chance of winning a prize on a spin, in percent, 5–100; below 100 the wheel gets "No win" slices. Example: `50`. - `k` (names or prizes): Mode wheel: what the list holds, names or prizes. Only the wording changes (a name picker says "picked" instead of "won"). Example: `prizes`. - `r` (boolean): Take picked options out of the draw: 1 or 0. Example: `false`. Example answer: https://how.box/team-split/?n=Alex%0ABlair%0ACasey&m=winners&w=1&t=2&c=50&k=prizes&r=0 The page computes the answer in the browser: read results from the agent tools below, not from the page HTML. ## Agent tools - `picker_pick`: Picks random winners from a list, or splits the list into teams, with the browser's cryptographically secure random generator (uniform, no repeats). - MCP, one POST to https://how.box/mcp: `{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"picker_pick","arguments":{"names":"Alex\nBlair\nCasey","mode":"winners","winners":1,"teams":2,"chance":50,"kind":"prizes","remove":false}}}` - GET: https://how.box/mcp/run/picker_pick?names=Alex%0ABlair%0ACasey&mode=winners&winners=1&teams=2&chance=50&kind=prizes&remove=false - `prize_wheel_spin` (deprecated alias of `picker_pick`): Spins a prize wheel: draws prizes from a list with the browser's cryptographically secure random generator. - MCP: POST https://how.box/mcp `tools/call` with `{"name":"prize_wheel_spin","arguments":{…}}`; input schema in https://how.box/agent-tools.json. ## How it works Fair teams are teams of the same size whose average skill is as equal as possible. The tool first fixes the sizes, which differ by at most one player. Then it deals the strongest players first, each to the team that is furthest behind, the way you would share out the best players in a pick-up game. A dealt split is good, but not always the best. So the tool also tries swapping two players from different teams, and keeps a swap whenever it makes the team averages closer to each other. It repeats until no swap helps, and it does this from several random starting points. For example, with Ana 8, Ben 6, Cleo 5 and Dev 3 in two teams, Ana with Dev and Ben with Cleo both average 5.5, a gap of zero. Splitting again picks at random among the results whose gap between the strongest and weakest team is within 2 % of the best one found, so a re-roll never gives a worse mix. Players without a rating count as the average of those who have one; if nobody is rated, the teams are random and equal in size. A rating is only as good as the person who gave it: the tool balances the numbers you enter. ## FAQ **How do I add skill ratings?** Put a number after the name, separated by a comma, colon or semicolon: Ana, 8. Use any scale from 0 to 100, as long as you use the same scale for everyone. **What if the number of players does not divide evenly?** Team sizes then differ by one player. Fairness is judged on the average skill per player, so a team with an extra player is not at an advantage. **Why do I get different teams when I press the button again?** Each press is a new random split. All of them are balanced to within 2 % of the best gap the tool can find, so you can re-roll until the mix feels right. **Can I keep two friends on the same team?** Not in this tool. It balances by skill only. To keep a pair together, treat them as one player: enter them on one line, with their combined rating. **Are the names stored anywhere?** No. The names, ratings and teams stay in your browser. A short list can be put in a link you copy yourself; the teams are never in it. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/about/agents/)