Embed this tool on your site
About this tool
Choosing a random item from a list should not require writing a script or opening a spreadsheet. Random Line Picker lets you paste any list of items — one per line — and draws one or more random lines from it. Set How many picks, click Pick random lines, and the chosen lines appear in the Result box. Picks are made without replacement, so the same line never appears twice in one draw, and the count is capped at the number of lines you entered. Leading and trailing spaces are trimmed and blank lines are ignored. Selection uses the browser's Math.random(), which is fine for games, classroom picks and casual giveaways but is not a cryptographic random source. Practical uses range from selecting a random winner from a list of entries, to picking a random task from a backlog, to drawing a random word for a word game, to choosing a random test case from a suite. Everything runs in your browser.
Why use it
Equal-Chance Selection: Every non-blank line has the same chance of being picked.
Pick Multiple Lines at Once: Draw 1 to N lines in a single operation rather than clicking repeatedly for each pick.
No Repeats in a Draw: Picks are made without replacement, so one entry can never be drawn twice in the same draw.
No List Size Limit: Works on lists from 2 items to thousands — all processed instantly in the browser.
Instant Re-Pick: Click Pick random lines again for a completely fresh random selection without re-pasting your list.
How to use
- Paste your list of items into the input area, one item per line.
- Set How many picks you want; it is capped at the number of lines.
- Click Pick random lines to draw that many lines, with no line repeated.
- Click Pick random lines again to get a new random selection from the same input.
- Select the lines in the Result box to copy them.
When it helps
- When selecting a random winner from a list of competition entrants or raffle participants.
- When picking a random task from a prioritized backlog to work on next.
- When choosing a random team member for a rotating responsibility like running a meeting.
- When drawing a random word from a vocabulary list for a language-learning exercise.
- When selecting a random sample from a large dataset for manual review.
- When running a randomized A/B test by picking random entries to assign to each group.
Examples
InputAlice
Bob
Carol
Dave
Eve
Expected resultCarol (randomly selected — result varies each pick)
InputTask 1
Task 2
Task 3
Task 4
Expected resultTask 3
Task 1
Task 4
Task 2 (full random permutation)
Tips
- To run a raffle, paste all entrant names one per line, set the count to 1, and click Pick random lines. Screenshot the result for transparency.
- When drawing several winners, set the count to the number of prizes — picks never repeat within a draw, so no line wins twice.
- For a random team rotation, paste team member names and set count to the number of people you need on each rotation.
- Add duplicate entries for weighted probability: if 'Option A' should be 2x as likely as 'Option B', list Option A twice.
- Use Pick multiple times to simulate a sequence of random events and copy each result before picking again.
Frequently Asked Questions
How random is the selection?⌄
The picker uses JavaScript's Math.random(), which is a pseudo-random number generator seeded by the browser's entropy sources. It is suitable for games, raffles, and sampling — not for cryptographic security.
Can the same line be picked twice?⌄
Not within one draw. Lines are drawn without replacement, so each line appears at most once in the result. If you want repeats, click Pick random lines several times with a count of 1.
Can I pick more lines than exist in my list?⌄
No. The count is capped at the number of non-blank lines, so asking for 10 picks from a 6-line list returns all 6 lines in random order.
Does the order of lines in my input affect the randomness?⌄
No. The random selection is unaffected by input order. Each line has an equal probability of being selected regardless of where it appears.
Can I use it to shuffle an entire list?⌄
Yes. Set the count equal to (or higher than) the number of lines and the result is a random ordering of your whole list.
Does it handle blank lines in the input?⌄
Blank lines are ignored, and spaces at the start and end of each line are trimmed before the draw. Duplicate lines are kept, so a name entered twice has twice the chance of being picked.
Is the selection fair for competitions and giveaways?⌄
Yes. Every line has an equal probability of selection, making this tool suitable for fair random draws. For high-stakes draws, consider documenting the input list and result for transparency.
Can I pick from a list with weighted probabilities?⌄
Not directly. To simulate weighted picking, add an item multiple times — an entry appearing 3 times has 3x the probability of being picked compared to an entry appearing once.
Glossary
- Sampling without replacement
- A selection method where each item can only be chosen once per draw. Once selected, it is removed from the pool for subsequent picks.
- Sampling with replacement
- A selection method where each item is returned to the pool after being chosen, allowing it to be selected again in the same draw.
- PRNG (Pseudo-Random Number Generator)
- An algorithm that produces a sequence of numbers approximating random distribution. Seeded from environmental entropy but deterministic given the same seed.
- Random permutation
- A reordering of all elements in a list where each possible ordering is equally likely. Generated by a Fisher-Yates shuffle algorithm.
- Weighted probability
- A selection scheme where some items have a higher likelihood of being chosen than others, proportional to their weight or frequency in the pool.
- Fisher-Yates shuffle
- An unbiased algorithm for randomly shuffling a list in O(n) time. This tool reaches the same unbiased result by repeatedly removing a random line from the pool.
A LITTLE HELP. A LOT DONE.
Good tools.
Great flow.
Your shortcut to the everyday. Create, convert, calculate,
and get back to what you love.
✳
✳
✓ Free to use✓ No sign-up✓ 500+ possibilities