Random Team Generator
Split people into random teams.
About this tool
Paste a list of names, one per line, set the number of teams and press Make teams. Everyone is placed on exactly one team.
How to use
How it works
The names are shuffled with a Fisher-Yates shuffle that uses the browser's cryptographic random source, then dealt one at a time to Team 1, Team 2 and so on. Team sizes therefore differ by at most one person. With 8 names and 3 teams you get sizes 3, 3 and 2.
base size = floor(names ÷ teams); the first (names mod teams) teams get one extra
Worked example
Eight players into three teams
- Input
- 8 names, 3 teams
- Output
- Teams of 3, 3 and 2 players
- Walkthrough
- 8 ÷ 3 gives 2 remainder 2, so two teams get an extra player.
Limitations
- Teams are random only; no skill balancing or constraints.
- Between 2 and 10 teams.
- Each press reshuffles, so a result cannot be reproduced.
Questions
How do I split a class into random teams?
Are the teams equal in size?
Can I keep two people apart?
Features
- Even team sizes
- Fair shuffle
- Runs in your browser
Related resources
Guides and videos from around the web—opens on YouTube or the publisher’s site.
Does Pomodoro actually work for studying?
Karl Avillo, MD
Evidence-minded take on timed work intervals.
Watch on YouTubeLearn JSON - Full Crash Course
freeCodeCamp.org
Structured lists and pickers often store JSON configs.
Watch on YouTube
- Random Numbers
Math is Fun
Randomness basics for pickers and decision wheels.
- Tips for designing accessible web content
W3C WAI
Accessibility tips for small utility UIs.