Everyday tool

Random Name Picker

Paste one name per line, choose how many to pick and draw random winners on your device.

Runs in your browser. No upload.

Winners

    About this tool

    Random Name Picker made simple.

    Each non-empty line is treated as one entry, so duplicate names remain separate chances. Winner selection uses your browser’s cryptographic random source and can draw without repeats; the list never leaves your device.

    Guide

    Using Random Name Picker

    This page draws names at random from a list you paste in. Put one entry on each line, say how many winners you want, and press Pick names. Each line counts as one entry, so it also works for numbers, prizes or chores. Choices come from your browser's secure random generator, and the list stays on your device. It suits classroom turns, giveaways from a list you already hold and team tasks. It keeps no history and does not check that entries are real people.

    How to use it

    1. Paste or type your entries into the Names box, one per line. Blank lines are skipped, and spaces at the start or end of a line are trimmed.
    2. Set Number of picks. The code accepts whole numbers from 1 to 10,000.
    3. Leave No repeat winners ticked if each line may win only once in this draw. Untick it if the same line may come up again.
    4. Press Pick names. The winners appear below as a numbered list, in the order they were drawn.
    5. Press Pick names again for a brand new draw, or press Clear to empty both the list and the winners.

    Worked examples

    Three different winners from five names

    You enter
    Names
    Ana, Ben, Cleo, Dan, Eva (one per line)
    Number of picks
    3
    No repeat winners
    yes
    You get
    Winners
    three different names from the list, in random order

    With no repeats the tool shuffles only as far as it needs and takes the first three. A check of the same function with five names and five picks returned five different names.

    Run through the tool’s own code.

    Asking for more winners than names

    You enter
    Names
    Ana, Ben, Cleo, Dan, Eva (one per line)
    Number of picks
    6
    No repeat winners
    yes
    You get
    Status
    Check your input and try again.

    Six different winners cannot come from five lines, so the draw is refused. The page shows this general line rather than a detailed reason. Untick No repeat winners to allow six picks.

    Run through the tool’s own code.

    Repeats allowed

    You enter
    Names
    Ana, Ben, Cleo (one per line)
    Number of picks
    8
    No repeat winners
    no
    You get
    Winners
    eight names, each one of Ana, Ben or Cleo, with repeats

    Each pick is an independent draw from the full list, so eight picks from three names must repeat some of them. The function returned eight entries, all taken from the list.

    Run through the tool’s own code.

    The same name typed twice

    You enter
    Names
    Sam, Sam, Lee (one per line)
    Number of picks
    1
    No repeat winners
    yes
    You get
    Sam wins
    about 2 in 3 draws
    Lee wins
    about 1 in 3 draws

    Each line is its own entry, so Sam holds two of three chances. In 30,000 test draws Sam won 19,837 times. With two picks and no repeats, Sam took both places in 669 of 2,000 draws.

    Run through the tool’s own code.

    When it helps

    • Choose which student answers the next question in class.
    • Draw a winner from a list of entrants you collected yourself.
    • Hand out chores, desks or seats without anyone arguing about fairness.
    • Pick a restaurant, film or game from a short list of options.
    • Set a speaking order for a meeting by drawing every name once.

    Limits to keep in mind

    • Number of picks must be a whole number from 1 to 10,000. With No repeat winners on, it cannot be larger than the number of lines.
    • Every non-empty line is a separate entry. Identical lines are separate chances and can both win, even with No repeat winners on, because the tool compares lines, not people.
    • Only line breaks split entries. A line such as Ana, Ben is one entry, not two.
    • Results are not saved. Clear or a page reload removes the winners, and the tool offers no proof of the draw.
    • Your browser must support secure random numbers. If it does not, the tool stops with an error instead of falling back to a weaker source.

    Tips

    • Delete repeated names first if each person should have exactly one chance.
    • Show the full list on screen before you press the button, so everyone sees what was in the draw.
    • Draw all winners in one go with No repeat winners ticked. Separate presses are independent draws and can repeat a name.
    • Copy the winners into your notes right away, since they disappear on Clear or reload.

    Sources

    Common questions

    About Random Name Picker.

    How do I pick a random name from a list?

    Paste one name per line into the Names box, leave Number of picks at 1 and press Pick names. The chosen name appears in the numbered list under the buttons. Press the button again for a new draw.

    Is the pick truly random?

    It uses the browser's secure random source, called crypto.getRandomValues. The code throws away values that would favour some lines, so each line is equally likely. It is stronger than Math.random, but it is not a certified lottery system.

    Can the same name win twice?

    Not inside one draw while No repeat winners is ticked, unless that name appears on two lines. Untick the box and a line can win more than once. Two separate presses of Pick names are always independent.

    What happens if I ask for more winners than names?

    With No repeat winners ticked the tool refuses, because it cannot find that many different lines. You see a general message asking you to check your input. Untick the box to allow repeats, or lower the number.

    Is my list stored or sent anywhere?

    The names are read from the box and processed on your device. The code does not save them or send them to a server, and Clear empties the box. Closing the tab ends the session.

    How many names can I paste?

    The tool sets no cap on lines, so the practical limit is your browser and device. Number of picks is limited to 10,000. A very long list simply takes more memory, and typical class or team lists are no problem.

    Will two presses of the button give the same result?

    Usually not. Each press starts a fresh random draw from the whole list, and nothing from the earlier draw is kept. With a short list you may see the same name twice by chance.

    Can I use it for a giveaway?

    It can pick from a list you built, such as entrants you have already checked. Giveaways often have legal and platform rules, so follow those, keep your own record of the list and the result, and tell entrants how the draw works.

    Why are my comma-separated names treated as one entry?

    Only line breaks separate entries. If you paste Ana, Ben, Cleo on a single line, the tool sees one entry. Put each name on its own line, or use a text editor to replace the commas with line breaks first.

    Can the same name appear more than once?

    Repeated lines are separate entries and therefore separate chances. Enable no repeats to prevent a picked line from winning again in the same draw.