Random group generator
Paste your participants (one per line), pick the number of groups, and get a balanced random allocation — optionally seeded so the assignment is reproducible. Free, in your browser.
When to use this
Use this whenever participants must be assigned to conditions by chance rather than by convenience: treatment and control arms of an experiment, counterbalancing task orders, splitting a class into discussion groups, or dividing a sample for split-half validation. Randomization is what licenses causal language — assigning 'whoever signed up first' to treatment builds selection bias directly into the design. The seed matters for your write-up: 'participants were randomly assigned' is more credible when the assignment is reproducible.
What you get
- Unbiased complete randomization via Fisher–Yates — no allocation is more likely than any other.
- Balanced sizes: groups differ by at most one participant.
- A recorded seed, so the allocation can be reproduced and audited.
- Duplicate names are allowed (e.g. twins with the same name) — each line is one participant.
Common mistakes
- Re-rolling until the groups "look right" — that quietly destroys the randomization. Decide the seed before looking.
- Randomizing once for a study run in waves — randomize within each wave (stratify) instead.
- Confusing random assignment (this tool, for causality) with random sampling (who gets into the study, for generalizability).
Frequently asked questions
How does the randomization work?
What is the seed for?
Is this proper randomization for a clinical trial?
Are the names sent to a server?
Related free tools
Designing the whole experiment?
In Kahubi, the AI helps you plan the design, power the sample, run the survey or experiment, and analyze the results — grounded in your own materials.
Free accounts include AI chat, literature search, and every tool on this site.
From allocation to analysis in one place
Kahubi runs your surveys and experiments end to end: recruit, collect, clean, analyze with real statistics, and draft the write-up — with the AI grounded in your data.