Works on this device
Random Name Picker
Type or paste your names, one on each line, and choose Pick. The tool draws one name at random, or as many as you ask for. It can also mix the whole list or run a gift exchange draw. The draw is made on your device.
Enter your names
Check these values
This is off unless you turn it on. Saved entries stay in this browser only. Untick the box to delete them.
The draw is made in this browser. The names are not sent to a server.
The picked name will show here
Choose Pick to draw.
Your draw
How it was worked out
How to pick a name
- Type or paste the names in the box, one on each line. You can also type them on one line with commas between them.
- Enter how many names you want, for example 1 for one student or 3 for three winners.
- Choose Pick. The names show in the order drawn. Choose Pick again for a new draw.
- To draw again without the people already picked, choose Copy names and paste them into Names already picked (leave these out).
- Use Download CSV or Print to keep a record of the draw.
What each option does
- Pick names from my list draws one or more names. With No repeats ticked, a picked name is taken out, so nobody is drawn twice in one draw.
- Put all names in a random order mixes the whole list. Use it for the order of turns or talks, or like names drawn from a hat one after the other.
- Gift exchange draw (Secret Santa) gives each person one other person to buy a gift for. Nobody gets their own name. With One circle, no two people give to each other.
- Count a name that is in the list twice only once, under More options, removes repeated lines before the draw. Capital and small letters count as the same.
- Save my entries on this device keeps your list in this browser, for example a class list. It is off unless you turn it on.
What fair means here
Every line of your list has the same chance. With 8 names, each name has a chance of 1 in 8 on the first pick. A draw does not depend on the draws before it. A person who was not picked for a long time is not due, and a person picked last time can be picked again.
A name on two lines has two chances, like a person with two raffle tickets. The page tells you when this happens.
The tool asks your browser for random bytes from its secure generator (the Web Crypto function crypto.getRandomValues). Values that do not fit the size of your list are thrown away and drawn again, so no line is favoured by the method. The tool never uses Math.random.
For a gift exchange the tool mixes the list. If anybody has their own name, it throws the whole draw away and mixes again. This keeps every valid draw equally likely.
Worked examples
You have 8 names and ask for 3 winners with No repeats. The first winner is one of 8, the second one of the 7 left, the third one of 6. That gives 8 × 7 × 6 = 336 results when the order counts, or 56 different groups of three winners. Each has the same chance.
A gift exchange with 4 people has 9 possible draws in which nobody has their own name. Each of them has a chance of 1 in 9. With One circle there are 6 possible circles, each with a chance of 1 in 6.
Limits you should know
- A list can hold up to 2,000 names, and one name can have up to 100 characters. You can draw up to 1,000 names at a time. A gift exchange can have 2 to 500 people.
- The result is shown as text. There is no spinning wheel, no hat or slot machine animation and no sound.
- The tool cannot change your list for you after a draw. To skip the picked people next time, copy them into the box Names already picked.
- The tool cannot read comments, followers or entries from a social media site. Paste the names yourself.
- In a gift exchange, everyone who sees the screen sees all the pairs. Rules such as "partners do not draw each other" are not offered.
- This page is not a witnessed or certified draw. For a prize draw with legal rules, use a method that the rules accept.
- The page does not send the names to a server. It saves them in this browser only when you tick Save my entries on this device. Do not put private data that you may not use into the list.