BYTETOOLS

How to Split a List Into Random Teams Online

To split a list into random teams, paste your names one per line, choose whether to set a number of teams or a fixed team size, enter the value, and click make teams — everyone is shuffled and dealt out evenly at random. The ByteTools Random Team Generator does this entirely in your browser, so the split is unbiased and your roster never leaves your device.

This tutorial walks through both split modes, shows how remainders are handled, and explains why the assignment is genuinely fair rather than just shuffled once and reused.

What the tool does

Give it a list of people and it distributes them into balanced groups. You can split two ways: by a number of teams (say, make 4 teams from 30 names) or by a team size (say, 5 people per team). When the numbers do not divide evenly, the leftover members are spread one per team across different groups rather than piled onto one, keeping every team within one person of the others. Blank lines are ignored, and you can reshuffle instantly for a rematch.

Step-by-step

  1. Paste your names. One per line — copy them from a register, sign-up sheet or chat.
  2. Pick a split mode. Choose "number of teams" or "team size" depending on what is fixed for your event.
  3. Enter the value. Type how many teams you want, or how many people per team.
  4. Click Make teams. Everyone is shuffled with a secure random algorithm and dealt out evenly.
  5. Copy or reshuffle. Copy the teams to share them, or reshuffle for a completely different split.

Which split mode to use

You knowUse modeExample
How many teams you needNumber of teams4 relay teams from the class
How big each team must beTeam sizePairs for a coding exercise
Fixed number of stationsNumber of teams6 workshop tables
A rule like "max 5 per group"Team sizeGroups of 5 for a game

Why the split is fair and private

The generator uses a Fisher-Yates shuffle powered by crypto.getRandomValues, the browser's cryptographically secure random source. That means every possible arrangement is equally likely and nobody can predict or influence who lands where — no more awkward captain's picks. Because all the shuffling happens locally, the names are never uploaded or stored, so it is safe for student rosters, staff lists or any confidential group. It also runs offline once loaded, which is ideal for a gym or classroom with no reliable connection.

Try the Random Team Generator — free and 100% in your browser.

FAQ

What happens if my number of people does not divide evenly?

The extra members are spread one per team across separate groups, so team sizes stay within one of each other instead of one team being noticeably larger.

Can I keep certain people apart or together?

The split is fully random, so it will not honour pairing rules automatically. If you need two people separated, reshuffle until they land on different teams, or assign those few by hand after generating.

How do I get a rematch with fresh teams?

Click make teams again. Each run is an independent shuffle, so you will almost always get a different arrangement from the same list.

Does it work for large groups?

Yes. Whether you have a dozen names or several hundred, the shuffle runs quickly in your browser because nothing is sent to a server.

Related free tools

Built by ByteVancer

ByteTools is a free product of ByteVancer, a software and web development studio building web apps, SaaS and custom software. If your organisation needs custom tools or a full product built well, explore what ByteVancer can do.