List Randomiser — Shuffle, Weighted Pick & Team | LazyTools
Generator

List Randomiser — Shuffle, Weighted Pick & Team Assigner

Shuffle any list of names, words, items or numbers using the cryptographically secure Fisher-Yates algorithm. Furthermore, the Weighted Pick mode assigns each item a weight — items with higher weights are more likely to be selected, enabling probability-aware draws for prize competitions. The Team Assigner mode splits any list into N equal teams instantly — unique among free list randomisers. Copy or download any output as a text file.

Fisher-Yates shuffleWeighted pick (probability per item)Team Assigner (split into N groups)Numbering optionTXT export

How to use the List Randomiser

1

Choose a mode

Select Shuffle List to randomise the order of all items. Furthermore, select Weighted Pick to draw items with custom probability weighting. Select Assign Teams to divide the list into equal-sized groups. Each mode has its own input format.

2

Enter your list items

In Shuffle mode, enter one item per line. Furthermore, the list can contain any text — names, numbers, words, sentences or URLs. Items are preserved exactly as entered. Blank lines are ignored automatically.

3

For Weighted Pick, add weights

Enter items in the format "item:weight" — for example "Prize A:5" means Prize A is five times as likely as an item with weight 1. Furthermore, any item without a weight automatically gets a weight of 1. Weights can be decimals like 0.5 for a lower-than-normal probability.

4

For Team Assigner, set team count

Enter all participant names, one per line. Furthermore, set the number of teams and the optional team name prefix. The tool shuffles the names first, then distributes them into the specified number of teams as evenly as possible. The result shows each team with its assigned members.

5

Click Randomise and export

Click Randomise to run the operation. Furthermore, click Copy to copy the result to your clipboard or TXT to download it as a text file. Click Randomise again to generate a different result with the same input.

Three randomisation modes and their uses

Each mode serves a different randomisation need. Furthermore, choosing the right mode ensures the output matches the fairness or probability requirements of the task.

ModeInput formatBest for
ShuffleOne item per lineRandomise presentation order, seating plans, playlist order
Weighted Pickitem:weight per linePrize draws with tiered prizes, probability simulations
Team AssignerOne name per line + team countClassroom groups, sports teams, project assignments

How weighted randomisation works

Weighted randomisation assigns each item a probability proportional to its weight divided by the total weight of all items. Furthermore, if three prizes have weights 1, 3 and 6, the total weight is 10. The first prize has a 10% chance, the second a 30% chance and the third a 60% chance. Moreover, weights can be any positive number including decimals — which allows fine-grained probability control for complex prize structures.

The Fisher-Yates shuffle algorithm

The Fisher-Yates algorithm produces a perfectly uniform random permutation — every possible ordering of the list is equally likely. Furthermore, simpler naive shuffles (like picking a random position for each element) produce biased results where some orderings are more likely than others.

For i from n−1 down to 1: swap arr[i] with arr[j], where j = random(0, i)
n = number of items in the list
random(0, i) = cryptographically random integer from 0 to i inclusive
Result = every permutation of n items equally likely (1/n! probability each)

Team assignment algorithm

The Team Assigner shuffles the full list first using Fisher-Yates, then assigns members to teams by position — person 1 goes to Team 1, person 2 to Team 2 and so on, cycling back to Team 1 when all teams receive one person. Furthermore, this round-robin distribution after a random shuffle produces teams that are balanced in size and randomly composed. Moreover, no team can be significantly larger than another — the size difference between any two teams is at most one person.

Worked example: prize draw with weighted items

An online retailer runs a competition with three prize tiers. They want the main prize drawn rarely, the consolation prize drawn often. Setting up Weighted Pick:

ItemWeightEffective probability
Jackpot: £500 voucher110% (1 ÷ 10 total)
Second prize: £50 voucher330%
Consolation: £5 voucher660%
Setting count to 100 and running 100 draws simulates the full competition distribution. Furthermore, over a large number of draws the jackpot appears approximately 10 times, the second prize approximately 30 times and the consolation approximately 60 times — matching the intended probability structure. Moreover, each individual draw is independent and unpredictable.

What is list randomisation?

List randomisation rearranges items so chance determines their order rather than any original pattern. Furthermore, it removes human bias from decisions about order, selection and assignment. From seating plans to prize draws, randomisation ensures fairness that deliberate human arrangement fails to match. Moreover, a mathematically correct shuffle — like Fisher-Yates — guarantees that every possible ordering is equally likely.

