Random Team Generator

Embed this tool

Add the Random Team Generator to your own site, class page or blog: paste this code where it should appear. It runs in the visitor’s browser like this page does.

How to make random teams

  1. Paste the names, one per line (up to 500): a class register, a sports squad, workshop attendees.
  2. Choose how to split: a number of teams, or the most people you want on any team. The line under the box tells you the sizes you will get.
  3. Make teams, then Shuffle again for a different split, Copy teams to paste them into a message, or Print.

How the split works, and what we checked

The tool shuffles the whole list with the Fisher–Yates method, drawing every random choice from crypto.getRandomValues() with rejection sampling so all orders are equally likely, then deals the shuffled names round-robin into the teams. Dealing is what keeps sizes balanced: team sizes can never differ by more than one. Finally the team order itself is shuffled, so with uneven numbers it isn’t always Team 1 that gets the extra person.

We ran the tool’s own functions on October 14, 2026. For every list length from 2 to 60 and every possible number of teams (1,770 combinations), each person was placed exactly once and sizes never differed by more than one (0 failures). Then we split 16 people into 4 teams 100,000 times and counted how often each of the other 15 shared a team with one chosen player: between 19.72% and 20.23% each, against an exact 20% (chi-square 13.73 on 14 degrees of freedom, under the 23.68 cut-off for 5%).

Tips

For pairs, choose at most 2 people per team; with an odd number of people one team gets three. For games with a fixed team size, use people per team so no team grows past it. To pick one person rather than split everyone, the Wheel Spinner draws from the same kind of list with the same fair random source.

Frequently Asked Questions

Are the teams really random?+
Yes. The list is shuffled with your browser's cryptographic random generator (Fisher-Yates with crypto.getRandomValues and rejection sampling), so every arrangement is equally likely. In 100,000 splits of 16 people into 4 teams, each person landed on the same team as a given player between 19.72% and 20.23% of the time, against an exact expectation of 20%.
How are team sizes decided?+
After the shuffle, people are dealt round-robin into the teams, like dealing cards, so sizes never differ by more than one: 17 people in 4 teams makes teams of 5, 4, 4 and 4. The order of the teams is shuffled too, so the larger teams are not always listed first.
What does people per team do?+
It makes as many teams as needed so that no team is larger than the number you give, then balances them: 16 people with at most 5 per team gives four teams of 4, not three teams of 5 and one person on their own.
Can I keep certain people apart or together?+
Not yet: every split is a fresh, fully random draw. Press Shuffle again until you get a split that works, or adjust the teams by hand after copying them.
Are the names sent anywhere?+
No. Teams are made in your browser, and your list is saved only on this device for next time.

Built by Derek Giordano · Part of Ultimate Design Tools

Privacy Policy · Terms of Service