Skip to contentSkip to the inputSkip to the result

Draw without duplicates

Pick winners from a list without selecting anyone twice.

Loading tool

Instructions

Draw without duplicates

How to use

  1. Enter one entry per line and choose the number of winners.

Supported input

  • Duplicate entries are merged before drawing unless each line is set to count as its own ticket.
  • Uses Web Crypto randomness.

Input example

Ada / Ben / Cara; choose 2

Result example

Two distinct selected entries

Troubleshooting

  • Check required inputs, numeric ranges and the selected conversion direction.

How it works

  • Pick winners from a list without selecting anyone twice.

Drawing names fairly: shuffle the whole list, then take from the top

Typical uses

  • Pasting the usernames from a giveaway thread and picking three winners
  • Choosing who presents at today’s meeting from the team list
  • Drawing prize winners together with an ordered list of reserves
  • Running a draw where more entries mean more chances, by listing a name once per entry

How the winners are chosen

Each line is trimmed, blank lines are dropped, and identical lines are either merged or kept as separate tickets, depending on the option you choose. The whole list is then shuffled with the Fisher–Yates method: working back from the last position, each position swaps with one picked evenly from those not yet fixed. The numbers behind each pick come from Web Crypto with the same bias-free rejection step as the random number tool. The winners are simply the first entries of the shuffled list.

The result is that every possible group of winners is equally likely, and so is every order within that group. Drawing three of seven people in order has 210 possible outcomes, none more likely than another. That is why you can treat the first line as first prize and the second as second prize without any unfairness.

Compare that with two common alternatives. Shuffling in code by sorting with a comparison that returns a random answer each time favours some orders, depending on the sort algorithm. Slips of paper in a hat are fair in principle, but slips folded differently or cut to different sizes are not equally easy to grab. Fisher–Yates needs only n − 1 swaps for n entries and makes all n! orders equally likely, so it has neither problem.

Worked example: a list with a repeated name

  1. 1Input: Kim, Lee, Park, Kim, “ Choi ” with spaces around it, a blank line, Jung. After cleaning, six lines remain.
  2. 2With duplicates merged, the two Kims become one, leaving five people. One draw of three gave Kim, Choi, Lee. Kim’s chance of winning is 3 in 5, or 60%.
  3. 3With one ticket per line there are six tickets, and one draw gave Lee, Kim, Park. Kim now holds two tickets, so the chance of winning at least once rises to 1 − 4/20 = 80%.
  4. 4In the same mode both of Kim’s tickets win together 20% of the time. If one person must not take two places, use merged mode, or check the result for a repeated name.

Draw the reserves in the same go

If a winner might not reply or might turn out to be ineligible, draw two or three more names than you need. Because the order of the results is itself random, lines four and five can serve as first and second reserve with exactly the same odds as a separate draw. Splitting the draw into several rounds invites the suspicion that an unwelcome first result was quietly redone.

For a public draw, settle the procedure beforehand. Fix the list and show the entry count under the input, announce how many reserves there will be and in what order they are called, then press the button once. Copy the result straight into your announcement so it survives if the screen changes.

Limits, and what to use instead

  • Numeric weights. The only way to give someone extra chances is to repeat their line, which also lets them win more than once. For picking a single winner with weights, the spinning wheel’s *3 syntax is simpler.
  • Merging near-duplicates. “Kim” and “kim”, or “Ann Lee” and “AnnLee”, are different lines. Tidy the spelling first with the duplicate line remover.
  • Ordering everyone. If every entry needs a place in a queue, set the count to the number of entries or use the line shuffler.
  • Keeping a record. Nothing is stored on a server, so if you need proof of a fair draw, record or screenshot the screen.

Checked

Frequently asked questions

If a name appears twice, is it twice as likely to win?

No. After trimming spaces, identical entries are merged so every entry has the same chance. Case matters, so Kim and kim are separate entries.

How do I keep previous winners out of the next draw?

Turn on Exclude previous winners from the next draw; winners on this screen are collected and left out next time. Use Reset excluded winners to clear the list. Refreshing the page also clears it.

How many can I draw at once?

Up to the number of entries left after merging duplicates. Within one draw no entry comes up twice, and the order of the results is random too.