Events and games

Random name picker

Paste a list of names and spin the wheel. With Remove picked names on, nobody comes up twice until everyone has had a turn. It also shuffles a list into a random order, splits a group into even teams, and runs a giveaway draw with a code you post first, so anyone can check you didn’t choose the winner.

Worked example

Ana, Ben, Cara x3, Dev, Eli: fair draw, 2 winners → Winners Cara and Dev

Call on a class so everyone gets a turn

  1. Paste the class list

    One name a line, or a row straight from a spreadsheet. A name typed twice gets two entries, and the tool says so under the list.

    Example 10 names
  2. Keep Remove picked names on

    A picked name leaves the wheel, so 10 spins call on all 10 once. With names put back, about 3.5 of 10 would on average never be picked in 10 spins.

    Example On
  3. Spin, then ask the question

    The name shows above the wheel. Undo last puts it back if you spun by mistake, and the list remembers who is left for the next lesson.

    Example Isla
  4. Or run a draw anyone can check

    For a giveaway, Fair draw locks the list and gives a code to post before the draw, so nobody can say you picked the winner.

    Example Lock, post, draw

Watch: 30 spins, about 11 never picked

Recorded on this page by Jeremiah Say, 22 Nov 2026 · 2:48 · no sound, captions on screen

What the video shows, in words
  1. 0:00 30 spins, 30 students: guess first A class of 30, a wheel spun 30 times, names put back each time. How many are never picked?
  2. 0:13 About 11 never picked About 10.8 students, 36% of the class, on average: each spin a student has a 29-in-30 chance of being missed.
  3. 0:25 120 spins to reach everyone The coupon collector’s problem: seeing all 30 takes about 120 spins.
  4. 0:36 The fix: Remove picked names On by default here: a picked name leaves the wheel, so 10 spins call on all 10 once.
  5. 1:05 Spin again: nobody picked twice The second spin picks from the 9 names not picked yet.
  6. 1:17 Undo last Undo last puts the last pick back on the wheel; Start again puts everyone back.
  7. 1:27 Extra entries: Sam x3 Type the number after a name for more entries; picked with Remove on, all of them leave together.
  8. 1:43 Even teams Names are shuffled and dealt like cards, so 10 names make teams of 5 and 5.
  9. 1:57 A fair draw: post the code first Lock the draw and post its code before anyone sees a winner.
  10. 2:11 Draw and check The check shows the seed gives the posted code, and the code gives the winner.
  11. 2:22 Is it fair? 3 million picks 3,000,000 picks from 30 names: every name 99,363 to 100,573 times, p = 0.791.
  12. 2:35 Try yours A wheel that calls on everyone once, extra entries, teams and a draw anyone can check.

Watch on YouTube (opens in a new tab)

Events and games: 6 more videos

Calling on a class without leaving anyone out

On many wheels every name stays on after a spin unless you remove it by hand, so the same student can come up twice in a row while others never do. In a class of 30, a name has a 1 in 30 chance of coming straight back on the next spin, and after 30 spins about 10.8 students, 36% of the class, will on average not have been picked at all. To call on all 30 at least once you’d need about 120 spins: the coupon collector’s problem, where seeing all n of something takes n × (1 + ½ + … + 1/n) draws on average.

Class sizeNever picked after that many spinsShare of the classSpins to reach everyone
103.534.9%29
207.235.8%72
259.036.0%95
3010.836.2%120
3512.736.3%145
Names put back after every spin, one spin per student. Averages, from our own arithmetic on the tool’s code: never picked = n × (1 − 1/n)ⁿ; spins to reach everyone = n × Hₙ (MathWorld), rounded.

With Remove picked names on, which is how the tool starts, a picked name leaves the wheel, so 30 spins reach all 30 students exactly once. The lists under the wheel show who has been picked and who is still to go, Undo last puts back a name picked by mistake, and the list and progress stay on this device if you close the tab, so the next lesson carries on where this one stopped.

