List randomizer
Paste a list and get it back in a fair random order.
The order
- Iris
- Jae
- Kamal
- Lena
- Marco
- Nadia
- Oscar
It takes two to make an order. Add at least two items to the list, or bring some back.
First up
?
Tap Shuffle, or press Space
Your list
Saved in this browser only. The web keeps 3 lists.
That is 3 lists, the most the web keeps. RandALL on iPhone keeps as many as you like, plus 10 ready-made ones.
Get RandALL- Free, no sign-up
- The result is drawn before anything moves
- Nothing leaves your browser
What it does
This list randomizer puts any list in a random order. Type or paste your items, tap Shuffle, and the rows fly to their new places. Every possible order is equally likely: your browser’s secure random generator draws the whole order before anything moves. Turn on Reveal one by one to uncover it from last place to first.
How to use it
- Type or paste your list, one item per row, or a whole column from a spreadsheet.
- Tap Shuffle, or press Space. The rows fly to their new places and the places count in from the top.
- Want suspense? Turn on Reveal one by one, and the order lands face down for you to turn over.
- Tap Copy for the order as a numbered list, or Share to send it.
What people use it for
Speaking order
Who talks first at standup, in a debate or in the wedding toasts. Shuffle once and go down the list.
Presentation order
Paste the class or the team and shuffle in front of everyone. Nobody can say they were put last on purpose.
A running order for a playlist
Paste the songs for the party, shuffle, and play them from the top. Copy the order into your notes so the DJ can follow it.
Chores
Shuffle the names once a week and hand out the jobs from the top: first name takes the bins, second the bathroom.
Turn order
Who plays first, second and third. The who goes first page opens with player names and reveals the order one by one.
Exams and interviews
A fair order for oral exams, interviews or auditions, decided in the open where everyone can watch it.
How many orders can a list have?
A list of n items can be put in n! (n factorial) different orders: n choices for first place, n - 1 for second, and so on down to 1. The number grows fast. Shuffle 10 names and there are already 3,628,800 orders; writing them all out at one a second would take 42 days. Each item still has exactly a 1 in n chance of any one place.
| Items | Possible orders | Chance of going first |
|---|---|---|
| 2 | 2 | 50% |
| 3 | 6 | 33.3% |
| 4 | 24 | 25% |
| 5 | 120 | 20% |
| 6 | 720 | 16.7% |
| 8 | 40,320 | 12.5% |
| 10 | 3,628,800 | 10% |
| 13 | 6,227,020,800 | 7.7% |
| 20 | about 2.43 × 1018 | 5% |
| 30 | about 2.65 × 1032 | 3.3% |
| 52 (a deck of cards) | about 8.07 × 1067 | 1.9% |
A shuffled deck of 52 cards has so many possible orders that two fair shuffles practically never match. That is why a good shuffle has to give every one of them the same chance, rather than favour a few.
Why the way you shuffle matters
A common way to shuffle in code is to walk down the list and swap each item with any item at random. It looks fair, but it is not. With 3 items it makes 27 equally likely runs, and 27 does not split evenly over the 6 possible orders: three orders come up 5 times in 27 (18.5%) and three only 4 times (14.8%), instead of 16.7% each. Giving every item a random number and sorting by it works, but sorting with a comparison that answers at random does not, and how far off it is depends on the sort.
This page uses the Fisher-Yates shuffle, which makes exactly n! runs, one for each order, so every order is equally likely.
How it shuffles
The same way RandALL does on iPhone: the whole order first, the show after.
- The order is drawn first. With the Fisher-Yates shuffle: last place goes to an item picked at random from all of them, the place above it to one picked from the items left, and so on up to first place.
- Every pick is fair. Each pick uses
crypto.getRandomValues, the random source browsers use for security, with rejection sampling so no item gets a rounding edge. - So every order is equally likely. A list of n items has n choices for last place, n - 1 for the next and so on: n! ways through, exactly one for each order.
- Then the show. The rows fly to places that were already drawn, and Reveal one by one only turns them over. Rows sitting out get no place, and weights from the wheel do not count here: in an order, everyone is equal.
Tested. In 125,000 test shuffles of 5 items, every item landed in every place equally often (chi-square test), all 24 orders of 4 items came up equally often, and rows sitting out never got a place.
More random tools
Questions
How do I randomize a list?
Type the items into the list, or paste them all at once: one per line, a single line with commas, or a column copied from a spreadsheet. Tap Shuffle, then Copy to paste the numbered order anywhere.
Is the list randomizer really random?
Yes. The order is drawn with the Fisher-Yates shuffle on your browser’s cryptographic random generator, before the rows move. Every item has the same chance of every place, and every order is as likely as any other.
Can I reveal the order one at a time?
Yes. Turn on Reveal one by one before you shuffle. The order lands face down, and each tap turns over the next place, from last to first, after a short drum roll. Reveal all turns the rest over in one go.
How many items can I shuffle?
Up to 200. A long list scrolls inside the box, and Copy gives you the whole order as a numbered list.
How do I save or share the shuffled order?
Tap Copy for a numbered list to paste into a chat or a document, or Share to send a link that opens with the same order. My lists keeps up to 3 lists in this browser.
What is the difference between this and a name picker?
A name picker draws one name or a few; a list randomizer puts everyone in order. For one winner use the name picker or the wheel, and to split people into groups the team generator.
Is my list sent anywhere?
No. The list stays in this browser and the shuffle runs on your device. A shared link carries the list after the #, a part of the address browsers never send to a server.
Take it with you
RandALL for iPhone has 25 tools in one app: wheels and teams, real 3D dice, random alarms, Finger Picker and more. It works offline.
Your first 24 hours are free, with every tool. After that, subscribe or buy the lifetime unlock once. Family Sharing included.
Get it on the App StoreiPhone only for now. These web tools are yours to keep using.
