Skip to main content
HitRandom

Team Generator

Split a pasted name list into random teams — by team count or team size, balanced groups, CSV export.

Instant 100% Private Free Forever
Instant Private Free Crypto-secure Paste & split CSV export

0 items

Ignore empty lines

Remove duplicates

Split mode

Random captain

1–100

Up to 5,000 names per list.

Teams

Paste names and click Generate teams.

Generated teams appear here.

How to use the Team Generator

Four steps from pasted list to random teams.

  1. 1

    Paste your names

    One name per line — classmates, coworkers, players, or any group. The live count updates as you edit.

  2. 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. 3

    Generate teams

    Click Generate teams (or press Space on desktop). Names shuffle first, then split into balanced random groups.

  4. 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?
Paste names one per line, choose Number of teams or Team size, then click Generate teams. HitRandom shuffles the list with a cryptographically secure Fisher-Yates shuffle, then splits into balanced groups — team sizes differ by at most one person.
What is the difference between “number of teams” and “team size”?
Number of teams fixes how many groups you want (e.g. 4 teams from 20 people). Team size fixes how many people per team (e.g. teams of 3 — we create as many teams as needed). Both modes shuffle first so teams are random, not input order.
How are leftover people handled when counts do not divide evenly?
Remainders are distributed fairly. Eleven people into 3 teams becomes 4, 4, and 3 — not 5, 3, 3. No team is stuck with every extra person; sizes differ by at most one.
Is this random team generator fair?
Yes. We shuffle with crypto.getRandomValues() before splitting — the same unbiased core as our list randomizer and name picker. We never use Math.random() or server-side seeds. Your list stays on your device.
Can I export teams to a spreadsheet?
Yes. After generating, download .csv — each team is a column with a header row (Team 1, Team 2, …) so you can open it directly in Excel or Google Sheets. Copy formatted text or download .txt as well.