Home › Fun & Games › Random Team Generator

Random Team Generator

Paste your list of names, choose how many teams you need or how many people per team, and press Generate teams. The teams are balanced so their sizes never differ by more than one.

Last updated:

Tip: put * in front of a name (e.g. *Alex) to spread starred players across teams, one per team where possible. With captains on, starred players become captains.

Teams are shuffled in your browser with a cryptographically secure random generator. Names are never uploaded.

Advertisement
Advertisement

How to use the Random Team Generator

  1. Enter the names, one per line or separated by commas. Use Sample names to try it out.
  2. Choose how to split: a number of teams, or a number of people per team.
  3. Pick options: team name style, captains, and whether to remove duplicates. Put * before key players to spread them out.
  4. Press Generate teams. Each team appears as a card with its members.
  5. Press Shuffle again for a new draw, or use Copy teams, Download TXT or Download CSV to share the result.

How teams are balanced

When n people are split into k teams, every team gets either ⌊n ÷ k⌋ or ⌈n ÷ k⌉ people. The number of larger teams is the remainder n mod k. With a team size s, the number of teams is ⌈n ÷ s⌉ and the same balancing rule applies.

PeopleSettingTeamsTeam sizes
123 teams34, 4, 4
103 teams34, 3, 3
104 per team34, 3, 3
235 per team55, 5, 5, 4, 4
304 teams48, 8, 7, 7

Why the Fisher–Yates shuffle?

A fair team draw needs every ordering of the names to be equally likely. The Fisher–Yates (Knuth) shuffle does exactly that: it walks backwards through the list and swaps each name with a randomly chosen name at or before it. Simpler tricks, like sorting by a random number, can be subtly biased. This tool draws its random numbers from crypto.getRandomValues with rejection sampling, which avoids the small bias you get from taking a remainder of a random number.

Ideas for using it

  • Classrooms: make random study groups or project teams in seconds, and shuffle again for the next activity.
  • Sports and games: pick five-a-side football teams, pub quiz teams or board game partners. Star the strongest players to spread them out.
  • Work: form breakout rooms, workshop groups or secret-santa style pairings (choose 2 people per team).
  • Tournaments: use the CSV download to import teams into a spreadsheet or bracket tool.

Frequently asked questions

How does the random team generator work?

It shuffles your list with the Fisher–Yates algorithm, using your browser's cryptographically secure random number generator, and then deals the names one by one to the smallest team. Every possible arrangement is equally likely, and the result cannot be predicted.

Are the teams balanced?

Yes. Team sizes never differ by more than one person. For example, 10 people in 3 teams gives one team of 4 and two teams of 3, and 10 people with a team size of 4 also gives 3 teams (4, 3 and 3) rather than a lonely team of 2.

What is the difference between number of teams and people per team?

With Number of teams you choose how many groups you want and the tool works out the sizes. With People per team you choose the ideal size and the tool creates as many teams as needed (the total divided by the size, rounded up), then balances them.

How do captains work?

Tick Pick a captain for each team and one member of every team is chosen at random and listed first with a Captain badge. If you mark names with a star (*Alex), starred people are spread one per team and become the captains of their teams.

Can I balance teams by skill?

Mark your strongest players with a * in front of their name. They are dealt to different teams first, before everyone else is shuffled in, so no team gets all the stars.

Is my list saved or uploaded?

