List Randomizer
| Method | Fair? | Known drift |
|---|---|---|
| sort(random) one-liner | no | first item stays put ~37% in Chrome (fair: 33.3%) |
| Fisher-Yates (this tool) | yes | every order exactly 1-in-n! |
| server draw services | yes | fair, but your list leaves the browser and may queue |
Paste one item per line, hit Shuffle, and the whole list is reordered with a Fisher-Yates shuffle driven by your browser's crypto random source - the same algorithm casinos-grade PRNG discussions recommend, and the one this site uses for its coin flip and dice roller. Set 'draw top N' to 3 and the first three lines highlight as winners: one tool covers raffle draws, random seating, presentation order and who-goes-first.
One habit to unlearn: sorting an array with a random comparator (the sort(() => Math.random() - 0.5) one-liner) does not produce a fair shuffle. Measured in Chrome, it leaves the first item near its original position about 37% of the time instead of the fair 33% - small bias, real bias. The Fisher-Yates pass used here gives every permutation exactly the same 1-in-n! probability, and it runs locally: no paste leaves your browser, unlike draw services that queue your list on their server.
How to use
- Paste your list - one entry per line, order does not matter.
- Optionally set draw top N: leave 0 to shuffle everything, or set 3 to highlight three winners.
- Hit Shuffle as many times as you like, then Copy list to take the result anywhere.
Frequently asked questions
How do I pick raffle winners from a list?
Set draw top N to the number of winners, shuffle once, and the first N lines are highlighted as the draw result - the rest of the list keeps its shuffled order so you have instant alternates if a winner declines. For a re-draw, just hit Shuffle again; each pass is an independent, uniformly random permutation.
Is this randomizer fair enough for a real contest?
The shuffle is Fisher-Yates driven by crypto.getRandomValues - the browser's cryptographic random source, the same primitive behind key generation - so every ordering is equally likely and neither the order you paste nor your hardware biases the draw. What it cannot fix is process trust: for a contest where entrants must believe the draw, screen-record the shuffle or draw live.
Can I shuffle numbers, tasks or songs?
Anything you can put on a line gets shuffled: names, numbers, song lists, chore rosters, study questions. The tool treats each line as an opaque item and never reorders inside a line, so '3. Door prizes' stays exactly as you typed it.
What is the difference between this and the team generator?
The team generator splits a list into N balanced groups - everyone gets placed, groups stay roughly equal. This tool orders the whole list - every item gets a rank, and drawing top N picks winners. Use the team generator for dividing labor, this one for ranking and drawing.