RandALL

List randomizer

Paste a list and get it back in a fair random order.

The order

  1. Iris
  2. Jae
  3. Kamal
  4. Lena
  5. Marco
  6. Nadia
  7. Oscar

First up

?

Tap Shuffle, or press Space

Your list

7 items

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

  1. Type or paste your list, one item per row, or a whole column from a spreadsheet.
  2. Tap Shuffle, or press Space. The rows fly to their new places and the places count in from the top.
  3. Want suspense? Turn on Reveal one by one, and the order lands face down for you to turn over.
  4. Tap Copy for the order as a numbered list, or Share to send it.
Put this order on your own site

Paste this where you want it to appear: a class page, a blog post, a stream overlay. It carries the list that is on this page right now. It is free to use, with the link under it left in place.

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.

ItemsPossible ordersChance of going first
2250%
3633.3%
42425%
512020%
672016.7%
840,32012.5%
103,628,80010%
136,227,020,8007.7%
20about 2.43 × 10185%
30about 2.65 × 10323.3%
52 (a deck of cards)about 8.07 × 10671.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.

  1. 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.
  2. 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.
  3. 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.
  4. 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.

How every RandALL tool picks

All 19 web 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.

RandALL app icon

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 Store

iPhone only for now. These web tools are yours to keep using.

QR code that opens RandALL on the App Store
Scan with your iPhone
All tools

Lists

Spin the WheelYour list on a wheel Random Name PickerDraw a few names List RandomizerWho goes first? Bracket GeneratorLast one standing Team GeneratorSplit a list into groups

Games

Coin FlipHeads or tails? Dice RollerAny dice, any sides Random Number GeneratorPick a number, any range Random Card GeneratorDraw a card Lottery Number GeneratorPick X of Y Rock Paper ScissorsRock, paper or scissors Spin the BottleRandom direction Tarot Card ReadingOne card, or three

Generators

Random Country GeneratorSpin the globe Random Color GeneratorA color and its palette Random Date GeneratorRandom date and time Fortune CookieOpen a cookie Random TimerNobody knows when it ends Random Animal GeneratorRandom species
RandALL for iPhone25 tools in one app. Works offline.