Homeโ€บGeneratorsโ€บEverydayโ€บTeam Generator

Team Generator

Everyday

Split a list of names into random, balanced teams instantly. Enter names, choose the number of teams or team size. Free, client-side, no sign-up required.

Reviewed by the thecalcu.com team ยท Last updated June 21, 2026

What is a Teams?

A Team Generator randomly splits a list of names into balanced teams or groups. Enter names, one per line, choose whether to specify the number of teams or the size of each team, and the tool produces randomly shuffled groups instantly. Every generation uses a fresh random shuffle (Fisher-Yates algorithm), so repeated clicks produce different assignments.

The tool supports two split modes: Number of teams distributes names round-robin across a fixed number of groups, giving each team as equal a count as possible. Team size fills groups of a specified size, leaving any remainder in the last group.

This is useful for classroom group assignments, sports side selection, hackathon team formation, office sweepstakes, escape room group splits, or any situation where you need to randomly partition a list of participants.

For picking a single random winner from a list, use the Random Name Picker. For generating random numbers for draws or lotteries, use the Random Number Generator.


Why Use a Team Generator?

Manual team picking introduces bias, the first names called get grouped by whoever is doing the picking, often resulting in ability or friendship clustering. Random assignment removes this bias entirely and is perceived as fair by participants.

It also saves time: pasting 30 names and clicking once is faster than any manual drawing or shuffling process.


Who Should Use This Tool?

Teachers and trainers, form classroom groups or workshop breakout teams quickly and fairly.

Sports coaches, split players into practice teams or choose sides for scrimmage games.

Event organisers, assign participants to tables, heats, or activity stations randomly.

HR and managers, form project teams, assign mentors, or run team-building activities.

Anyone running a sweepstakes or raffle, randomly assign ticket numbers or prize order to a participant list.


What Does the Team Generator Give You?

Each output line shows a team number and its members: Team 1: Alice, Bob, Charlie. Teams are balanced as evenly as possible. Click generate again for a new random assignment, the same names, reshuffled.


How to use this Teams calculator

  1. Enter the names you want to split into the Names field, one name per line.
  2. Select a Split By mode: "Number of teams" or "Team size".
  3. Enter the desired number of teams (or team size).
  4. Click Generate, the teams appear instantly.
  5. Click Generate again for a different random split.
  6. Copy the result using the copy button.

Formula & Methodology

Shuffle: Fisher-Yates algorithm, iterates from the last element to the first, swapping each element with a randomly chosen element at or before its position. Produces a uniformly random permutation.

Split (number of teams mode): Names are dealt round-robin to N teams: name[0] โ†’ team[0], name[1] โ†’ team[1], ..., name[N] โ†’ team[0], and so on.

Split (team size mode): Names are sliced into consecutive chunks of the specified size. Any remainder forms the last (smaller) team.

Example, 8 names, 3 teams:
- Shuffle: [Fiona, Bob, Hannah, Alice, George, Diana, Evan, Charlie]
- Team 1: Fiona, Alice, Evan (positions 0, 3, 6)
- Team 2: Bob, George, Charlie (positions 1, 4, 7)
- Team 3: Hannah, Diana (positions 2, 5)

Frequently Asked Questions

The tool shuffles the name list using a random algorithm (Fisher-Yates shuffle), then distributes names evenly across teams. In 'number of teams' mode, names are dealt round-robin so each team gets one extra member if the count doesn't divide evenly. In 'team size' mode, names fill teams of the specified size, with the last team potentially having fewer members.
Yes, click the generate button again to get a new random shuffled result. Each click produces a different assignment because the shuffle uses a different random seed each time.
Teams receive members as evenly as possible. If you have 7 names and split into 3 teams, two teams get 2 members and one gets 3. The names are shuffled before splitting, so which team gets the extra member is random each time.
Fisher-Yates (also called Knuth shuffle) is an algorithm that produces a uniformly random permutation of a list. Starting from the last element, it swaps each element with a randomly chosen element at or before its current position. This guarantees every possible ordering is equally likely, unlike naive approaches that introduce bias.
Yes, the tool is generic. Enter any list of names or identifiers (student names, team members, task items), choose the number of groups, and generate. It is equally useful for picking sports sides, forming project groups, assigning office sweepstakes tickets, or randomising any participant list.
The tool works well with lists of up to a few hundred names. There is no hard limit, but very large lists (thousands of names) may make the output hard to read in the browser. The logic itself has no size restriction, it is bounded only by your browser's memory.
No. A new random shuffle runs on every generation. If you need reproducible results, note the teams shown before navigating away, the results are not saved between sessions.
Nothing leaves your browser. The shuffle runs entirely client-side, so nothing is transmitted to a server or stored. Names you enter stay on your device only.
For picking a single winner from a list, the [Random Name Picker](/random-name-generator/) is more appropriate, it picks one name at random from a list. The team generator is designed for distributing a full list across multiple groups.
Use 'Team size' mode and enter the size you want. If the total number of names is not exactly divisible by the team size, the last team will have fewer members. If you need strictly equal teams, remove names from the list until the count divides evenly.
Also known as
random team makergroup generatorsplit into teamsrandom group generatorteam pickerrandom team sorter