Random Team Generator

Split people into random teams.

FreeNo accountOn your device

Runs in your browser. How to verify

Loading tool…

About this tool

Paste a list of names, one per line, set the number of teams and press Make teams. Everyone is placed on exactly one team.

How to use

1
Step 1
Enter the names, one per line.
2
Step 2
Set the number of teams from 2 to 10.
3
Step 3
Press Make teams.

How it works

The names are shuffled with a Fisher-Yates shuffle that uses the browser's cryptographic random source, then dealt one at a time to Team 1, Team 2 and so on. Team sizes therefore differ by at most one person. With 8 names and 3 teams you get sizes 3, 3 and 2.

base size = floor(names ÷ teams); the first (names mod teams) teams get one extra

Worked example

Eight players into three teams

Input
8 names, 3 teams
Output
Teams of 3, 3 and 2 players
Walkthrough
8 ÷ 3 gives 2 remainder 2, so two teams get an extra player.

Limitations

  • Teams are random only; no skill balancing or constraints.
  • Between 2 and 10 teams.
  • Each press reshuffles, so a result cannot be reproduced.

Questions

How do I split a class into random teams?
Paste the names, choose the team count and press Make teams.
Are the teams equal in size?
As close as possible. Sizes differ by at most one.
Can I keep two people apart?
No. The tool has no constraints.

Features

  • Even team sizes
  • Fair shuffle
  • Runs in your browser

Related resources

Guides and videos from around the web—opens on YouTube or the publisher’s site.

  • Does Pomodoro actually work for studying?

    Karl Avillo, MD

    Evidence-minded take on timed work intervals.

    Watch on YouTube
  • Learn JSON - Full Crash Course

    freeCodeCamp.org

    Structured lists and pickers often store JSON configs.

    Watch on YouTube