Skip to content
DeviceCheckHub

List Randomizer

Paste a list and this list shuffler puts it in a fair random order, or picks a few items at random for a winner, a turn order or a quick decision.

Enter your items, one per line, and press Randomize (or Ctrl+Enter).

    How to use the list randomizer

    1. Type or paste your items into the box, one per line. A column copied from a spreadsheet pastes as one item per line. The count next to the label shows how many items there are and how many are repeated.
    2. If your items are separated by commas, as in “red, green, blue”, choose Lines and commas under Split items by. Choose Lines, commas, spaces to treat every word as its own item.
    3. Leave Shuffle the whole list to put every item in a random order, or choose Pick some at random and set how many you need.
    4. Press Randomize. The new order appears as a numbered list, with the date and time of the draw.
    5. Use Copy or Download .txt to keep the result, in the format chosen under Copy and download as. Press Randomize again for a completely new draw.

    How the shuffle works

    The randomizer uses the Fisher–Yates shuffle, the standard method for putting a list in random order. It walks from the last item to the first, and swaps each one with an item chosen at random from the ones not yet placed, including itself. Done this way, every possible order of the list comes out with exactly the same probability.

    The random choices come from your browser’s cryptographic random number generator, the same source used to create encryption keys, rather than the quicker generator behind many simple web tools. Each choice is also made without the small bias that appears when a random number is cut down to a range with the remainder operator, so the first item in your list is no more likely to end up first than any other.

    A popular shortcut, sorting a list with a comparison that returns a random answer, does not give a fair shuffle: depending on the sorting method, some orders come out far more often than others. That is why this tool shuffles with Fisher–Yates instead.

    How many ways can a list be ordered?

    The number of possible orders grows very fast. Three items can be arranged in 6 ways, five in 120, and ten in 3,628,800. Twenty items have about 2.43 × 1018 orders, and a deck of 52 cards about 8.07 × 1067, which is why a well-shuffled deck is almost certainly in an order nobody has seen before. Mathematicians write the number of orders of n items as n! (n factorial): 1 × 2 × 3 × … × n.

    After each draw the status line shows how many orders, or how many picks in order, were possible, so you can see how unlikely it is that two draws match.

    Picking winners from a list

    For a giveaway, a raffle or a prize draw, choose Pick some at random and enter the number of winners. The items are drawn without replacement, the way names are drawn from a hat, so one entry can’t win twice in the same draw. Picking one winner from 50 entries gives each entry a 1 in 50 chance; picking 3 gives each a 3 in 50 chance.

    Repeated entries are kept unless you tick Remove repeats. That is useful when people earn extra entries: list a name twice and it has twice the chance. If every person should have one chance only, tick the box and repeats are removed, ignoring differences in capital letters and spacing.

    To make a public draw easy to trust, announce the rules first, show the full list on screen, and press Randomize while people watch or while recording the screen. The date and time shown with the result help when you post the outcome later.

    Randomizing a list in Excel or Google Sheets

    In Excel for Microsoft 365 or Excel 2021, a list in A2:A11 can be shuffled with =SORTBY(A2:A11, RANDARRAY(ROWS(A2:A11))). In older versions, add a helper column with =RAND() next to the list and sort both columns by it. In Google Sheets, =SORT(A2:A11, RANDARRAY(ROWS(A2:A11)), TRUE) does the same.

    Spreadsheet random functions recalculate whenever the sheet changes, so the order keeps moving unless you copy the result and use Paste values. Pasting the column here and copying the shuffled list back is often quicker, and the order stays put.

    Ways to use a random list

    To split the list into groups instead, use the random team generator. To pick one winner with a spinning wheel everyone can watch, use spin the wheel, and for random numbers in a range, the random number generator.

    Tips

    Your list stays on your device

    The list is shuffled in your browser and is never uploaded to this website or anyone else. It is saved on this device, with your settings, so it is still there next time; clear the box to remove it. That makes the randomizer safe to use with student names, customer entries or anything else you would rather keep private.

    Frequently asked questions

    Is the list randomizer really random?

    Yes. The list is shuffled with the Fisher–Yates method using your browser’s cryptographic random number generator, so every possible order of the list has exactly the same chance. Each press of Randomize is a new, independent draw.

    How do I pick a random winner from a list?

    Choose “Pick some at random”, set how many to pick, and press Randomize. Every item has the same chance, and nobody can be picked twice in the same draw. The first item picked can be the winner and the next ones the runners-up.

    What happens to repeated items?

    They stay in the list unless you tick “Remove repeats”, so an entry that appears twice gets two chances, which is what you want when people earned extra entries. With the box ticked, repeats are matched ignoring capital letters and extra spaces, and only the first one is kept.

    How long can the list be?

    Up to 10,000 items. Items can be names, numbers, words, links or whole sentences, one per line, or separated by commas if you choose that option.

    Can I share the random list?

    Copy the result in lines, a numbered list or comma-separated text, or download it in a text file. Copy link makes a link that opens the same starting list and options for someone else, who can then run their own draw.

    Is my list sent anywhere?

    No. The list is shuffled in your browser and is never uploaded. It is saved on this device so it is still there next time, and a shared link keeps the list after the # sign, which browsers never send to a server.

    Last updated · About DeviceCheckHub