Random Sample and A/B Group Splitter (Reproducible Seed)
Load a list, choose a sampling method or the number and size of groups, enter a seed, and get a reproducible sample or group assignment you can export.
Funziona nel tuo browser. I tuoi file non lasciano mai il dispositivo. Scopri come verificarlo
…
Come si usa
- 1Load the list
Open a CSV or XLSX, paste rows or use the sample.
- 2Choose a method
Simple, systematic, stratified or group split.
- 3Set size or groups
Enter the sample size or the group names and weights.
- 4Enter a seed
Use a memorable word or date and record it.
- 5Check balance
Compare groups and export the result.
Informazioni su questo strumento
Choosing who gets the new email design, which invoices to audit or which customers to survey sounds simple, but doing it fairly and in a way others can check is not. Sorting a spreadsheet by a RAND() column changes every time the sheet recalculates, and nobody can reproduce the result later. This tool makes the selection repeatable. You load a list of people, customers, invoices or products, type a seed (any word or date), and choose a method. A simple random sample picks a fixed number or percentage of rows with equal chance. A systematic sample takes every k-th row from a random start. A stratified sample divides the list by a column such as region or plan and samples within each group, either in proportion to group size or equally, so small groups are not missed. Group splitting assigns every row to two or more groups, such as Control, Variant A and Variant B, with weights you choose, and can balance the split inside each value of a column, so every region gets the same mix of groups (block randomisation). The tool shows how many rows went where and a balance check comparing groups on every column. Because the shuffle is driven by your seed, anyone with the same list and seed gets exactly the same result, which makes audits and experiments transparent.
Who it is for
Marketers running A/B tests, auditors selecting samples, researchers assigning participants, teachers forming groups and survey managers drawing respondents.
Methods
| Method | How it works | Use when | |---|---|---| | Simple random | Every row has the same chance | The list is uniform | | Systematic | Every k-th row from a random start | Rows are in an order with no pattern | | Stratified | Random within each group | Groups differ and all must be represented | | Group split | Every row gets a group by weight | Experiments and A/B tests |
Seeds and reproducibility
The seed is converted to a number that drives the mulberry32 generator, and rows are shuffled with the Fisher–Yates algorithm. Record the seed with your results: the same list in the same order and the same seed always gives the same selection.
Balancing groups
Balancing by a column (block randomisation) splits each value of that column separately, so with 40 customers in the North and 20 in the South, both regions get the same proportion of each group. The balance check shows group means for number columns and counts for category columns.
Sample size
This tool selects; it does not calculate how many you need. Use a sample size calculator first, then enter the result here.
Worked example
Sixty customers in four regions are split into Control, Variant A and Variant B, balanced by region, with the seed 2026-11-02: each group gets 20 customers and every region contributes five to each group.
Limits
The generator is suitable for sampling and experiments, not for cryptography or regulated lotteries.
Esempio svolto
60 customers → 3 groups of 20, balanced by region, seed 2026-11-02.
In breve
- Categoria: Matematica e scienze
- Funziona nel browser, senza registrazione né caricamento.
- Le informazioni che inserisci restano sul tuo dispositivo.
- Disponibile in inglese.
- Contenuto rivisto l'ultima volta il:
- Fonte ufficiale: Fisher–Yates shuffle and stratified sampling as described in the NIST/SEMATECH e-Handbook
Domande frequenti
How do I randomly split a list into A/B groups?
Load the list, choose "Split into groups", name the groups and set a seed.
Why use a seed?
So the same selection can be reproduced and checked later.
What is a stratified sample?
A sample drawn separately within each group so every group is represented.
Can groups have different sizes?
Yes, set weights such as 2, 1 for a 2:1 split.
Is RAND() in Excel just as good?
It changes on every recalculation and cannot be reproduced; a seed can.
Is my list uploaded?
No, everything runs in your browser.
