Random Name Picker
Paste a list of names, then pick one or more winners at random, shuffle the whole list, or split it into teams. Every draw is unbiased.
No draw yet
Add at least one item to the list.
0 items
Draws are made in your browser with crypto.getRandomValues. Your list is not sent to our server and is gone when you close or reload the page.
01 · Definition
What is a random name picker?
A random name picker takes a list of names or other items and selects from it by chance, so that every item has the same probability of being chosen. This one draws winners, shuffles a list into a random order and deals a list into teams, using the browser's cryptographic random number source.
02 · Overview
How the Random Name Picker works
Type or paste a list, one item per line or separated by commas. The picker counts the items, flags duplicates and can remove them. Pick any number of winners, with the option to take each winner out of the list before the next draw. Shuffle the list into a random order. Or split it into a set number of teams, or into teams with a maximum size; team sizes never differ by more than one and the tool says where the remainder went. Draws use a Fisher-Yates shuffle fed by crypto.getRandomValues with rejection sampling. It is a list picker, not a spinning wheel. The list stays in your browser.
03 · Guide
How the draw works
Every mode is the same operation: a Fisher-Yates shuffle. The picker walks the list from the first position and swaps each position with one chosen uniformly from the positions not yet fixed. Winners are the first entries of the shuffled order, a shuffle is the whole order, and teams are consecutive slices of it. When you draw k winners from n items, each item wins with probability k/n.
Each swap needs a random whole number below the count of remaining items. The picker takes 32 random bits from crypto.getRandomValues and throws away any draw that falls in the uneven tail of the range (rejection sampling). The shortcut of taking a remainder is slightly unfair: 2^32 divided by 6 leaves a remainder of 4, so four of six values would each come up once more often than the other two in every 4,294,967,296 draws.
The draw is decided the moment you press the button. The short fade-in that follows is decoration; it is skipped when your system asks for reduced motion.
04 · Guide
How uneven team sizes are handled
When the list does not divide evenly, team sizes differ by one at most. With a set number of teams, the leftover items go one each to the first teams. With a team size, the picker makes the fewest teams that keep every team at or below that size, then evens them out, so 10 items with a largest size of 4 become teams of 4, 3 and 3 rather than 4, 4 and 2. Which people land in the larger teams is random, because the list is shuffled before it is dealt.
The table was produced by running the tool's own team-size function on each input.
| Items | Setting | Team sizes |
|---|---|---|
| 10 | 3 teams | 4, 3, 3 |
| 13 | 5 teams | 3, 3, 3, 2, 2 |
| 23 | 4 teams | 6, 6, 6, 5 |
| 7 | Largest size 2 | 2, 2, 2, 1 |
| 10 | Largest size 4 | 4, 3, 3 |
| 11 | Largest size 5 | 4, 4, 3 |
| 12 | Largest size 5 | 4, 4, 4 |
05 · Use cases
When to use the Random Name Picker
- 01
Draw a giveaway or raffle winner from a list of entrants
- 02
Choose who presents next, taking each person out of the list once picked
- 03
Split a class or a workshop into groups of a set size
- 04
Put a list of tasks, songs or speakers into a random order
06 · Examples
Random Name Picker examples
10 names, pick 3 winners
ex 01Hiro, Chloe, Jonas
Three different entries, in the order they were drawn. Each of the 10 names had a 3 in 10 chance.
10 names, 3 teams
ex 02Team 1: Elena, Chloe, Ben, Grace Team 2: Farid, Amara, Imani Team 3: Jonas, Dev, Hiro
10 ÷ 3 leaves 1 over, so one team has 4 members and two teams have 3.
red, green, blue, yellow, purple (shuffle)
ex 03purple, yellow, red, blue, green
A comma-separated list with no line breaks is split on the commas. One of the 120 possible orders of five items.
07 · FAQ
Name Picker: frequently asked questions
Is the draw fair?
Can the same name win twice?
How are duplicates handled?
What happens when the teams cannot be equal?
Is my list sent anywhere?
How many items can the list hold?
Is there a spinning wheel?
08 · Reference
Specs and further reading
These are the primary sources this tool follows. Where a specification defines the behaviour, we link the specification, not a summary of it.
- Fisher-Yates shuffle
NIST Dictionary of Algorithms and Data Structures. Definition of the shuffle used for every draw, with citations to Fisher and Yates (1938), Durstenfeld (1964) and Knuth's Algorithm 3.4.2P.
- Web Cryptography API: the getRandomValues method
W3C. The specification of the browser's source of cryptographically strong random values, which supplies every random number in a draw.
- Crypto.getRandomValues()
MDN Web Docs. Usage notes and browser support for the same method.
09 · More
Tools that pair with Name Picker
Random Number Generator
Generate random integers or decimals between any two numbers, up to 10,000 at a time. Allow or forbid repeats, and add a seed for a repeatable sequence.
Dice Roller
Roll d4, d6, d8, d10, d12, d20, d100 or a custom die, up to 100 at once, with a modifier. Type dice notation such as 3d6+2 or 2d20kh1.
Coin Flip
Flip a coin online for heads or tails, or flip up to 10,000 at once and see the counts, percentages, full sequence and longest streak.
Random Word Generator
Generate 1 to 50 random English words from a list of 7,776 common words. Filter by length (3 to 9 letters) and by first letter.