Random team generator

Type or paste one name per line, choose how many teams you want or how many people each team should have, and press the button. The list is shuffled on your device and dealt out so that team sizes never differ by more than one.

Split by

Teams

Add some names to see the teams.

Runs in your browser: nothing you enter is sent anywhere.

How to use it

  1. Enter your names, one per line (commas also work).
  2. Pick Number of teams or People per team and type the number.
  3. Read the teams. Press Shuffle again for a new draw, or Copy to paste the result into a chat.

How the split works

The list is shuffled once with Fisher–Yates, then cut into consecutive groups. With n names and t teams, each team gets ⌊n / t⌋ people and the first n mod t teams get one more. Nine names in three teams give 3, 3 and 3; ten names give 4, 3 and 3.

Tips

  • For a fair draw, shuffle once and accept the result; repeated reshuffling until you like it defeats the point.
  • If two people must be on the same team, put them in as one entry such as “Ana + Ben”.
  • Nothing you type is sent anywhere; the draw happens in your browser.

Frequently asked questions

How are the teams made fair?

The names are shuffled with the Fisher–Yates algorithm, driven by the browser's secure random generator, so every ordering is equally likely. The shuffled list is then dealt into teams in order.

What happens when the names do not divide evenly?

Team sizes differ by at most one person. For 10 names in 3 teams you get sizes 4, 3 and 3, and the extra people are spread over the first teams.

What does 'People per team' do?

It works out how many teams are needed (the name count divided by the team size, rounded up) and then balances them. Seven names with 3 people per team give three teams of 3, 2 and 2, rather than 3, 3 and 1.

Can I separate names with commas?

Yes. Names can be separated by new lines, commas or semicolons. Blank entries are ignored, and duplicate names are kept as separate people.

More in Generators

All tools in this category: Generators ·Updated November 3, 2026

Privacy choices

Google Analytics shows us which tools are used and whether they work. It may set cookies. Your choice is kept in this browser.