Does calling on students at random help? The studies we found are of college classes, not schools. Dallimore, Hertenstein and Platt (2013) found that in college classes with a lot of cold-calling, more students answered questions voluntarily, and their comfort taking part in discussion grew. A 2019 study by the same team found the same rise for both women and men, and that in classes with a lot of cold-calling, women answered as many questions voluntarily as men did. Being picked without warning can make students anxious, though, and Metzger and Via (2022) suggest a “warm call” instead: warn students before they are called on, and let them opt out of answering in front of the class. With this tool, that can be as simple as telling the class who is next before you ask.

Names typed twice and extra entries

A name typed twice is read as one person with two entries, so they’re twice as likely to be picked, and the tool says so under the list. That’s right for a giveaway where people entered twice, and wrong if two students share a name: add a surname or initial to tell them apart, or choose One entry each.

To give someone more chances on purpose, write the number after their name: Sam x3, Sam ×3 or Sam*3 gives Sam three entries, and their slice of the wheel is three times as wide. When Sam is picked with Remove picked names on, all three of Sam’s entries leave together, so nobody is picked twice. A name with an x in it, such as Max2 or Malcolm X, stays a name.

Shuffle a list or make teams

Shuffle puts the whole list in a random order, for presentation order, turns in a game or a rota, and every order is equally likely. Teams shuffles the names and deals them out like cards, first name to team 1, second to team 2 and so on, so team sizes never differ by more than one. Choose how many teams you want, or how many people in each. Here each person counts once, even if they have extra entries.

NamesYou ask forTeam sizes
104 per team4, 3, 3
103 teams4, 3, 3
234 teams6, 6, 6, 5
304 per team4, 4, 4, 4, 4, 4, 3, 3
316 teams6, 5, 5, 5, 5, 5
From the tool’s own code. “Per team” makes as many teams as it takes, then shares the names out evenly.

Run a giveaway draw anyone can check

Spinning a wheel on a live stream proves less than it looks: you could have spun until the right name came up, or edited the list first. Fair draw fixes the list and the draw before anyone knows the winner, and lets anyone check it afterwards. It’s the same method as the random number generator’s raffle, with names.

  1. Paste the entries and choose Fair draw. Type how many winners, then press Lock the draw. The list can’t be changed after this, and the tool makes a secret seed that stays in this browser.
  2. Post the code it shows, with the list (Copy the list exactly as locked) and the number of winners. Name a public input that doesn’t exist yet, such as the numbers of a lottery draw on a set date after you post.
  3. When the input is out, type it in exactly and press Draw the winners. The tool shows the winners and the seed, and checks that the seed gives the code you posted.
  4. Post the winners and the check link, which holds the list, the code, the seed and the input. Anyone who opens it sees the check run again in their own browser.

The code is the SHA-256 fingerprint of the list, the number of winners and the seed. Once it’s posted you can’t add a name or swap the seed, because either gives a different code. And you couldn’t have picked a seed to suit a winner, because the winners also depend on an input nobody had when the code went up. For example, the list Ana, Ben, Cara x3, Dev, Eli with 2 winners and the seed 0123456789abcdef0123456789abcdef gives a code starting 055bf94a. The input 13 34 41 45 48 25 then draws Cara and Dev; change the last number to 26 and it draws Eli and Dev.

In the UK, the advertising code’s rule 8.24 says promoters of prize draws must award prizes “in accordance with the laws of chance and, unless winners are selected by a computer process that produces verifiably random results, by an independent person, or under the supervision of an independent person.” A fair draw is built so the result can be checked, but whether it meets that rule, or a contest law where you are, is for you to judge, and we don’t give legal advice. Platforms have rules too: check the giveaway rules of the site you run it on.

