Random List Picker
Pick a random winner among your entries, with real cryptographic randomness. 100% in your browser.
0 in play
Remove winner after drawing
Useful for giving out several prizes without repeating a winner.
The draw uses crypto.getRandomValues (the browser's cryptographic random generator), not Math.random. Nothing is uploaded to any server.
Built by
Miguel Ángel Colorado Marin (MACM)
Built by
Miguel Ángel Colorado Marin (MACM)
Full-Stack Developer · Guadalajara, España
I develop web apps, digital tools and full projects — from design to deployment.
This random picker chooses a winner from a list of entries using crypto.getRandomValues (the browser's cryptographically secure random generator, not Math.random). It is useful for raffling prizes, choosing who starts a game or deciding an order. Paste your list (one entry per line), press draw and wait until the winner is revealed. If you need to give out several prizes, turn on "Remove winner after drawing": each entry can win only once, and if a name appears twice, one copy is removed each time. The history lists the winners in order and is cleared when the list changes.
Features
- ✓Cryptographic randomness (crypto.getRandomValues)
- ✓Draw animation
- ✓Give out several prizes without repeating a winner
- ✓Draw history
- ✓100% in browser, no uploads
How to run a draw?
- 1
Paste the list of entries
One per line. Empty lines and extra spaces are ignored.
- 2
Press Draw
For about 1.4 seconds, random names from the list flash on screen before the winner is revealed.
- 3
Repeat for multiple prizes
With "Remove winner after drawing" on, each draw picks among those still in play.
How the winner is chosen
Each draw reads an unsigned 32-bit integer from crypto.getRandomValues(), the browser's cryptographic randomness source, and turns it into a position in the list of entries still in play. No earlier draw helps predict the next one.
The conversion uses rejection sampling. If the value were simply taken modulo the number of entries, the first positions would come up slightly more often, because 2^32 is rarely a multiple of that number. The generator discards values above the largest multiple that fits in 2^32. With 6 entries only 4 of the 4,294,967,296 possible values are discarded, so every entry has exactly the same probability.
The animation decides nothing. The names that flash while the list spins are also picked with crypto.getRandomValues and only serve as a visual effect; the winner is calculated in the last step with the same method, among the entries still in play.
Repeated names and removing the winner
Entries are identified by their position in the list, not by their text. If two lines say "John", they are two separate entries: when one wins, only that line is removed and the other stays in play. The text is trimmed, so spaces before or after a name do not create a separate entry.
With "Remove winner after drawing" on, each draw picks with equal probability among the entries still left. Drawing until the list is empty produces a uniformly random order of all entries, the same result as shuffling the list and reading it from top to bottom.
With the option off, every draw uses the full list again, so the same person can win more than once. When only one entry is left, the next draw picks it, and once the list is empty the Draw button stays disabled until you reset.
History, reset and data
The history keeps the winners in the order they were drawn. Typing in the list, changing the option or pressing "Clear" empties it. "Reset" puts every entry back into play and keeps the text of the list.
The list is not saved in localStorage, does not appear in the URL and is not sent to any server. Reloading the page clears the list and the history.
Frequently asked questions
Is my list of entries uploaded to a server?
No. The whole draw happens with crypto.getRandomValues directly in your browser.
Is it really random or just an animation?
It's genuinely random: it uses the browser's cryptographic random generator, not a simple Math.random or a predetermined result behind the animation.
What happens if I have repeated names in the list?
Each line is treated as an independent entry, even if the text is the same. With "remove winner" on, only that specific copy is removed, not every entry sharing the same name.
Related tools
Embed Random List Picker on your site
Add Random List Picker to any web page with a simple iframe. Free, with attribution to miguelacm.es.
<iframe
src="https://miguelacm.es/embed/random-picker?locale=en"
width="100%"
height="700"
frameborder="0"
allow="clipboard-write"
title="Random List Picker — miguelacm.es"
></iframe>View embed in new tab →