Weighted randomisation extends basic shuffling — different items can carry different probability weights. Furthermore, this is essential for prize draws where top prizes are intentionally rare. It also models real-world probability distributions in educational and simulation contexts. Moreover, recommendation systems, load balancing and A/B testing all use the weighted approach to control how often each option is selected.

Why team assignment benefits from randomisation

Human team assignment is notoriously biased — people naturally group friends together or consciously separate adversaries. Furthermore, random team assignment eliminates these biases and creates groups that reflect the full range of skills, personalities and backgrounds present in a class or organisation. Moreover, randomly assigned teams consistently produce better cross-functional outcomes in educational research — mixing students who would not naturally work together creates new collaborative relationships.

Why fair randomisation matters

A poorly implemented shuffle produces biased results where some orderings are significantly more likely than others. Furthermore, many simple randomisation approaches — like sorting by a random key generated once per item — introduce systematic bias. The Fisher-Yates algorithm used in this tool is mathematically proven to produce a uniform distribution. Moreover, this fairness is verifiable — the tool uses cryptographic randomness rather than a seeded pseudo-random function.

Teachers use list randomisers for classroom activities — randomising the order students present, pick topics or answer questions. Furthermore, the Team Assigner is particularly valuable because manually dividing a class into groups takes significant time and invariably reflects the teacher's conscious or unconscious biases. Moreover, educational psychology research shows randomly assigned groups produce better engagement and learning outcomes because they prevent the formation of insular social clusters.

List randomisation in A/B testing

Software teams use list randomisation to assign users to test variants. Furthermore, random assignment ensures the control and treatment groups have similar characteristics — any observed difference then reflects the variant rather than the group composition. Moreover, weighted randomisation allows traffic splitting — sending 90% of users to the existing experience and 10% to the new variant — a standard practice in product development.

Frequently asked questions

Yes — the shuffle uses the Fisher-Yates algorithm with cryptographically secure randomness from crypto.getRandomValues(). Furthermore, every possible ordering is equally likely — no permutation has higher probability than another. This is the same algorithm used in cryptographic applications, game servers and lottery systems that require provably fair randomisation. Moreover, unlike Math.random()-based shuffles, crypto-sourced randomness is unpredictable even with knowledge of prior outputs.
Decimal weights allow fine-grained probability control. Furthermore, if you have items with weights 0.5, 1 and 2, the total is 3.5. The first item has 0.5/3.5 = 14.3% probability, the second has 28.6% and the third has 57.1%. Use decimal weights when you need a probability that is a fraction of the baseline. Moreover, you can think of weights as relative frequencies — an item with weight 5 is expected to be picked five times for every one pick of a weight-1 item over many draws.
The Shuffle mode randomises the full order of all items. Furthermore, if you want to draw multiple items without replacement, the shuffled list gives you the order — the first item is the first pick, the second is the second pick and so on. The Remove Picked Items option in future updates will support sequential drawing from the shuffled result. Moreover, in Weighted Pick mode, you can set the count to any number to draw multiple winners from the weighted pool.
The Team Assigner distributes members as evenly as possible. Furthermore, if 7 people are split into 3 teams, the distribution is 3, 2, 2 — one team has one extra member. The first teams receive the extra members systematically. Moreover, which team receives the extra member is randomised by the initial shuffle — no team is consistently larger than others across multiple uses of the tool.
Yes — the tool is designed for exactly this type of use. Furthermore, enter student names in the Shuffle mode and click Randomise to determine presentation order, question order or activity sequence. Use Team Assigner for project group formation. Moreover, the Weighted Pick mode supports activities where some options are deliberately less common — like rare bonus questions or prize categories with different frequency requirements.

Related tools

Random Name Picker

Pick random names with a spin wheel animation. Furthermore, multi-winner and team assignment modes are included.

Random Generator Suite

Generate random numbers in 7 formats. Furthermore, Gaussian distribution mode is unique among free tools.

Random Name Generator

Generate realistic names from 20+ nationalities. Furthermore, Full Profile mode adds age, job and company.

Sequence Generator

Generate ordered sequences for structured tasks. Furthermore, an SVG chart shows the sequence shape instantly.

Password Generator

Generate cryptographically secure passwords. Furthermore, entropy display shows the exact security level in bits.

SWOT Analysis Creator

Create structured SWOT analyses with AI assist. Furthermore, auto-generates SO/WO/ST/WT action strategies.

Rate this tool

4.1
out of 5
382 ratings
5 ★
59%
4 ★
19%
3 ★
7%
2 ★
2%
1 ★
13%
How useful was this tool?