Random Team & Group Generator

Project teams, lab pairs, classroom groups — paste names, pick a method, shuffle. Optional exclusions keep known troublemakers apart (or best friends together).

—
Embed this tool on your website / blog No code required · Copy and paste
HTML Embed Code (iframe):
<iframe src="https://lucentool.com/random-group-generator" width="100%" height="650" style="border:1px solid #e5e0d8;border-radius:12px;max-width:850px;width:100%;" frameborder="0"></iframe>
<div style="font-size:12px;color:#78716c;margin-top:6px;font-family:sans-serif;">Powered by <a href="https://lucentool.com/random-group-generator" target="_blank" style="color:#c85a32;text-decoration:none;">Lucentool - Random Team & Group Generator</a></div>

Balanced random grouping

The tool shuffles the list and deals members round-robin, so groups stay within ±1 member of each other — no 7-person group next to a 2-person group. With number of groups mode, sizes are as even as the list allows; with members per group, the last group may be smaller.

Exclusions

Each line declares a pair that must not share a group (Alice, Bob). The algorithm retries up to 50 times to place everyone legally; if no valid arrangement exists, it reports the conflict pairs it couldn't avoid. Exclusions only enforce separation; there is no dedicated "keep together" mode. For pairing people, just use groups of 2.

Teacher tips