Xerobit

Random Name Picker: Draw Names from a List

A random name picker selects one or more entries from a list you provide. Paste names separated by commas or new lines, choose how many to draw, and get an unbiased result instantly. Everything runs locally in your browser so nothing is uploaded anywhere.

One per line, or separated by commas.

Result

  1. Alice

How to use the random name picker / wheel

  1. Type or paste your list into the text area, using commas or new lines to separate each entry.
  2. Set the number of names you want the random picker to draw.
  3. Check the duplicates box only if the same person can win more than once.
  4. Click Pick to see your randomly selected results.

How the random selection works

This random name picker uses a cryptographically secure source of randomness provided by your browser. Under the hood it calls crypto.getRandomValues() rather than the older Math.random() function.

The difference matters when fairness counts. Math.random() relies on a pseudo-random algorithm that can produce subtle patterns over millions of calls. The Web Crypto API draws entropy from the operating system, giving each entry in your list a genuinely equal chance of being chosen.

When duplicates are disabled, the tool uses a partial Fisher-Yates shuffle. It picks one index at random, swaps it to the end of the active pool, then picks again from the remaining items. This guarantees every combination of winners is equally likely without any bias toward names at the top or bottom of the list.

Entering your list correctly

The parser accepts two formats: one name per line, or names separated by commas. You can mix both styles. Leading and trailing spaces around each name are trimmed automatically, and blank lines or empty comma slots are ignored.

You typeEntries detected
Alice
Bob
Charlie
3
Alice, Bob, Charlie3
Alice, Bob,
Charlie, Diana
4
Alice,,Bob,2 (empty slots skipped)

If you need to include a comma inside a single name, put that name on its own line instead of using comma separation.

Practical uses for a random choice generator

A random choice generator handles any situation where you need an unbiased decision from a fixed set of options. Teachers use it to call on students fairly without favouring the front row. Event organisers rely on it for door-prize raffles where transparency matters.

It also works for everyday decisions. Paste a few restaurant names and let the tool settle the debate about where to eat. Developers sometimes use it to assign code-review tasks or pick a speaker order for lightning talks.

For larger group activities, consider pairing this tool with a random team generator to split participants into balanced groups after selecting captains.

With or without replacement

The "Allow duplicates" checkbox controls whether the draw happens with or without replacement. When unchecked (the default), each name can appear only once in the results. This is the right setting for raffles, giveaways, or any scenario where one person should not win twice.

When checked, the same name can be drawn multiple times. Use this mode for simulations, repeated dice-like rolls mapped to custom labels, or situations where the pool should not shrink after each pick. If you request more picks than there are unique names while duplicates are off, the tool returns an error instead of silently changing the rules.

Worked examples

Each result below was produced by the same code the tool runs, so you can check your own numbers against them.

ExampleInputResult
Classroom prize drawNames or choices: Alice / Bob / Charlie / Diana / Eve / Frank; How many to pick: 1; Allow the same name to be picked more than once: noDiana
Raffle with three winnersNames or choices: Grace, Heidi, Ivan, Judy, Karl, Laura, Mike, Nina; How many to pick: 3; Allow the same name to be picked more than once: noMike, Heidi, Grace
Decide dinnerNames or choices: Pizza / Sushi / Tacos / Burgers; How many to pick: 1; Allow the same name to be picked more than once: noPizza

FAQ

Is this random name picker truly random?

It uses the Web Crypto API, which provides cryptographically secure randomness sourced from your operating system. Every entry has an exactly equal probability of being selected.

Can I pick more than one name at a time?

Yes. Set the "How many to pick" field to any number up to the size of your list. Without duplicates enabled, the maximum equals the total number of unique entries.

Are my names sent to a server?

No. All processing happens locally in your browser. Nothing you type is uploaded or stored anywhere.

What separators can I use between names?

You can separate entries with commas, new lines, or a combination of both. Extra spaces and blank entries are removed automatically.

Why would I enable the duplicates option?

Enable it when the same person or item should be eligible for multiple draws, such as rolling a custom die several times or running a simulation.

How many names can I enter?

There is no hard limit beyond your browser's memory. Lists of several thousand entries work smoothly.