Random Picker & Number Generator
Paste names, ideas, tasks, or options to pick or shuffle a list, or generate random numbers from a range locally in your browser.
Prepare the draw
One item per line or separated by commas.
The result appears here.
Prepare the list or number range and run the draw. Nothing is sent outside this browser.
How it works
Enter your input
Fill in the values, paste your text, or upload the file this tool works with.
See results instantly
Most tools update live as you type; a few use a single button. Either way, the result appears right on this page.
Use your results
Copy, download, or share what the tool produces — you're always in control of the output.
What is Random Picker & Number Generator?
A random picker and number generator that uses the browser's Web Crypto API for cryptographically strong randomness — pick items from a list without or with repetition, or generate integer or decimal numbers within a range, with a history of recent draws.
How the random picker and number generator work
On the List tab, paste items to pick without repeats (or with repeats) and shuffle. On the Numbers tab, generate random values within a range, with decimal places and unique-result options.
Cryptographically strong randomness, not Math.random()
The tool uses crypto.getRandomValues(), the same API used to generate secure keys and tokens in the browser, instead of the common Math.random(). Picked indices also go through rejection sampling — a technique that discards results outside a uniform range — to guarantee no item or number has a slightly higher chance of being picked because of rounding.
Without repetition vs. with repetition
In the default mode (without repetition), each picked item leaves the list before the next draw, so the same item never appears twice in one result. Turning on 'allow repeat' makes each draw independent of the previous ones — the same item can come up more than once, like a draw with replacement.
- Without repetition: useful for handing out different prizes or tasks among participants.
- With repetition: useful for simulating something like rolling a die multiple times.
The list accepts commas or line breaks
Paste items separated by commas, one per line, or a mix of both — the tool splits them, trims extra whitespace, and ignores blank lines before picking. The 'remove duplicates' option strips repeated items from the list before it calculates stats and picks.
The displayed chance uses a different formula per mode
Without repetition, the chance is simply how many will be picked divided by the total items. With repetition, it's the probability of a specific item coming up at least once across several independent draws — a different calculation, since the same item can be picked again each round.
- Chance without repetition
chance = picked / totalItems- Chance with repetition (at least once)
chance = 1 − (1 − 1/totalItems)^draws
Numbers: range, decimal places, and unique values
Set the minimum, maximum, and how many numbers to generate. Decimal places controls precision (0 for integers); 'unique values' avoids repeating the same number in one batch, which is only possible if the range has enough slots for the requested count.
- Quick presets: die (1-6), 1-10, 1-100, and 1-9999.
- The swap button flips the minimum and maximum at once.
Casual drawing, not an official raffle
The whole draw runs in your browser — nothing is sent to a server. This tool is meant for casual decisions and lightweight team activities; official raffles, commercial promotions, or regulated contests usually require auditing and legal rules outside the scope of this simple tool.
Frequently Asked Questions
Does the tool use Math.random()?
Not as its main source — it uses crypto.getRandomValues(), the browser's cryptographic randomness API, with a rejection-sampling technique to avoid bias. Math.random() only kicks in as a fallback if the browser doesn't support the cryptographic API.
Can an item be picked twice in the same round?
Only if 'allow repeat' is turned on. In the default mode, each picked item is removed from the temporary list used for that round, so it can't come up again until a new draw.
Why does the calculated chance change when I turn on repetition?
Because the math is different: without repetition it's a simple ratio (picked ÷ total); with repetition it's the probability of coming up at least once across several independent draws, which grows more slowly.
Why does generating unique numbers sometimes fail?
Unique values require the range to have enough slots for the requested count — asking for 20 unique numbers between 1 and 10 is mathematically impossible, since only 10 possible values exist.
Is this suitable for official raffles or commercial promotions?
It works well for casual decisions and team activities, but official raffles and regulated promotions usually require auditing, notarized records, or other legal requirements outside the scope of this tool.
Can I paste a list with repeated items?
Yes — by default they count as separate entries, which affects the calculated chances. Turn on 'remove duplicates' if you want each unique piece of text to count only once before picking.
Related Tools
- PopularAvailableLocal
Pomodoro Timer
Stay focused with configurable work and break intervals.
- AvailableLocal
Time Zone Converter
Convert a date and time across multiple time zones.
- AvailableLocal
Bulk File Renamer
Rename many files at once with a pattern, then download them as a .zip.
- AvailableLocal
Stopwatch
A simple and precise online stopwatch.
- AvailableLocal
Habit Streak Calculator
Calculate current streak, longest streak, and completion rate.
- AvailableLocal
Packing List Generator
Create a starter packing list for a trip.
- AvailableLocal
Study Session Planner
Turn available time into study blocks and breaks.
- AvailableLocal
Invoice Due Date Calculator
Calculate invoice due and reminder dates.
- AvailableLocal
Invoice Number Generator
Generate padded invoice, quote, or order numbers.
- AvailableServer
Image Upscaler & Enhancer
Enlarge images with profiles tuned for their content.