Random Group Generator
Randomly divide people or items into fair groups and teams.
Enter items, one per line
Enter items first
No groups generated yet
Enter names above, then click Generate.
About Random Group Generator
The Random Group Generator takes a list of names or items — one per line — and divides them into balanced groups using a fair Fisher-Yates shuffle. You control the split two ways: choose how many groups you want and the tool fills each one evenly, or choose how many members each group should contain and the tool creates as many groups as needed. Leftover members when the list does not divide evenly are distributed one per group rather than piled into a single overflow group.
The tool is designed for situations where the division itself must be unbiased: picking project teams in a classroom, splitting a workshop cohort into breakout rooms, forming sports squads from a sign-up list, or assigning reviewers in a code-review rotation. Unlike a random name picker — which selects one winner from a pool — or a random list shuffler — which reorders items without grouping them — this tool produces structured, labeled groups ready to share or paste directly into a meeting agenda.
Every shuffle runs entirely in your browser. Names are never uploaded, stored, or transmitted to any server, so participant lists from HR, classrooms, or private events stay completely private. The tool is free with no account required, and you can regenerate as many times as you like until you get an arrangement that works.
Key Features
Two split modes
Divide by number of groups (e.g., 3 teams from 18 people) or by group size (e.g., pairs from any list). Switch modes with one click without losing your list.
Fisher-Yates shuffle for unbiased randomness
Every item has an equal probability of landing in any group. The algorithm avoids the clustering bias that plagues naive sort-based shuffles.
Balanced distribution of remainders
When the list does not divide evenly, extra members are spread across groups one at a time rather than dumped into a single larger group, keeping sizes as equal as possible.
Instant regeneration
Click Generate again to get a completely different arrangement in milliseconds. Useful when someone objects to a pairing or when you want to show the draw is genuinely random.
Plain-text output for copy-paste
Results appear as labeled group cards and as a plain-text block you can copy and paste straight into a Slack message, email, or shared document.
Runs entirely in your browser
No data leaves your device. Participant names from HR records, classrooms, or private events are never sent to a server or stored anywhere.
How to Use
Enter Names
Type or paste names or items into the text area, one per line. Use the sample data button for a quick demo.
Set Mode & Count
Choose By Groups (split into N teams) or By Members (groups of N people), then set the number.
Generate Groups
Click Generate to randomly shuffle and divide into groups. Copy the results or regenerate for a new arrangement.
Example
Eight participants split into 3 groups using "By Groups" mode. Members are shuffled first, then distributed round-robin so sizes stay as equal as possible.
Alice Chen
Bob Patel
Clara Johansson
David Osei
Emma Larsson
Felix Müller
Grace Kim
Henry Okonkwo Group 1:
Alice Chen
David Osei
Grace Kim
Group 2:
Bob Patel
Emma Larsson
Henry Okonkwo
Group 3:
Clara Johansson
Felix Müller Common Use Cases
- arrow_circle_right
Classroom project teams
Paste a class roster and split students into project groups in seconds. Regenerate until the teacher is satisfied, or show students the draw is fair by generating live in front of them.
- arrow_circle_right
Workshop breakout rooms
Before a training session or conference workshop, divide all registered attendees into breakout groups of a fixed size so facilitators can prep group-specific materials in advance.
- arrow_circle_right
Sports team selection
Create balanced squads for a company sports day, recreational league, or PE class. Because the shuffle is fair, no one can accuse the organizer of stacking one side.
- arrow_circle_right
Code-review rotation
Split an engineering team into review pairs or trios for a sprint. Use "By Members" mode with a count of 2 or 3 to generate this sprint's review partners at standup.
- arrow_circle_right
Event table assignments
Randomly seat guests or participants at dinner tables when you want to encourage cross-team mixing. Set group size to match table capacity and copy the output into your seating plan.