Random Team Generator: Split Any Group Into Fair Teams

Paste a class list, a team roster or a party guest list and split it into random, even teams in one click. Keep certain people apart, choose a captain for each team, put the teams up on a projector, then pick a game that fits the group from our free library.

  • No ads or sign-up
  • Names never leave your device
  • Free to embed on a class or school site
RedBlueGreenGold

How to use it

  1. Add the names. Type them one per line, or paste a column straight from a spreadsheet or your gradebook. No names handy? Choose Use numbers instead and you’ll get Player 1, Player 2 and so on.
  2. Choose how to split. Pick a number of teams, or a number of people per team. The line under the numbers shows the team sizes you’ll get before you click anything.
  3. Make teams. Shuffle again as often as you like. Copy the teams into an email or a slide, print them, or press Big screen for the projector. Then scroll to the game ideas for your group.

Who uses a random team generator

Teachers

Lab partners, reading groups, review games and project teams, made in front of the class so nobody wonders whether the groups were rigged.

Indoor recess and brain-break games

PE and recess

Even sides for kickball, relays and field day in a few seconds, with no captains picking and nobody standing there waiting to be chosen last.

60 recess and field-day games

Offices and trainers

Breakout rooms, workshop tables and team challenges that mix departments instead of letting the same five people sit together.

56 icebreakers and team challenges

Youth groups and scouts

Patrols, small groups and game-night teams for however many kids walked in tonight.

Youth group games

Activity directors

Table groups and trivia teams for a senior center or care community, with a big-screen view residents can read.

52 activities for older adults

Parties and game night

Fair teams for charades, trivia or a scavenger hunt, so couples and best friends end up on different sides.

Rules for 48 classic games

How the shuffle works

Most “random” team pickers are fine for a party. If you’re splitting a class or a staff meeting, though, it helps to know exactly what the tool does, so here it is.

  1. Shuffle. The list is shuffled with the Fisher-Yates algorithm. Each swap uses crypto.getRandomValues, the random number source browsers provide for security work, with rejection sampling so no name is favored.
  2. Deal. Names are dealt to the teams one at a time, the way you deal cards. That keeps team sizes within one person of each other. The team order is then shuffled too, so the first team doesn’t always get the extra person.
  3. Keep apart. If you list people to keep apart, the tool swaps them with people on other teams until no line has two people on the same team. Team sizes don’t change.
  4. Captain. If you ask for captains, one person on each team is picked at random and listed first.

Everything happens in your browser. The page never sends the names anywhere, and there’s no account to make.

Free to use

Put this team generator on your site

Teachers, librarians, coaches and activity directors are welcome to embed the generator on a class page, school site, library guide or blog. It’s the same tool as above, with the name picker and game ideas, and it costs nothing. Paste this code into any page that accepts HTML or an iframe, and please keep the credit line with it.

  • Works in most website builders, blogs and course pages that allow iframes
  • No tracking or ads inside the frame
  • Names typed into the embedded tool stay on the visitor’s device
Embed code

Need it taller or shorter? Change height="820". If your platform strips iframes, link to partygamebook.com/team-generator/ instead.

Questions

Is the team generator really random?

Yes. It shuffles the list with the Fisher-Yates method, using your browser's built-in cryptographic random numbers (crypto.getRandomValues), so every order of names is equally likely. It then deals people out one at a time, like cards, so team sizes never differ by more than one.

What happens if the group doesn't divide evenly?

Before you click, the tool shows exactly what you'll get, for example “2 teams of 5 and 2 teams of 6.” When you split by people per team, you can spread the extra people across teams or put them together in one smaller team.

Can I keep two students apart?

Yes. Open “Keep certain people apart” and type the names on one line, such as “Sam + Alex.” The tool moves people between teams until everyone on that line is on a different team. If you list more people than you have teams, it tells you it couldn't separate them all.

Are the names I type saved anywhere?

Only in your own browser on this device (local storage), so your class list is still there next time. Nothing is sent to our server. Press Clear to remove it.

Can I show the teams on a projector or smartboard?

Yes. After you make teams, press Big screen. The teams fill the screen in large type. Press Esc to go back.

Can I put this tool on my own website, class page or LMS?

Yes, for free. Copy the embed code on this page and paste it into any page that accepts an iframe. Keep the credit line under it. Some school accounts block outside frames; if yours does, link to this page instead.

Does it work without internet?

Once the page has loaded, the generator runs entirely in your browser, so it keeps working if the connection drops. The game links need a connection.

For educators, librarians and activity directors

No ads, no sign-up, no data collected. Free to link, embed and share.

You’re welcome to link to this tool from a classroom technology list, a library guide, a PE department page or an activity calendar. To cite it:

APA

Party Game Book Editors. (2026). Random team generator: Split any group into fair teams. Party Game Book. https://partygamebook.com/team-generator/

MLA

Party Game Book Editors. “Random Team Generator: Split Any Group Into Fair Teams.” Party Game Book, 2026, partygamebook.com/team-generator/.

  • Two tools in one: a random team generator and a random name picker that can skip anyone already picked.
  • 264 game ideas matched to group size and setting, from our free libraries for classrooms, recess, offices, youth groups, scouts and senior centers.
  • Private by design: it runs in the browser, so student names are never uploaded.
  • Last updated: October 2026. Found a problem? Email hello@partygamebook.com.