What it can’t prove: that the entries on the list are the real ones, so post the list before you lock. You can draw with no public input, but then people have to trust that you didn’t try seeds until one gave the winner you wanted before locking; the input is what rules that out. Keep the seed to yourself until the draw, because anyone who has it and sees the input early can work out the winners. And draw on the same browser, since clearing its data loses the seed.

Check a draw yourself

The check link reruns a draw in anyone’s browser. To check one without Toggle9, run this in Python 3, which needs nothing extra installed. Paste the list exactly as locked between the triple quotes, then put the draw’s own winners count, seed and input in the last two lines. It prints the winners, then the code, which should match the one posted before the draw.

# Re-run a Toggle9 name draw without Toggle9 (the same code the page prints). Python 3.8+, standard library only.
import hashlib, re

TICKETS = re.compile(r"^(.*\S)(?:\s+x|\s*[×*])\s?(\d{1,4})$", re.I)

def entries(names):   # one name a line, exactly as posted; "Name x3" = 3 entries
    out = []
    for line in names.split("\n"):
        if line:
            m = TICKETS.match(line)
            out.append((m.group(1), int(m.group(2))) if m else (line, 1))
    return out

def words(seed, public_input):
    i = 0
    while True:
        d = hashlib.sha256(f"{seed}|{public_input}|{i}".encode()).digest()
        for j in range(0, 32, 4):
            yield int.from_bytes(d[j:j + 4], "big")
        i += 1

