Wheel Spinner

Type your names or choices, spin the wheel, and it picks one at random. Your list stays saved in your browser.

PizzaTacosSushiBurgersPastaSalad

How to use

  1. Type or paste your entries in the box, one per line (up to 100). The wheel redraws as you type.
  2. Press Spin. The winner is announced under the wheel when it stops.
  3. Tick Remove the winner after each spin to draw names one by one with no repeats, for example to set a speaking order.
  4. Use Shuffle to mix the order on the wheel, or Clear to empty the list. On a phone, the Edit entries button next to Spin jumps straight to the list.
  5. Press Copy link with this list to share the wheel: whoever opens the link sees the same entries. The last 10 winners are listed under the wheel until you close the tab or press Clear history.

How it works

The wheel is split into equal slices, one per entry. When you press Spin, three things happen in order:

  1. The winner is picked first. The tool asks the browser's Web Crypto API (crypto.getRandomValues) for random bits. This generator is designed for security and draws on the operating system's random source, unlike Math.random().
  2. The pick is unbiased. Turning random bits into "one of n" with a plain remainder (x % n) makes some entries slightly more likely when the number of possible values isn't a multiple of n. The tool uses rejection sampling: it throws away any draw at or above the largest multiple of n and draws again, so every entry has exactly the same chance.
  3. The wheel is aimed at the winner. The tool works out the rotation that puts the middle part of the winning slice under the pointer, adds several full turns, and animates to it. A small random offset changes exactly where it stops inside the slice.
slice size = 360° / n winner = uniform random index 0 … n−1 rotation = current + 5 × 360° + turn needed to bring (winner + 0.5 ± 0.35) × slice size under the pointer

The share link writes the list into the part of the address after #, one entry per line. Opening the link reads the list back and cleans it the same way as typed text: blank lines dropped, long entries shortened, at most 100 entries.

If your device is set to reduce motion, the wheel turns quickly instead of spinning for several seconds; the pick works the same way.

Worked example

Four entries: Pizza, Tacos, Sushi, Burgers. Each slice is 360° / 4 = 90°, so each entry has a 1 in 4 chance.

Say the random pick is index 2, Sushi, whose slice runs from 180° to 270°, measured clockwise from the pointer. With no offset, the wheel turns to 1935° (5 full turns plus 135°). Checking that rotation, the slice under the pointer is index 2, Sushi.

For a 3-entry list, a 53-bit random draw is kept only if it is below 9,007,199,254,740,990, the largest multiple of 3 that fits, so each entry gets exactly one third of the possible values.

Sharing a three-name list (Ann, Bo, Cy) gives a link ending in #l=Ann%0ABo%0ACy; the %0A codes are the line breaks.

Input cleanup: a list of " Pizza ", a blank line, "Tacos" and a 70-character line becomes 3 entries, and the long one is cut to 60 characters.

Limits

  • Up to 100 entries of up to 60 characters each. Long names are shortened on the wheel itself but shown in full in the result.
  • Every entry has an equal chance. To give one choice more weight, add it more than once.
  • The list is saved only in this browser on this device. It won't follow you to another device, and clearing your browser data deletes it.
  • This is for everyday picks, classrooms and games. It isn't certified for prize drawings or anything with legal rules about how winners are chosen.
  • With many entries the labels get small. On a phone, around 30 entries is the practical limit for reading them.
  • A copied link carries the names in the address after the #. That part is never sent to our server, but anyone you give the link to can read the names, and so can apps that store links, such as chat history. Don't put private information in a list you share.
  • Spin history is kept for this browser tab only and disappears when you close it.

FAQ

Is the wheel really random?

Yes. The winner is chosen before the wheel moves, using your browser's cryptographically secure random number generator, and the animation is then aimed at that winner. Where the wheel stops within the slice also varies, but it never decides the result.

Can I make one option more likely?

Enter it more than once. Each line is one equal slice, so an option listed twice is twice as likely to be picked as one listed once.

Does anyone else see my list?

No. The list never leaves your device. It is saved in your browser's local storage so it is still there next time, and the Clear button deletes it.

How do I pick names without repeats?

Tick "Remove the winner after each spin". Each winner is taken off the list, so you can keep spinning until everyone has been picked once.

How do I share my wheel with a class or team?

Press Copy link with this list and send the link. It opens the wheel with your entries already filled in. Your own saved list isn't replaced unless you edit the shared list, and the address only changes when you ask for a link.

Can I see who was picked earlier?

Yes. The last 10 winners appear under the wheel, newest first, for as long as the tab stays open. Press Clear history to start a fresh round.

Why did my blank lines disappear from the wheel?

Blank lines and spaces at the start or end of a line are ignored, so an extra Enter never creates an empty slice.