Clever Quest Lab Tools

Random Name Picker

Paste your class list or a list of entrants, press the button and get one name in large letters. With "No repeats" on, everyone is picked once before anyone comes round again. Your list, the picks and an undo button stay in this browser.

1. Your names

Names are never uploaded. The list, your settings and the picks of the current round are saved only in this browser; "Clear list" removes everything saved.

2. Pick a name

3. History of this round

Runs on your device. Nothing you type or record is uploaded. Keeps working without a connection while the page is open. Works with touch. Saves your list, settings, the picks of the current round and its history on this device, so a round can carry over to the next lesson.

Added

How to use the random name picker

  1. Type or paste your names into the list, one name per line. A single line with commas, semicolons or tabs between the names is split for you. Blank entries are dropped and extra spaces trimmed. The page starts with sample names; replace them with your own. There is no fixed limit on the number of names. If you made a list in the Random Group Generator on this device, a button offers to copy it over.
  2. Leave No repeats ticked if everyone should be picked once before anyone is picked again. Untick it if every pick should be independent of the earlier ones.
  3. Press Pick a name, or press Space or Enter while the button has focus. The name appears in large letters, readable from the back of a room when projected. The roll animation can be switched off.
  4. Watch the counter, for example "3 of 12 picked, 9 left". When every name has been picked, the page says so and offers Start a new round.
  5. Use the history below: Undo last pick after a mis-click, Skip – absent if the person is not there, and Copy history to paste the picks into a document.

How it works

Let m be the number of names still in the pool: the whole list when "No repeats" is off, or the names not yet picked when it is on. The tool gives every entry in the pool the same chance:

p = 1 ÷ m

Here p is the probability that a particular entry is chosen. The tool draws a random whole number from 0 to m − 1 and takes the entry at that position. The number comes from crypto.getRandomValues, the random source built into your browser. To avoid a small bias, a draw that falls in the last, incomplete block of values is discarded and drawn again. If a browser lacks that source, the page falls back to Math.random.

With "No repeats" on, a picked name leaves the pool until the round ends, so after k picks the pool holds n − k names, where n is the list length (fewer if you skipped absent people).

Why the pick is fair

The winner is chosen by the random number alone, and it is chosen before the animation starts. The roll through names is only decoration: it slows down and stops on the name that was already decided. Seating, alphabetical order and the teacher's mood play no part. The choice is uniform over the names that remain, so nobody is favoured, although a short run of random picks can look streaky. The List Randomizer uses the same random source and bias correction and explains them in more detail.

Examples

Example 1: five names, no repeats. Each name has a 1 in 5 chance (20%) on the first pick. The counter reads "1 of 5 picked, 4 left", then "2 of 5 picked, 3 left", and so on to "5 of 5 picked, 0 left". The sixth press picks nothing and shows that everyone has been picked.

Example 2: a class of 30, five picks done. The counter reads "5 of 30 picked, 25 left". Each of the 25 remaining names now has a 1 in 25 chance, p = 1 ÷ 25 = 0.04, which is 4%. The five who have already had a turn cannot appear until you start a new round.

Example 3: four names, no repeats off. Every pick is independent, so each name has a 25% chance every time. The chance that a pick repeats the previous name is 1 in 4, and the chance of the same name three times in a row, starting from any name, is 1 ÷ 4 × 1 ÷ 4 = 1 ÷ 16 = 6.25%. Repeats are normal here, not a fault.

Example 4: ten names, one absent. After three picks the counter reads "3 of 10 picked, 7 left". The third person is absent, so you press "Skip – absent". The counter becomes "2 of 10 picked, 7 left, 1 absent": the absent person is out of this round but was not counted as a turn.

Using it in a classroom, a meeting or a raffle

What "No repeats" does, and when to turn it off

A round is a pass through the list. While "No repeats" is on, a picked name stays out of the pool until you press Start a new round. When the pool is empty, the next press shows a message instead of picking.

Turn it off when repeats are fine: a quick-fire quiz where any student may be asked again, a sample from a long list, a game of chance, or a raffle where a winner may win again. Picks made while it is off are not counted for the round.

Tips for teachers

Frequently asked questions

Can a name be picked twice?

Not within a round while "No repeats" is on. With it off, yes: each pick is independent, so the same name can come up twice in a row. A name written twice in the list can also be picked twice in a round, once for each entry.