Your list is never uploaded. It is remembered only in your own browser so it is still there next time you open the page; press Clear to remove it.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Picker WheelSpin a wheel to pick a random name or choice.Random Name GeneratorGenerate random first and last names by gender and origin.Random Number GeneratorPick random numbers in any range, unique or lottery-style.Coin FlipFlip a coin online: heads or tails, multiple coins and stats.Acronym GeneratorTurn a phrase into an acronym, or turn letters into creative backronym ideas.Band Name GeneratorInvent band names for 14 music genres, or blend two genres, with album titles too.Bowling Score CalculatorEnter rolls frame by frame to get running bowling scores, max possible score and a scorecard.Charades GeneratorRandom charades words by category and difficulty, with a round timer, team scores and kids mode.Yes or No WheelSpin the wheel for a yes or no answer to any question.Dice RollerRoll a D6 or any RPG dice (D4 to D100) with totals and history.Random Letter GeneratorPick random letters from the alphabet, with vowel, case and no-repeat options.Random Dog PicturesRandom dog photos and fun dog facts.Random Cat PicturesRandom cat photos and fun cat facts.Random Parrot PicturesRandom parrot photos and bird trivia.Dog Web StumbleJump to a random dog website.Cat Web StumbleJump to a random cat website.Parrot Web StumbleJump to a random parrot website.Random Animal GeneratorGet a random animal with its class, habitat and a fun fact, with filters.Random Movie PickerCan't decide what to watch? Pick a random film by genre, decade and runtime.Random Food PickerCan't decide what to eat? Spin a cuisine wheel and get a dish that fits your diet.Baby Name GeneratorDiscover 1,700+ baby names filtered by gender, origin and letter, and save favorites.Would You Rather QuestionsRandom would you rather dilemmas in five categories. Vote and see your A/B split.Pet Name GeneratorFind the perfect name for a dog, cat, bird or bunny by species, style and coat color.Writing Prompt GeneratorRandom story starters, first lines, characters, settings, twists and poem prompts in 11 genres.Drag Name GeneratorFind your drag queen or drag king name: puns built from your own name in seven styles.Rapper Name GeneratorTurn your name into a rap name in seven styles, from Lil and MC to trap, drill and emo rap.Lottery Number GeneratorSecure random quick picks for Powerball, Mega Millions, EuroMillions, Lotto and custom games.Superhero Name GeneratorInvent original superhero names with powers, an origin story and a weakness.Pirate Name GeneratorGet swashbuckling pirate names from your first name, plus ship names, in four styles.Couple Name GeneratorBlend two names into ranked ship names and couple names, from Brangelina-style to overlaps.Random Card DrawShuffle a 52-card deck and draw one or more random playing cards, with jokers and history.Random Fact GeneratorGet random fun facts about animals, space, the body, history, science, food and more.Random Joke Generator200+ clean, family-friendly jokes: dad jokes, puns, knock-knock jokes and more. Tap to reveal.Business Name GeneratorTurn a keyword and industry into brandable business name ideas, with a .com check link.Pictionary Word GeneratorRandom family-friendly drawing words by difficulty, with a round timer and team scores.Random Emoji GeneratorGenerate random emojis by category, copy them in one click, or roll an emoji story prompt.Random Activity GeneratorBored? Get a random thing to do from 300+ ideas, filtered by place, budget, age and time.Random Drawing Idea GeneratorGet random drawing prompts by difficulty and theme, with a color palette and sketch timer.Date Night Idea GeneratorRandom date night ideas by budget, at home or out, season and vibe. Save your favorites.Elf Name GeneratorFind your Christmas elf name from your first name and birth month, then print a name tag.Most Likely To QuestionsRandom 'who is most likely to' questions for parties and classrooms with a kid-safe filter.Random Gift Idea GeneratorGet random gift ideas by recipient, age, interests and budget, then shortlist and copy them.Random Hobby GeneratorFind a new hobby by budget, indoor or outdoor, solo or social, with simple steps to start.Random Location GeneratorRandom coordinates on land, in a country or near you, on a map with the nearest city.Random Object GeneratorRandom everyday objects with icons for drawing prompts, guessing games and teaching.Random Song GeneratorPick a random popular song by decade and genre, then play it on your favorite music service.Random Wikipedia ArticleGet random Wikipedia article summaries by language and topic, with images, links and history.Podcast Name GeneratorPodcast name ideas from your topic, tone and format, with domain availability hints and favorites.Random Seating Chart GeneratorPaste a class or guest list and get a random seating chart with keep-apart rules.Spirograph GeneratorDraw spirograph patterns online with gear sliders, layers, animation and PNG/SVG export.Tongue Twister GeneratorRandom tongue twisters by difficulty and sound, plus a maker for any letter, read aloud.Random Quote GeneratorGet random inspirational, funny and famous quotes with author and source; copy or share as an image.Random Website GeneratorJump to a random fun, useful or interesting website from a hand-picked, family-friendly list.Random Workout GeneratorPick a goal, equipment, muscles and time to get a random workout with sets, reps and rest.
See all 63 Random Generators & Pickers →