Skip to content
ZeroServer.tools

Random Line Picker

Pick one or more random lines from your list.

Total Input Lines: 0Picked Lines: 0

Drawing a random pick

Paste your candidates — names, prizes, ideas, anything — one per line, and draw one or more at random. Choose “no repeats” for a fair raffle where each entry can win only once, or allow repeats to sample with replacement. Every draw is independent, so you can re-roll as many times as you like. The selection happens entirely in your browser, so your list stays private.

Built and maintained by Meet Shah · Last updated

What this tool is used for

  • Choosing a winner from a list of entries fairly.
  • Sampling a handful of rows from a long list for manual review.
  • Picking a random test case from a suite to inspect closely.
  • Selecting a reviewer or an assignee from a team list.
  • Drawing a random item for a decision you are deliberately not making yourself.

Frequently Asked Questions

Is this fair for a giveaway?
It uses crypto.getRandomValues with rejection sampling, so every line has genuinely equal probability and there is no modulo bias. It runs in your browser, so the draw is not observable by us — but equally, it produces no auditable record.
How would I make a draw verifiable?
Publish the entrant list and its hash BEFORE drawing, then use a public future randomness source — a lottery result or a blockchain hash — as the seed. Verifiability comes from committing in advance, not from the generator.
What is the difference between picking with and without replacement?
With replacement, the same line can be drawn twice — right for simulations. Without replacement, each is drawn at most once — right for prize draws. Picking multiple winners almost always wants the latter.
Are blank lines eligible?
They are lines, so unless filtered they can be selected — and a trailing newline creates one at the end. Strip empties before drawing, or a giveaway can select nothing at all.
Does duplicate entry increase someone's chances?
Yes, proportionally — the picker selects lines, not unique values, so a name listed three times is three times likelier. Deduplicate first unless weighted entry is intended.
How should whitespace and case be treated?
Trimmed and compared consistently, or the same entrant appears twice under two spellings. Deduplicating before drawing is what makes a stated "one entry per person" rule actually hold.
Can the same list produce the same winner twice?
Each draw is independent, so yes — that is what independence means. If a person may win only once, remove them from the list between draws rather than re-running and hoping.

Common errors and gotchas

  • Leaving blank lines in the list, which can be selected and look like a failure.
  • Assuming picks are unique when the tool allows repeats, or the reverse.
  • Using it for anything requiring auditable fairness, where the process needs to be verifiable.
  • Overlooking duplicate entries, which quietly weight the draw.
  • Trimming the list after generating a pick, which changes what the pick referred to.

Related Text Tools tools

Private & free — this tool runs entirely in your browser.