Random Team Generator

Paste names and split them into random teams.

How to use: Paste one name per line, choose the number of teams, press Shuffle.

  1. Paste or type in the box.
  2. The result updates as you go.
  3. Copy or download it when it looks right.

How to use the Random Team Generator

Paste names, one per line. Blank lines are ignored.

Choose how many teams you need and press Shuffle teams.

Players are shuffled fairly and dealt out so team sizes differ by at most one. Press again for a new draw.

The generator accepts 2 to 50 teams and needs at least as many names as teams.

How the shuffle works

The list is shuffled with the Fisher–Yates method, using your browser’s cryptographic random number generator (crypto.getRandomValues) rather than Math.random. The shuffled names are then dealt like cards: the first name to Team 1, the second to Team 2, and so on, starting again at Team 1. Because of that, team sizes never differ by more than one, and when the split is uneven the lower-numbered teams get the extra player.

Examples

Tips for fair and balanced teams

Frequently asked questions

Is it truly random?

It uses the browser’s secure random generator for a fair shuffle.

Are names saved?

No, nothing leaves your device.

How many names?

Hundreds work fine.

Why is Team 1 sometimes bigger?

When the names do not divide evenly, the extra players are dealt to the first teams in order, so Team 1 (then Team 2) gets one more. Sizes never differ by more than one.

Can I make teams of a fixed size instead?

Divide your number of people by the team size and enter that as the number of teams. For 24 people in teams of 4, choose 6 teams.

💙 If VSH helps you, please share it and help us improve.