Skip to content
Jellykit

Random Team Generator

Paste a list of names and split it at random into a set number of teams, or into teams of a chosen size, kept as even as possible.

  • Runs on your device
Loading tool

About Random Team Generator

Paste the names of everyone taking part, one per line or separated by commas, then choose either how many teams you want or how many people should be in each. The tool shuffles the list and deals it into teams whose sizes never differ by more than one, ready to copy or download as text.

Use it for sports sides, classroom groups, quiz teams, workshop breakout rooms or pairing people for a task. The shuffle uses your browser’s cryptographic random generator, and the list stays in this page: it is not saved or sent anywhere.

How it works

  1. The list is split into names, trimmed, and blank entries are dropped. With Merge duplicates on, names that differ only in letter case or accent encoding count once.
  2. The number of teams is either the one you choose, or the fewest teams that keep every team at or under the size you choose.
  3. The whole list is shuffled with a Fisher–Yates shuffle driven by crypto.getRandomValues, then cut into consecutive runs whose sizes differ by at most one.

Questions

What happens when the names do not divide evenly?

Some teams get one person more than others, never more than one. With 10 names in 3 teams you get teams of 4, 3 and 3. When you choose a team size instead, no team is ever larger than that size.

Is the split really random?

Yes. Every order of the list is equally likely, so every way of putting people into teams of those sizes is equally likely too. Press Generate again for a fresh split.

Can it balance teams by skill?

No. It balances the number of people per team only; it knows nothing about who is stronger. If you need skill balance, split your strongest players into a separate list and make teams from each list in turn.

How many names can I use?

Up to 10,000 names and 200,000 characters of text. The names are kept only in this page while it is open.

Everything you enter here is processed in this browser tab. Nothing is uploaded, logged or shared. How privacy works here.