Team Builder · Same-Team and Different-Team Rules

Build teams that keep chosen people together or apart and balance skill levels. Your text never leaves your browser.

How do I build teams that follow same-team and different-team rules?

Add your rules next to the names and get teams that respect them.

Everyone in a group ends up on the same team. Write names only, without tags.

Everyone in a group ends up on a different team. A group cannot be larger than the number of teams.

Add a tag after the name with ":". Example: Alex:senior. It can be skill level, grade, department, or anything else you want spread out.

How to split

This is an example. Press "Build teams" to see your own people here.

Team 1 (2)

  • Alex
  • Chris

Team 2 (3)

  • Dana
  • Evan
  • Henry

Team 3 (3)

  • Brooke
  • Fiona
  • Grace

Tags by team

seniormidjunior
Team 1110
Team 2111
Team 3111

The names and rules you enter are handled only inside this device. They are never stored or sent to a server. Refreshing the page clears them.

How to use it

  1. Paste the people, one per line or separated by commas. You can add up to 200 names of up to 30 characters. If there is a value you want spread out, such as skill level or grade, write it as "name:tag" (tags up to 20 characters).
  2. Choose the number of teams (2 to 100) or how many people go in each team. When you choose people per team, the number of teams is the list size divided by that, rounded up.
  3. Put anyone who must be together or apart in the two rule boxes. Each box takes up to 50 lines and can stay empty.
  4. Press "Build teams" for the members of each team and a table of tags. If you don't like it, press "Shuffle again". The result to copy below can be pasted into a chat or a document.

Writing same-team and different-team rules

One line is one rule. Separate names on a line with commas and write the names only, without tags. A line in "Same team" puts all of those people on one team, and a line in "Different teams" puts all of them on separate teams. If you list three names in a different-teams line, they go to three different teams, so you need at least three teams.

How tags are balanced

With tag balancing on, the number of people with each tag differs by at most one between teams. People without a tag count as one more value, "no tag". With no rules, every tag value is split that evenly. With rules, the tool first builds a plan that meets them, then tries swapping two people (or two groups of the same size) and keeps a swap only if every rule still holds and the balance score drops, up to 2,000 tries. The result is never worse than the first valid plan, but it is not promised to be perfectly even.

If your rules are tight and no valid plan turns up in 200 random tries, the tool switches to a search that checks the rules one by one. A plan found that way is not guaranteed to be equally likely among all valid plans.

Example

Splitting 8 tagged people into 3 teams gives teams of 3·3·2. Put Alex and Chris on the same team, keep Brooke and Dana on different teams, and turn tag balancing on, and you get teams like the example above. The 3 people tagged "senior" spread across the teams as 1·1·1.

When the rules do not fit

Before you use it

The full counting rules and the sources for service limits are on Methods and standards.

Frequently asked questions

How do I write who must share a team and who must be split up?

Use the same-team and different-team boxes, one group per line with names separated by commas. Everyone in a same-team group ends up together, and everyone in a different-team group lands on a different team.

How does balancing by skill level work?

Add a colon and a value after a name, like "Alex:advanced", and turn on attribute balance. People are spread so each value is as even as possible across teams. Anyone without a value counts as "none", and rules are still respected while the balance is improved.

What happens when the rules contradict each other?

You are told the reason, for example a different-team rule inside a same-team group, a same-team group larger than a team, or more people who must be apart than there are teams. More tangled conflicts show a list of candidate rules that clash.

Do all teams have to be the same size?

By default team sizes differ by at most one person. If you turn size balance off, teams can differ freely, but no team is left empty.

What if I just want a plain random split with no rules?

For a simple split with no conditions, the Team Split tool is simpler. Use this one when you need same-team, different-team, or balance rules.

Are the names and rules I enter saved or sent anywhere?

No. Names and rules are handled only inside your browser and are never stored or uploaded.

More text tools