Free to use, no account

Random team generator

Create balanced teams from a list of names. Add people who must stay on different teams, then reuse a seed to reproduce the same draw.

Use one pair per line, for example: Alex | Sam. Names must match the list above.

Leave blank for a new random draw. Reuse a seed with the same names, team count, and rules to reproduce the same teams.

Runs locally in this browser. No account, upload, or server processing.

How do I make random teams?

Enter 2–60 names, choose 2–12 teams, and optionally list pairs to keep apart using “Name A | Name B”. Generate teams to balance their sizes. Leave the seed blank for a new draw, or enter a seed to reproduce a result.

Guide

Using Random team generator

This page splits a list of names into random teams. You paste one name per line, choose how many teams you want, and press the button. Team sizes come out as even as possible. You can also name pairs who must land on different teams, and you can reuse a seed to get the same split again. It handles from 2 up to 500 names and from 2 to 12 teams. It does not rate skill, so the teams are even in size only.

How to use it

  1. Type or paste the names into the first box, one name on each line. Names can be up to 80 characters, and no two may match, even in different letter case.
  2. Set the number of teams, from 2 to 12. You cannot ask for more teams than there are names.
  3. If some people must be kept apart, write one pair per line in the second box, such as Alex | Sam. Spell each name as it is in your list.
  4. Leave the seed box empty for a fresh draw, or type your own text in it. Then press Generate teams.
  5. Use Copy teams for plain text or Download CSV for a spreadsheet file. Note the seed shown under the teams if you want to repeat the draw.

Worked examples

Eight people, two teams, one pair kept apart

You enter
Names
Alex, Sam, Jordan, Taylor, Morgan, Riley, Casey, Jamie
Teams
2
Keep apart
Alex | Sam
Seed
demo-1
You get
Team1
Alex, Taylor, Morgan, Casey
Team2
Sam, Jordan, Riley, Jamie

Eight names over two teams gives four and four, and Alex and Sam are on different sides. With the seed demo-1 the same input gives this split again. The Load example button uses the same names and an empty seed.

Run through the tool’s own code.

Ten people into three teams

You enter
Names
Ana, Ben, Cal, Dee, Eli, Fay, Gus, Hal, Ivy, Jon
Teams
3
Seed
week-7
You get
Sizes
3, 3 and 4
Team3
Cal, Ivy, Hal, Dee

Ten does not divide by three, so one team gets the extra person. Sizes never differ by more than one. Which team is the larger one depends on the seed, here the third.

Run through the tool’s own code.

A large group: 500 names into 12 teams

You enter
Names
Person 1 to Person 500
Teams
12
Seed
big-1
You get
Team sizes
eight teams of 42 and four teams of 41
People listed once
500

500 divided by 12 is 41 with 8 left over. Those 8 extra people go to 8 different teams. Every person appears exactly once, so 8 times 42 plus 4 times 41 equals 500.

Run through the tool’s own code.

Rules that cannot be met

You enter
Names
A, B, C
Teams
2
Keep apart
A | B, B | C, A | C
You get
Message
These rules cannot fit into the chosen number of teams. Add teams or remove some rules.

Three people who must all be apart need at least three teams. With only two teams, one pair has to share, so the tool stops and says so instead of breaking a rule.

Run through the tool’s own code.

When it helps

  • Dividing a class, club or workshop into groups for a game or a project.
  • Forming sports teams for a casual match with a quick, neutral draw.
  • Splitting event guests or volunteers into shifts or tables while keeping some people apart.
  • Making work breakout groups with a seed that can be shown to others as proof of the draw.
  • Running a party game where friends are sorted into rival sides.

Limits to keep in mind

  • It accepts 2 to 500 names, with up to 12 teams. Each name is at most 80 characters and cannot contain a vertical bar.
  • Teams are matched on size only. The tool has no idea of skill, age, height or any other trait.
  • It can only keep pairs apart. It cannot force people to be together, and it allows up to 2,000 pairs.
  • With very tight rules it may stop searching and ask you to add teams or drop rules, even if a solution exists.
  • The seed fixes the result only for the same names, order, team count and rules. Change any of them and the split changes.
  • A team count outside 2 to 12, or higher than the number of names, gets only the general message to check the names, number of teams and keep-apart pairs. It does not say which of them is wrong.

Tips

  • Check the seed box before you press the button again. After a draw it holds the seed that was used, so another press repeats the same teams until you clear it.
  • Copy the seed with the teams. Anyone with your list, rules and seed can reproduce the draw and check it.
  • If a rule seems to break, check the spelling first. A name in a pair must match a name in the list, though letter case does not matter.
  • For uneven groups, pick a team count that divides your list evenly when you want equal sizes.

Frequently asked questions

How many names can the random team generator handle?

From 2 up to 500 names, one per line, with 2 to 12 teams. Older text on the page mentions a smaller limit, but the tool itself accepts a list of 500. Each name can be up to 80 characters long.

Are the teams the same size?

As close as possible. Sizes differ by at most one person. If the number of names does not divide evenly, a few teams get one extra member. Which teams are the larger ones is picked by the draw.

How do I keep two people on different teams?

Use the second box and write one pair per line, with the two names separated by a vertical bar, like Alex | Sam. Each name must be in your list. Letter case is ignored. The tool checks the rules before it shows any result.

What is the seed for?

It starts the random process. The same seed with the same names, team count and rules gives the same teams again. Leave the box empty and the page makes a new seed for you and shows it under the results.

Why did I get the same teams twice?

After a draw, the seed box is filled with the seed that was used. Pressing Generate teams again then repeats that draw. Clear the seed box to get a fresh random split, or press Reset to start over.

What happens if the number of teams is not valid?

If the count is below 2, above 12, not a whole number or larger than the number of names, the page shows the general message Check the names, number of teams, and keep-apart pairs. It does not name the team count, so check that box first, then the names and the seed.

Can I make teams based on skill level?

No. The page only looks at names and your keep-apart pairs. For skill-balanced teams you would have to split the list into levels yourself and run each level through the tool in turn.

What does the CSV file contain?

One row per person with the team label, the name and the seed, under a header row. It is saved as random-teams.csv. Names that start with an equals sign, plus, minus or at sign get a leading quote so a spreadsheet will not treat them as a formula.

Are the names uploaded or saved?

No. The page says it runs in your browser, with no account, upload or server work, and that names and rules are not saved. Copying or downloading the result is something you choose to do yourself.

How do I make random teams?

Enter 2–60 names, choose 2–12 teams, and optionally list pairs to keep apart using “Name A | Name B”. Generate teams to balance their sizes. Leave the seed blank for a new draw, or enter a seed to reproduce a result.

Are names uploaded or saved?

No. Team generation runs in your browser. Names and rules are not uploaded or saved by this page.

Can I keep two people on different teams?

Yes. Add one pair per line in the optional rules box, using the exact names from your list separated by a vertical bar. The generator checks the rules before showing a result.

Can I get the same teams again?

Yes. Copy the displayed seed and use it again with the same names, team count, and rules. A blank seed creates a fresh draw.