Team Generator
Split a pasted name list into random teams — by team count or team size, balanced groups, CSV export.
0 items
Ignore empty lines
Remove duplicates
Split mode
Random captain
1–100
1–500
Up to 5,000 names per list.
Teams
Paste names and click Generate teams.
More than 250 names — text view only.
Generated teams appear here.
How to use the Team Generator
Four steps from pasted list to random teams.
- 1
Paste your names
One name per line — classmates, coworkers, players, or any group. The live count updates as you edit.
- 2
Choose split mode
Pick number of teams (e.g. 4 groups) or team size (e.g. 3 per team). Optionally ignore empty lines or remove duplicates.
- 3
Generate teams
Click Generate teams (or press Space on desktop). Names shuffle first, then split into balanced random groups.
- 4
Copy or download
Review Team 1, Team 2, … cards. Copy all or download .csv for spreadsheets and .txt for docs.
What is a team generator?
A team generator (also called a group generator or random team generator) takes a pasted list of names and splits them into fair, random teams. Teachers use it for classroom groups, coaches for pickup games, facilitators for workshop breakout rooms, and friends for party games — anywhere you need to split into teams without arguing over who goes where. HitRandom shuffles first, then divides, so teams reflect random assignment rather than the order names were typed or pasted.
Two split modes: Choose number of teams when you know how many groups you need — “split these 24 students into 4 teams.” Choose team size when you care about headcount — “teams of 3” from however many names you have. Both modes use the same secure shuffle and the same balanced remainder rule: if 11 people need 3 teams, you get 4, 4, and 3 — not an lopsided 5, 3, 3 pile-up on one group.
Natural list input: Paste from a roster, spreadsheet column, or chat — one name per line. A live item counter shows how many people will be split. Turn on ignore empty lines for messy pastes (default on). Turn on remove duplicates if the same name appears twice and should only count once.
Random groups, not fixed slots: Unlike manually numbering every third person down a list, a random groups tool shuffles the full pool before dealing into teams. That means early and late names in your paste have equal chance of landing together — the split is not biased by input order. We use secureShuffle() from our shared crypto random core (Fisher-Yates with crypto.getRandomValues()), the same engine behind our list randomizer and name picker.
Clear output: Results show as labeled cards — Team 1, Team 2, and so on — with every member listed. Copy in comma, newline, JSON, or spreadsheet-friendly formats. Download .csv with each team in its own column (header row included) for Excel or Google Sheets — a must-have for coaches and admins who live in spreadsheets. Download .txt for quick sharing in chat or email.
Edge cases handled: Empty lists, more teams than people, and team sizes larger than the group all show plain-language messages instead of breaking. When only two people need “teams of five,” you get one team of two — sensible, not confusing.
Who uses this: PE teachers, esports captains, study-group organizers, HR running icebreakers, tabletop gamers splitting parties, and anyone who searched team generator, random team generator, group generator, random groups, or split into teams online and wants a free, private tool with no signup. Pair with HitRandom’s List Randomizer for full-order shuffles and Random Name Picker for single-winner draws — all local, instant, and crypto-secure.
Frequently asked questions
How do I split a list into random teams?
What is the difference between “number of teams” and “team size”?
How are leftover people handled when counts do not divide evenly?
Is this random team generator fair?
Math.random() or server-side seeds. Your list stays on your device.Can I export teams to a spreadsheet?
Team 1, Team 2, …) so you can open it directly in Excel or Google Sheets. Copy formatted text or download .txt as well.Related tools
More free tools — all run in your browser.
List Randomizer
Shuffle a pasted list into random order — dedupe, numbering, and export. Crypto-secure, one item per line.
Name Picker
Pick a random name or winner from a pasted list — raffle mode, remove-winner draws, crypto-secure.
Coin Flip
Flip a coin online — heads or tails, one toss or up to 100. Crypto-secure, instant, private.
Yes / No
Random yes or no (and maybe) — one answer or bulk batches up to 200. Crypto-secure and instant, or spin the yes/no wheel.