Random Team Generator

Splitting people into fair teams by hand always ends in an argument about who picked whom — so let chance do it. This free random team generator shuffles your list of names and deals them out into balanced teams of almost equal size, in one click. Paste one name per line, pick how many teams you want, and press Generate Teams. Everything runs in your browser and nothing is saved or sent anywhere.

How to use this random team generator

Type or paste your names in the box, one name per line — blank lines are ignored. Set the number of teams you want, from 2 to 10, and press Generate Teams. The names are shuffled and dealt out one by one, so the teams come out as equal as possible: with 7 names and 3 teams you get teams of 3, 2 and 2. Press Generate Teams again for a fresh random split, or press Copy teams to copy the list.

How it works

The generator uses the Fisher-Yates shuffle, the standard way to randomise a list: it walks through the names from the end and swaps each one with another name picked at random from the names before it, so every possible order is equally likely. Then it deals the shuffled names out round by round, one to each team in turn — first name to Team 1, second to Team 2, and so on — which is why the team sizes can never differ by more than one. Nobody is left out and nobody appears twice.

Worked example

Paste these six names, one per line — Ayesha, Bilal, Chen, Dana, Elena, Farah — pick 2 teams and press Generate Teams. You get two teams of 3 names each, with all six names used exactly once. Try the same six names with 3 teams and you get three teams of 2. Try seven names with 3 teams and the sizes are 3, 2 and 2. Press Generate Teams again and the split changes, because the shuffle runs fresh every time.

Frequently asked questions

Are the teams really random?

Yes. The shuffle uses the Fisher-Yates method with the browser’s random number source, so every possible split is equally likely and no name is favoured. Press Generate Teams again and you get a different split almost every time.

Are the teams always the same size?

As equal as possible. The names are dealt out one by one to each team in turn, so team sizes can differ by at most one. With 7 names and 3 teams the sizes are 3, 2 and 2; with 10 names and 3 teams they are 4, 3 and 3.

What if I paste a name twice by mistake?

The generator uses names exactly as typed, so a name pasted twice appears twice — once in each team it is dealt to, or twice in the same team. Check your list for duplicates before generating, and remove blank lines if you want a clean list, though blank lines are ignored anyway.

How many names and teams can I use?

You can use from 2 to 10 teams, and as many names as you like, as long as there is at least one name per team. If you ask for more teams than names, the tool asks you to add more names or use fewer teams instead of making empty teams.

Is my list private here?

Yes. The teams are made entirely in your browser. Nothing you type is uploaded, stored or sent to any server.

What other tools can I use?

Try our Secret Santa Generator for gift draws, the Rock Paper Scissors game, the Username Generator for new names, and the Random Number Generator for quick random picks. See all of them on our tools page, use our free calculators, or return to the homepage.

Disclaimer: Teams are random and balanced by count only — the tool knows nothing about skill, age or ability. For real competitions, check the teams yourself before play. No personal data is collected or saved.

Scroll to Top