Lunchbox Hands

Random Team Generator

Split names into random, balanced teams and share them with one link

Opening…

Split a class, a party, or a five-a-side game into random teams in one click. Paste the names, choose how many teams or how many people per team, and optionally keep certain pairs apart. Sizes are balanced automatically, and you can name the teams.

How it works

The draw runs in your browser with its cryptographic random number generator. The result is written into a link, after the #, so when you post it in the group chat everyone sees the same teams and nobody can claim the draw was redone. Nothing is stored on a server, which also means a link cannot be edited after it is shared.

Planning a gift exchange? Draw names with private reveal links in the Secret Santa generator, run a swap with the White Elephant generator, or share what you would like with a gift wishlist link. To pick a single winner, spin the wheel spinner.

Frequently asked questions

How are the teams chosen?

Without keep-apart rules, the names are shuffled with your browser's cryptographic random number generator and dealt into teams, so every split is equally likely. With keep-apart rules, the generator searches for a random arrangement that respects every rule. Team sizes are always balanced: 10 people in 3 teams become teams of 4, 3, and 3.

What does "keep apart" do?

Pick two people who must not be on the same team, such as a couple, two rivals, or the two strongest players. Add as many rules as you need. If the rules cannot all be met, for example three people who must all be apart but only two teams, the generator says so instead of guessing, and suggests removing a rule or adding a team.

How does everyone see the same teams?

After the draw you get one link. The teams are written into the part of the address after the #, so anyone who opens it sees exactly the same teams without a server or an account. Redrawing makes a new link; the old link keeps showing the old teams, so share the latest one. You can also copy the teams as plain text.

Can I choose team size instead of the number of teams?

Yes. Switch to "People per team" and enter a size. The generator works out how many teams that needs and balances them, so 10 people in teams of 4 become 4, 3, and 3 rather than leaving one person alone. The line under the names shows the sizes before you draw.

Is anything stored?

No. Names stay in your browser and only travel inside the link you choose to share. We do not store or send anything for you. The only things recorded are our standard page-view analytics (with the # part stripped off) and an event with the number of names and teams, never the names.

Get an email when new tools ship

Occasional and short: only when something new is added. Just your email, no account.