Home › Tools › Random Team & Group Generator
🎲 Free Tool · No Signup

Free Random Team & Group Generator

Split any list of names into random, evenly-sized teams or groups instantly — for classrooms, events, project teams, or game night.

Enter Names & Split Settings


Why This Tool Exists

Manually assigning people to random groups — by drawing names from a hat, or eyeballing a "random" split — is slow and often not actually random at all; people unconsciously cluster friends together or avoid certain pairings. This tool removes that bias entirely: paste your list, pick how many groups you want, and get a genuinely randomized, evenly-balanced split in one click.

🏫

Classrooms

Fair project or activity group assignment

🎉

Events & Games

Team splits for game night or tournaments

💼

Workplace

Random pairing for mentorship or task rotation

🎁

Secret Santa

Randomly order or split a gift-exchange list

Why Fisher-Yates, Not a Naive Shuffle

A common but subtly flawed approach to shuffling is sorting an array using a random comparison function (like array.sort(() => Math.random() - 0.5)). This does not produce a uniform distribution — depending on the sorting algorithm's internal comparisons, certain orderings end up more likely than others, in a way that's invisible until you actually measure it statistically.

Verified Fairness
Across 100,000 test shuffles of a 4-item list, each item landed in each position between 24.8% and 25.2% of the time — genuinely uniform, as Fisher-Yates guarantees by design.
💡 Fisher-Yates works by iterating from the last element to the first, swapping each with a randomly chosen earlier (or equal) position — a simple, elegant algorithm with a mathematically provable uniform distribution.

How Uneven Group Sizes Are Handled

When your total number of people doesn't divide evenly by your chosen number of groups, this tool distributes the remainder as fairly as possible — group sizes will never differ by more than one person.

PeopleGroups RequestedResulting Group Sizes
1034, 3, 3
1344, 3, 3, 3
2054, 4, 4, 4, 4

Need a random number instead of groups?

Generate random numbers within any custom range.

Open Random Number Generator →

Common Uses for Random Grouping

Beyond classrooms, this works for splitting a large team into breakout discussion groups, randomly assigning tasks or presentation slots, forming balanced teams for a friendly competition, or even just shuffling a raffle or gift-exchange list into a random order.

5 Tips for Fair Group Assignment

1 — Double-check your name list before generating
Typos or duplicate entries will carry through into the groups — review your pasted list for accuracy first.
2 — Reshuffle if a specific pairing needs to be avoided
This tool doesn't support exclusion rules — if certain people can't be grouped together, simply reshuffle until you get an acceptable result.
3 — Decide groups vs group size based on your actual constraint
If you have a fixed number of tables or rooms, use "by number of groups." If each group needs a specific headcount for an activity, use "by group size" instead.
4 — Screenshot or copy the result before reshuffling
Reshuffling generates a completely new random split — save the result you want to use before clicking reshuffle again.
5 — Use full names or unique identifiers if names might repeat
If your group has multiple people with the same first name, add last initials so groups clearly show who's who.

Frequently Asked Questions

It uses the Fisher-Yates shuffle algorithm, proven to give every possible ordering an equal probability, unlike naive shuffling approaches that can subtly favor certain arrangements.

People are distributed as evenly as possible, with group sizes differing by at most one person — for example, 10 people into 3 groups gives two groups of 3 and one group of 4.

Yes. This tool supports both modes — specify the number of groups you want, or the target people per group, and it calculates the other value automatically.

Sorting an array with a random comparison function doesn't produce a uniform distribution and can noticeably bias certain orderings depending on the sorting algorithm used internally.

Yes. Setting the number of groups equal to the number of names shuffles the list into random order, which works well for picking someone at random from the top.

No. All shuffling happens instantly inside your browser using JavaScript. Nothing you type is uploaded, logged, or stored on any server.

More Free Tools on ToolLoom

📅 August 2026 · Written by the ToolLoom Team · Reviewed for accuracy August 2026. Found an error? Email contact@toolloom.in