def below(n, w):   # 0 to n-1, every value equally likely (rejection sampling)
    k = max(1, ((n - 1).bit_length() + 31) // 32)
    space = 1 << (32 * k)
    limit = space - space % n
    while True:
        x = 0
        for _ in range(k):
            x = (x << 32) | next(w)
        if x < limit:
            return x % n

def draw(names, winners, seed, public_input=""):
    pool, w, out = entries(names), words(seed, public_input), []
    for _ in range(min(winners, len(pool))):
        k = below(sum(t for _, t in pool), w)
        for i, (name, t) in enumerate(pool):
            if k < t:
                out.append(name)
                pool.pop(i)
                break
            k -= t
    return out

def code(names, winners, seed):
    listed = hashlib.sha256(names.encode()).hexdigest()
    return hashlib.sha256(f"toggle9-names-v1|{winners}|{listed}|{seed}".encode()).hexdigest()

# Your draw: the list exactly as locked (one name a line), winners, the seed, the public input
names = """Ana
Ben
Cara x3
Dev
Eli"""
print(draw(names, 2, "0123456789abcdef0123456789abcdef", "13 34 41 45 48 25"))
print(code(names, 2, "0123456789abcdef0123456789abcdef"))

Run as it is, it prints [‘Cara’, ‘Dev’] and the code beginning 055bf94a, the example above. The test suite checks that the tool still draws the same winners the script prints, and fails if they ever differ.

Where the picks come from

Each pick comes from your browser’s crypto.getRandomValues(), the generator the Web Cryptography standard provides for encryption keys, the same one the random number generator uses. It runs on your device: the names aren’t sent to us and aren’t in the page link unless you press Save or share this list or copy a fair draw’s check link. Each entry gets a ticket number, a ticket is drawn with every one equally likely, and its owner wins. Values that would give the lowest tickets a sliver of extra chance are thrown away and drawn again.

The wheel is a way of showing the pick, not of making it. The name is drawn first, then the wheel turns to a random point inside that name’s slice, so a slow spin or a fast one can’t change who wins. Choose Instantly to skip the spin, which also happens if your device is set to reduce motion.

Is it fair? Millions of picks

On 22 November 2026 we ran the tool’s own picking code millions of times and counted the results. A fair picker doesn’t give exactly equal counts; it wobbles. The chi-square test measures that wobble, and the p-value is the chance a fair picker would wobble at least as much. Values near 0 would mean something is off.

What we ranDrawsEach expectedFewestMostChi-squarep-value
One pick from 30 names3,000,000100,00099,363100,57322.68 (29 df)0.791
Shuffle 6 names: each name in each place600,000100,00099,410100,40326.33 (25 df)0.390
10 names into teams of 4, 3, 3: each in the team of 4300,000120,000119,815120,4145.75 (9 df)0.764
Fair draws, 1 winner from 10, a new seed each200,00020,00019,84020,2687.43 (9 df)0.592
Our run of the tool’s code in Node.js (the same crypto.getRandomValues), 22 November 2026. p-values from the chi-square distribution.

Extra entries were tested too: with Sam on 3 entries and nine others on 1 each, Sam should win 3 times in 12, 25%. In 1,200,000 picks Sam won 24.96% (chi-square 7.36, 9 df, p = 0.600). The tool’s Is it fair? panel runs 10,000 picks from your own list the same way. A few dozen spins will look lopsided; that’s normal, and it evens out over thousands.

Wheel of Names’ own odds, and NIST’s

The tests read pasted lists in every format above, check that a locked list reads back exactly as written, and compare the fair draw’s code and winners with what the Python script prints. They walk the ticket picker through every ticket to confirm each lands on the right name, check team sizes, and put 120,000 fresh picks through the chi-square test on every run. Checked 22 November 2026.

Two figures come from another name picker’s own FAQ, worked out here with this tool’s code: a repeat in five spins of ten names, and a shuffled first name staying put. The draw code has to match NIST’s SHA-256 test message, and the class figure follows MathWorld’s coupon collector formula. Last run 22 November 2026.

ExampleWhere it comes fromExpected answerThis calculator
10 names, 5 spins with names put back: chance a name comes up twiceWheel of Names FAQ69.8%69.8%
Shuffle 5 names: chance the first stays firstWheel of Names FAQ20%20%
SHA-256 of “abc”, the fingerprint behind the draw codeNIST SHA-256 example 1BA7816BF 8F01CFEA 414140DE 5DAE2223 B00361A3 96177A9C B410FF61 F20015ADBA7816BF8F01CFEA414140DE5DAE2223B00361A396177A9CB410FF61F20015AD
Spins to call on all 30 in a class, names put backWorked out: 30 × H₃₀ from MathWorld’s formula119.8119.8

Questions

Is the name picker really random?

Yes. Each pick comes from your browser’s cryptographic random generator, the kind used for encryption keys, and every entry has exactly the same chance. The wheel only shows the pick; the name is chosen before it starts turning. The fairness run above shows the counts over millions of picks.

Why did the same name come up twice?

With Remove picked names off, every spin is from the whole list, so a name can come straight back: with 10 names, five spins include a repeat 69.8% of the time. Turn it on and each name is picked once until you press Start again. If it’s on and a name still repeats, check the list for the same name typed twice.

Can I pick more than one name at once?

Type how many under How many. With Remove picked names on, they’re all different people; the wheel is skipped and the names show in the order drawn.

Does it save my list?

Yes, on this device only: the list, who has been picked and any lists you save under Saved lists on this device. They aren’t sent to us. Clear saved data on this device removes them.

How do I share a list with someone?

Press Save or share this list. It copies a link with the names in it, so anyone you send it to sees the same list. Without that link the names stay on your device.

Can I use it on a projector or smartboard?

Press Full screen next to Spin. The wheel and the picked name fill the screen; press Esc to come back.

How many names can it hold?

Up to 5,000 names, each up to 80 characters. The wheel shows labels up to 48 names; past that the slices are too thin to read, and the picked name shows in the box above.

Can it draw names for Secret Santa?

Not well: a shuffle can hand someone their own name. The Secret Santa generator pairs everyone so nobody draws themselves, can keep couples apart, and sends each person a private link.

Can I give someone a better chance?

Write x2, x3 and so on after their name for that many entries, or type the name more than once. The tool shows each person’s entries under the list, and One entry each evens them out again.

Sources

Show the other 3 sources

How sources are chosen and checked: editorial policy · these sources in the library, with the other tools that use them

Scroll to Top