Random Generator Kit

HomeEveryday › Team

Random Team Generator

Paste your names, choose how many teams, press the button. The list is shuffled properly and dealt out, so the teams come out as even as the numbers allow. Nothing leaves your browser and nothing is stored on our side.

Paste your names and press the button.

How any group from 6 to 40 divides

PeopleInto 2 teamsInto 3Into 4Into 5
63 each2 each2×2, 1×22×1, 1×4
74×1, 3×13×1, 2×22×3, 1×12×2, 1×3
84 each3×2, 2×12 each2×3, 1×2
95×1, 4×13 each3×1, 2×32×4, 1×1
105 each4×1, 3×23×2, 2×22 each
116×1, 5×14×2, 3×13×3, 2×13×1, 2×4
126 each4 each3 each3×2, 2×3
137×1, 6×15×1, 4×24×1, 3×33×3, 2×2
147 each5×2, 4×14×2, 3×23×4, 2×1
158×1, 7×15 each4×3, 3×13 each
168 each6×1, 5×24 each4×1, 3×4
179×1, 8×16×2, 5×15×1, 4×34×2, 3×3
189 each6 each5×2, 4×24×3, 3×2
1910×1, 9×17×1, 6×25×3, 4×14×4, 3×1
2010 each7×2, 6×15 each4 each
2111×1, 10×17 each6×1, 5×35×1, 4×4
2211 each8×1, 7×26×2, 5×25×2, 4×3
2312×1, 11×18×2, 7×16×3, 5×15×3, 4×2
2412 each8 each6 each5×4, 4×1
2513×1, 12×19×1, 8×27×1, 6×35 each
2613 each9×2, 8×17×2, 6×26×1, 5×4
2714×1, 13×19 each7×3, 6×16×2, 5×3
2814 each10×1, 9×27 each6×3, 5×2
2915×1, 14×110×2, 9×18×1, 7×36×4, 5×1
3015 each10 each8×2, 7×26 each
3116×1, 15×111×1, 10×28×3, 7×17×1, 6×4
3216 each11×2, 10×18 each7×2, 6×3
3317×1, 16×111 each9×1, 8×37×3, 6×2
3417 each12×1, 11×29×2, 8×27×4, 6×1
3518×1, 17×112×2, 11×19×3, 8×17 each
3618 each12 each9 each8×1, 7×4
3719×1, 18×113×1, 12×210×1, 9×38×2, 7×3
3819 each13×2, 12×110×2, 9×28×3, 7×2
3920×1, 19×113 each10×3, 9×18×4, 7×1
4020 each14×1, 13×210 each8 each

Read "5×2, 4×1" as two teams of five and one of four. Where a number does not divide evenly, the generator gives the extra people to the earliest teams, so no team is ever more than one person larger than another.

How this list was built

The shuffle is a proper one. Names are shuffled with the Fisher–Yates algorithm, which gives every possible arrangement the same chance, and then dealt out one at a time like cards. The obvious alternative — sorting by a random number — is subtly biased, and the obvious other one — picking random names until the first team is full — leaves the last team with whoever is left.

Teams come out even, and the extras go to the front. Eleven people into three teams is 4, 4, 3 — never 5, 3, 3. Because the names were shuffled first, being in the larger team is itself random, so nobody is systematically disadvantaged by where they were typed in the list.

Nothing is sent anywhere. The whole thing runs in your browser. Your names are not uploaded, not logged and not seen by us. The only thing kept is a copy of your list in your own browser's storage so you do not have to retype it next time — it never leaves your device, and clearing your browser data removes it.

The table is there for planning before anyone arrives. If you know roughly how many people are coming, it tells you at a glance which number of teams divides cleanly and which leaves an odd one out.

Sources. The shuffle is Fisher–Yates, the standard unbiased shuffling algorithm, using the browser's own random number generator. The table is arithmetic.

Common questions

Does it make the teams even?

As even as the numbers allow. If the group does not divide exactly, some teams get one extra person and never more than one. Which teams those are is random, because the names are shuffled before they are dealt.

Are my names sent to a server?

No. The shuffle happens in your browser, and the list is never uploaded. A copy is kept in your own browser so it is still there next time you open the page, and clearing your browser data deletes it.

Can I use it to pick one person rather than teams?

Set the number of teams to the number of people and each team will hold one name, in a random order — which is a draw order. For a straight single pick, any of the list generators on this site does the same job.

Is the randomness good enough for a prize draw?

For a classroom, a five-a-side game or a raffle among friends, yes — the shuffle is unbiased. It uses the browser's ordinary random number generator, so it is not suitable where the result has to stand up to a legal challenge.

How many teams can I make?

Between 2 and 20, and you need at least as many names as teams.

Other generators