Picking winners fairly from a list
Picking from a list sounds simple, but two common methods are unfair in small ways. Picking a random position and then picking again from the full list can choose the same entry twice. Sorting the list with a random comparison, a well-known shortcut in code, gives some orders more often than others. This tool uses neither. It uses a Fisher-Yates shuffle, which treats the list like tickets in a hat.
The shuffle works one pick at a time. For the first pick, every entry is a candidate, and one is drawn at random. It moves to the front and is set aside. For the second pick, only the remaining entries are candidates. With eight names and three prizes, the first prize is drawn from eight, the second from seven and the third from six. Each name has the same three-in-eight chance of winning something.
Repeated entries need a decision. If a sign-up sheet has the same name twice because someone pressed Submit twice, that person should not get double the chance. The "Count repeated entries once" switch, on by default, treats Ana and ana as one entry. If the rules give some people extra tickets, list their names more than once and switch it off, so each copy counts.
For a public draw, settle the rules before you press anything. Write down the number of winners, paste the final list, and pick once with others watching or with the screen recorded. Then keep the result. Pressing Pick again until a favourite wins is the one thing that makes a fair picker unfair.
The picker has limits. It takes up to 10,000 entries. It splits at commas only when the whole list is on one line, so an entry such as "Smith, Ana" must sit on its own line. It ignores case when it removes repeats, but not spaces inside an entry or spelling differences. It does not split people into teams or keep a record of past draws.