Random tools · Free · Nothing uploaded

Random Picker and Random Tools

Short answer

A random picker chooses from a list so that every entry has the same chance. Type or paste names, one per line, and press Pick for a winner, Shuffle for a random order, or Make teams for groups whose sizes differ by at most one. Every draw comes from your browser’s cryptographic random source.

The random tools listed below flip coins and draw numbers the same way.

Ready to pick6 entries. Each has a 1 in 6 chance.Press Pick for a winner, or choose Shuffle or Teams.
    The odds for this draw
    FactValue
    Entries in the list6
    Chance a given entry is picked1 in 6 (16.7%)
    Possible results6

    Up to 10,000 entries. Picks come from crypto.getRandomValues with rejection sampling, and shuffles and teams from a Fisher–Yates shuffle, so every entry, order and split is equally likely. The list is kept in this browser; nothing is uploaded.

    Paste a class list, a raffle list or tonight’s players, choose what to do with it and press the button. The odds of the draw are shown under it, and the list stays in this browser for next time.

    A random pick gives every entry the same chance of being chosen, and a random shuffle makes every order of the list equally likely. Both are forms of randomization, the method a fair trial uses to put people into groups.

    • No sign-up
    • Nothing uploaded
    • No modulo bias
    • Every order equally likely

    Key facts

    The random tools at a glance
    DetailAnswer
    Random tools6: coin flip, yes or no generator, dice roller, 3d dice roller, yes or no tarot, random number generator
    The pickerPick names, shuffle the list or make teams, from up to 10,000 entries
    How a pick is madeA position drawn from crypto.getRandomValues with rejection sampling, so no entry is favoured
    How a shuffle is madeThe Fisher–Yates shuffle, each step drawn the same unbiased way
    TeamsShuffled, then dealt round like cards, so sizes differ by at most one
    DuplicatesEach line is its own entry: a name listed twice has twice the chance
    Where your list goesNowhere: it is kept in this browser and deleted by Clear the list

    How to pick a random name from a list

    Paste the list, choose what to do, press the button.

    1. Type or paste the list

      One name or item per line. Blank lines are ignored; a name typed twice counts twice.

    2. Choose what to do

      Pick names for winners, Shuffle the list for a running order, or Make teams.

    3. Set how many

      How many names to pick, or how many teams to make.

    4. Press the button

      The result appears under it with the odds of the draw. Press again for a fresh draw.

    5. Take winners off the list if you need to

      For prizes drawn one at a time, remove the names already picked before the next draw.

    6. Copy the result

      Names copy one per line, and teams under their numbers.

    Which random tool for which job

    Each tool answers a different kind of random question. All of them draw from the same cryptographic source and say how they do it.

    • A name from a class list

      Cold-calling without favourites: paste the register, pick one, and take the name off the list so everyone gets a turn.

    • Raffle winners

      Paste the entrants and pick three, or number the tickets and draw them with the random number generator, no repeats.

    • Teams for a game

      Paste the players and choose the number of teams; the sizes come out within one of each other.

    • A running order

      Speakers, acts or presentation slots: shuffle the list and read it from the top.

    • A yes or no

      One question, one fair answer: the yes or no generator adds an exact Maybe and best of 3.

    • Dice for a game

      Missing dice, or a d20 for a role-playing game: the dice roller rolls any dice and shows the odds of the total, and the d20 roller adds advantage and a target number; for fifth-edition play the DnD dice roller adds attacks, critical hits and death saves; to watch them tumble, the 3D dice roller throws up to six in 3D, and for a pair with doubles flagged, roll two dice; for a percentage chance or a table that runs to 100, the d100 roller.

    • Heads or tails

      Who kicks off, who serves, yes or no: the coin flip gives a fair 50/50 and the odds of every streak.

    • A random sample

      Forms, households or records to check: draw them without repeats. The guide to how many people to survey covers how many to draw.

    How a fair random pick and a fair shuffle work

    Two steps decide whether a random picker is fair: turning random bits into a position in the list, and turning positions into an order.

    A position. The browser’s random source gives 32 random bits at a time, a whole number from 0 to 4,294,967,295. Taking the remainder after dividing by the length of the list is the usual shortcut, and it slightly favours the first entries whenever the length does not divide 232 evenly. The picker throws away any draw at or above the largest multiple of the length and draws again, so every position has exactly the same chance. The random number generator explains this modulo bias with a worked table.

    An order. Shuffles and teams use the Fisher–Yates shuffle in the form Richard Durstenfeld published in 1964: from the last entry to the first, swap each with a randomly chosen entry at or before it. Each of the n! orders comes out equally often. Two shortcuts look similar and are not fair, as Wikipedia’s article on the shuffle sets out: swapping each entry with any position in the whole list, and sorting with a comparison that returns random answers, which it warns is “very likely to produce highly non-uniform distributions”.

    Three names shuffled by swapping each with any position: 27 equally likely runs, 6 orders
    OrderRuns that give itChanceA fair shuffle
    A B C414.8%16.7%
    A C B518.5%16.7%
    B A C518.5%16.7%
    B C A518.5%16.7%
    C A B414.8%16.7%
    C B A414.8%16.7%

    The naive swap makes 3 × 3 × 3 = 27 equally likely runs, and 27 cannot be shared evenly among 6 orders, so three orders come up 5 times in 27 and three only 4. The Fisher–Yates shuffle makes 3 × 2 × 1 = 6 runs, exactly one for each order.

    Random teams: sizes, and the chance two people end up together

    The picker shuffles the list, then deals it round the teams like cards. If the list does not divide evenly, the first teams get one extra each: 14 players in 3 teams gives 5, 5 and 4.

    The chance that two named people land in the same team, with equal teams of s from n people, is (s − 1) / (n − 1): the first person’s team has s − 1 places left among the n − 1 that the second person could take.

    Chance that two named people share a team
    PeopleTeamsTeam sizeChance together
    102544.4%
    123427.3%
    204521.1%
    305617.2%

    A fair split can still put friends together, and the table says how often to expect it. Pressing again until the teams look right makes them chosen rather than random; decide before the draw what you will accept.

    The odds of being picked

    Picking k names from n gives each name a chance of k/n. When names go back in the list between draws, the chance of being picked at least once grows slowly: with one name drawn from a class of 30 each week, a given pupil has been picked at least once after 10 weeks with probability 1 − (29/30)10, about 28.8%.

    One name drawn each time from a list of 30, names put back
    DrawsChance a given name is picked at least once
    13.3%
    515.6%
    1028.8%
    3063.8%
    6086.9%

    Taking the picked names off the list changes this: then every one of the 30 is picked exactly once in 30 draws. That is the fairer choice when everyone should get a turn, and Take the picked names off the list does it in one press.

    A hand shuffle is different: see how many riffle shuffles a hand-shuffled deck needs, with the exact figures for a 52-card and a 78-card deck.

    To pick a card rather than a name, the one card tarot draws one from a fair shuffle of all 78 tarot cards.

    This random picker or a picker wheel

    What this picker adds to a typical name picker or picker wheel.

    This random picker compared with a typical picker wheel
     This pickerA typical picker wheel
    How a pick is madecrypto.getRandomValues with rejection sampling, statedUsually not stated
    ShuffleFisher–Yates: every order equally likelyOften not offered
    Teams with balanced sizesYes, within one of each otherOften a separate tool
    Odds shownEach entry’s chance and the number of resultsNo
    Long listsUp to 10,000 entriesHard to read past a few dozen
    Your list leaves the browserNeverSome save lists to an account

    Frequently asked questions

    How do I pick a random name from a list?

    Type or paste the names, one per line, choose Pick names and press Pick. Each name has the same chance: 1 in the number of names. To pick several winners, set How many to pick; nobody is picked twice in one draw. To draw prizes one at a time, take the winners off the list before the next draw.

    Is this random picker really random?

    It uses crypto.getRandomValues, which the W3C Web Cryptography API requires to give cryptographically strong random values, with rejection sampling so no entry is favoured by rounding. That is unpredictable for any practical purpose. It is not a physical draw, so for a prize draw with legal rules, check what those rules require.

    How do I split a list into random teams?

    Choose Make teams, set the number of teams and press the button. The list is shuffled so every order is equally likely, then dealt round the teams like cards, so team sizes differ by at most one: 14 players in 3 teams gives 5, 5 and 4. Press again for a new split.

    What is the Fisher-Yates shuffle?

    A way to shuffle a list so that every order is equally likely. From the last position to the first, it swaps each entry with a randomly chosen one at or before it. Ronald Fisher and Frank Yates described it in 1938 and Richard Durstenfeld gave the computer version in 1964. Swapping each entry with any position instead is biased.

    Can the same name be picked twice?

    Not in one draw: picking three names gives three different entries. Across draws, yes, unless you take the winners off the list between them. A name typed twice in the list is two entries, so it has twice the chance, and the picker says when it finds a repeated name.

    How many ways can a list be shuffled?

    A list of n entries has n! orders: 6 for three names, 3,628,800 for ten, and about 2.4 × 1018 for twenty. The table under the picker gives the number for your list and the chance of one exact order. A fair shuffle makes every one of them equally likely.

    Is my list uploaded or saved?

    Nothing is uploaded: the picker runs in your browser. The list and settings are kept in this browser’s storage so a reload does not lose them, and Clear the list deletes them. The picker keeps working offline once the page has loaded.

    Pick from your list

    Free, no sign-up, and your list stays in your own browser.