Random Group Generator
Paste a list of names and split it into random groups — by number of groups or by group size. Uneven numbers are handled honestly. Runs in your browser.
The split happens in your browser only. The list is never saved or sent to a server.
Try another tool
Picked to go with this onePaste a list of names and split it into random groups. Choose how many groups you want, or how many people should be in each, and the list is shuffled and divided. It works for a class, a workshop, a training day or a team activity, and it is honest about uneven numbers: 10 people into 3 groups gives 4/3/3 rather than padding or dropping anyone. Repeated names are kept, because two people can genuinely share a first name. Nothing is uploaded and nothing is saved.
How to use this tool
- 01Paste the namesOne per line, or separated by commas. Blank lines are ignored.
- 02Choose how to splitEither set the number of groups you want, or set how many people belong in each group. The tool works out the rest.
- 03Generate and reshuffleSplit the list, and shuffle again as many times as you like until the mix looks right.
- 04Name and copySet a prefix if you want something other than "Group", then copy the result as plain text.
When is this useful?
- Group work in classSplit a class into project groups without anyone arguing that you picked the teams.
- Workshops and training daysDivide participants into breakout groups of a fixed size, so every table has the same number of people.
- Teams for an activityTwo teams, four teams, or teams of five — set it either way round depending on what the activity needs.
- Rotating pairingsReshuffle between rounds so people work with someone different each time.
Examples
- 30 students into 6 groupsSix groups of five, split evenly, ready to read out or print.
- 10 people into groups of 3Four groups: three of three and one of one. The remainder is shown rather than hidden.
- 28 students into 5 groupsSizes come out 6/6/6/5/5 — the extra people are spread across the earliest groups.
Tips for a better result
- By count or by size changes the answerAsking for 5 groups and asking for groups of 5 are different questions and give different results for the same list. Pick the one the activity actually constrains.
- Add a surname initial for repeated namesTwo people called Daniel both get a place, but the printed list will read better if you distinguish them.
- Reshuffle before you commitRandomness sometimes puts three strong students together. Shuffle again — nothing is locked in until you copy it.
How uneven groups are handled
Group sizes rarely divide neatly, and the two modes round off differently. Splitting BY COUNT deals the shuffled names round-robin, so any remainder lands in the earliest groups: 10 into 3 gives 4/3/3. Splitting BY SIZE fills each group to the target before starting the next, so the remainder ends up alone at the end: 10 in groups of 3 gives 3/3/3/1. Neither mode ever drops a name to make the numbers tidy, and neither invents a placeholder to fill a gap.
What this is not
It is not a seating chart — there is no room, no rows and no desks, just groups. If you need to decide who sits where, the seating chart generator does that. It also is not a name picker: that draws one name at a time, where this divides the whole list at once.
Privacy
The split runs entirely in your browser. The names you paste are never uploaded, never saved, and disappear when you close the page.
Frequently asked questions
How do I split a list of names into random groups?
Paste the names one per line, choose either the number of groups or the number of people per group, and generate. The list is shuffled first, so the grouping is random rather than alphabetical.
What happens when the number does not divide evenly?
Nobody is dropped. Splitting by number of groups spreads the remainder across the earliest groups, so 10 into 3 gives 4/3/3. Splitting by group size leaves a smaller final group, so 10 in groups of 3 gives 3/3/3/1.
Can I use it for teams or workshops, not just a class?
Yes. Nothing about it is school-specific — it takes any list of names and divides it. Teams, breakout groups, training tables and committee splits all work the same way.
Are duplicate names merged?
No. Two identical names are treated as two people and both get a place, because in a real class they usually are two people. The tool tells you how many repeats it spotted so you can add an initial if the list would be confusing.
Can I reshuffle without re-entering the names?
Yes. Shuffle again as often as you like; the list stays where it is and only the grouping changes.
Is my list of names stored anywhere?
No. Everything happens in your browser. The names are not uploaded, not saved, and are gone as soon as you close or refresh the page.

