Random Group Generator - Split Names into Teams
Paste a list of names and split them into balanced random groups with one click. Free and browser-based, nothing is uploaded anywhere.
0 names
Split by
Balanced Random Groups Without the Awkwardness
The generator shuffles your list with the Fisher-Yates algorithm, the standard method for unbiased shuffling, and then deals names into groups round-robin like dealing cards. That guarantees balanced sizes: 22 names into 4 groups always gives you two groups of 6 and two groups of 5, never a group of 9 next to a group of 2.
You can split by the number of groups (you want exactly 5 teams) or by group size (you want pairs, or tables of 4). Splitting by size rounds the group count up, so 13 names with a group size of 4 produces 4 groups: three with 3 people and one with 4. If the exact distribution matters, run it by number of groups instead and check the counts shown next to each group name.
Random grouping solves a real classroom and workplace problem: self-selected groups cluster friends together and leave the same people picked last every time. Visible randomization removes the social sting and mixes skill levels naturally. Teachers often re-shuffle weekly so students work with everyone in the class over a term; facilitators use it for workshop breakouts and icebreakers.
The copy button exports every group as a plain-text list you can paste straight into an email, a slide, or a chat message. Names are processed entirely in your browser and never sent to a server. For picking a single winner instead of forming teams, use the Random Name Picker; for seating arrangements, try the Seating Chart Generator.
How the Random Group Generator Works
- 01Paste your names, one per line.
- 02Choose whether to split by number of groups or by group size.
- 03Press generate: the list is shuffled with the Fisher-Yates algorithm and dealt into groups round-robin, so sizes stay balanced.
- 04Re-shuffle until you are happy, then copy the result as plain text for email, slides, or chat.
Balanced by Construction
The generator shuffles with Fisher-Yates, the standard unbiased shuffle, then deals names into groups like dealing cards. That makes lopsided results impossible: 22 names into 4 groups always yields two groups of 6 and two of 5. Splitting by group size rounds the number of groups up, so 13 people with a target size of 4 gives four groups of 4, 3, 3, and 3. Every re-shuffle is a completely fresh random assignment, and everything happens in your browser.
When to Use This Generator
Use it whenever people need to be divided and self-selection would cause problems: classroom project teams, workshop breakout groups, sports practice squads, trivia night tables, or code review pairs. Random assignment mixes skill levels, breaks up cliques, and spares anyone the sting of being picked last. Re-shuffling weekly also ensures everyone eventually works with everyone else.
Common Use Cases
- Create classroom project teams that mix ability levels and friendship groups. Seating Chart Generator - Random Classroom Seats
- Split workshop or training attendees into breakout groups of a set size.
- Form random pairs for peer review, language practice, or pair programming.
Tips
- Re-shuffle on a schedule, for example weekly, so everyone works with everyone over a term.
- Use group-size mode for pairs: enter 2 and any list becomes random duos, with one trio if the count is odd.
- Copy the results immediately after the final shuffle; a re-shuffle cannot be undone.
Frequently Asked Questions
- After shuffling, names are dealt one at a time to each group in turn, like dealing cards. Group sizes can therefore differ by at most one person. Splitting 22 names into 4 groups always gives sizes 6, 6, 5, 5 rather than something lopsided.
- It is the standard algorithm for unbiased shuffling: it walks the list once, swapping each item with a randomly chosen earlier position, so all orderings are equally likely. Naive approaches like sorting by random values can subtly favor some arrangements; Fisher-Yates provably does not.
- Yes, switch the mode to group size. Enter 4 and the tool computes how many groups are needed, rounding up. With 13 names you get four groups sized 4, 3, 3, 3. If you need exact sizes with no remainder, use number-of-groups mode and check the counts shown per group.
- Not automatically. The practical workaround is to re-shuffle until the constraint is satisfied, which is quick for one or two constraints, or to generate groups and then manually swap two names in the copied text. Hard constraints defeat the fairness that random assignment provides, so use them sparingly.
- Yes. The shuffling and grouping run entirely in your browser using JavaScript. Names are never transmitted to a server, which makes the tool safe for student rosters and employee lists.
How does the generator keep groups balanced?→
What is the Fisher-Yates shuffle and why does it matter?→
Can I split by team size instead of team count?→
Can I keep certain people together or apart?→
Is my list of names private?→
Related tools
12 suggested- 01Random Name Picker - Spin the WheelPaste a list of names and spin an animated wheel to pick a random winner. Free, browser-based, list stays on your device.
- 02Seating Chart Generator - Random Classroom SeatsGenerate a random classroom seating chart from your roster, swap seats, and print it. The roster never leaves your browser.
- 03Random Number Generator - Fast & SecureGenerate random numbers within any range. Unique or with duplicates, bulk generation, quick presets. Cryptographically secure.
- 04Invoice Generator - Free PDF InvoicesCreate professional PDF invoices with line items, tax, and company details. Live preview, print or save as PDF. Free - works entirely in your browser.
- 05Email Signature Generator - Free HTMLCreate professional HTML email signatures with name, title, photo, and social links. Multiple templates and styles. Free online tool.
- 06Privacy Policy Generator - GDPR CompliantGenerate a GDPR-compliant privacy policy for your website or app. Customizable for cookies, analytics, and payments. Free template.
- 07Free QR Code Generator - URL, WiFi & MoreCreate free QR codes for URLs, text, WiFi, email, and phone numbers. Static codes that never expire. Works offline in your browser.
- 08Barcode Generator - Code 128, EAN-13, UPC-A & MoreGenerate barcodes in 6 formats: Code 128, Code 39, EAN-13, EAN-8, UPC-A, and ITF. Auto check digit, live preview, PNG and SVG download. Free, runs in your browser.
- 09Habit Tracker - Build Daily StreaksTrack daily habits with a visual grid. Week and month views, streak counting, color-coded completion. All data saved locally in your browser.
- 10Kanban Board - Free Drag & Drop Task BoardOrganize tasks with a simple drag-and-drop Kanban board. Three columns: To Do, In Progress, Done. Priority labels, card editing, and localStorage persistence. Free and private.
- 11Budget Planner - Free Monthly Budget ToolPlan your monthly budget with income and expense tracking. Pie chart visualization, category breakdown, and savings goal tracking. All data saved locally.
- 12Receipt Generator - Create & Print Receipts FreeGenerate professional receipts with line items, tax calculation, and company details. Print directly or save as PDF. Free and easy to use.