Team Generator

Paste names, one per line, set Teams from 2 to 12, and click Generate Teams. The page shuffles with Math.random, then deals each name once around the groups.

How to use

  1. Type or paste names in the text area. The placeholder says to enter names, one per line. Lines that are empty after trimming are ignored.
  2. Set Teams. The box starts at 2. A number under 2 is raised to 2 and a number over 12 is cut to 12 when you generate.
  3. Click Generate Teams. If you have fewer names than teams, an alert says you need at least as many names as teams, and no groups are drawn.
  4. Read the columns, labeled Team 1 onward. The list is shuffled first, then dealt in order around the teams, so leftover people land on the earlier team numbers.

When it helps

Splitting a class, a pickup game, or a workshop when each person should land on one team. Click Generate Teams again if the groups feel wrong. Each click is a new shuffle, not a locked bracket you can replay.

A single winner from a similar list is the spin the wheel page. Put one option per line, including the sample names Alice, Bob, Charlie, and Diana if you leave the defaults, and Spin for about four seconds. Numbered seats are a different draw on the random number generator, and repeats are allowed there.

Limits

Math.random shuffles the names. That is enough for a split in the room and not a seeded draw you can audit later. The page does not balance skill, age, or any other trait, because the only input is the name list. It does not save the last groups.

You cannot ask for one team, and you cannot ask for more than 12. Team sizes differ by at most one person because of the round-robin deal. A name appears twice only if you typed it twice. The shuffle does not clone lines and it does not drop duplicates you wrote on purpose.

Questions

Why are the teams uneven?

If the name count does not divide evenly, the deal still walks Team 1, Team 2, and so on. The earlier teams receive the extra people. Sizes never differ by more than one.

What if I have fewer names than teams?

Generate Teams stops and alerts you. You need at least as many names as teams. Raise the name list or lower the Teams number, which will not go below 2.

Can I weight a captain onto a certain side?

No. Every remaining line is shuffled the same way and then dealt. There is no strength field and no lock that pins a name to Team 1.