Skip to main content
Premier SEO Services

Text tools

Random Line Picker

Paste a list and pick one or more lines at random, with or without repeats, using your browser's cryptographically secure random generator. Good for giveaways, raffles and team picks.

  • Runs in your browser
  • Free, no sign-up
  • Unlimited use
  • Updated 30 September 2026

Random Line Picker

Set the options, then copy or download the result

How to use the random line picker

  1. 1Paste the entries into Entries (one per line).
  2. 2Set How many to pick, and tick Allow the same line to be picked twice only if a line may win more than once.
  3. 3Press Pick a random line. The winner appears under Result with the time of the draw.
  4. 4For another round without the same winner, press Remove picked from the list, then pick again.

Example

Input
Ana
Ben
Cara
Dev
Eli
Fay
Gus
Hana
Output
1. Dev
2. Eli

One real draw with How many to pick = 2. Every draw is random, so your result will differ; each pair of names was equally likely.

Picking one or several lines

Each non-empty line is one entry. Press the pick button to draw one entry, or set How many to pick to draw several at once, listed in the order they were drawn (useful for 1st, 2nd and 3rd prizes). Earlier draws in this session are listed under Earlier picks this session, so you can show the history.

With or without repeats

By default a line can be picked only once per draw, like drawing names from a hat. Tick Allow the same line to be picked twice to put each name back after it's drawn, like rolling a die. Ignore duplicate lines (on by default) gives every distinct entry exactly one chance even if it was pasted twice; untick it when entries are tickets and someone bought several.

Fair giveaways: how the randomness works

Picks use crypto.getRandomValues, the browser's cryptographically secure random number generator, not Math.random. Numbers are drawn with rejection sampling so there's no modulo bias: with 8 entries each has exactly a 1 in 8 chance. Several winners are drawn with a partial Fisher–Yates shuffle, so every combination of winners is equally likely.

For a transparent giveaway, publish the entry list first, run the draw on a screen recording or live stream, and keep the time of the draw shown under the result.

Removing duplicates first

If entries were collected from comments or a form, the same person may appear several times with different capitalization or spacing. Ignore duplicate lines treats lines as equal regardless of case and surrounding spaces. For more control, such as finding entries that appear in two lists, clean the list first with remove duplicate lines or compare two lists. To shuffle the whole list, use sort lines with Random shuffle.

Is anything I enter stored?

This tool runs entirely in your browser. Your text is not uploaded to our servers.

Questions about the random line picker

Is the pick truly random?

It uses your browser's cryptographically secure random number generator, which is unpredictable and unbiased for practical purposes. Every entry has the same chance.

Can the same entry be picked twice?

Not unless you tick Allow the same line to be picked twice. Without it, several picks are always different entries.

How do I run a fair giveaway?

Publish the list of entries, remove duplicates, and record or stream the draw. The time of each pick is shown, and Remove picked from the list lets you draw runner-up prizes without repeating a winner.

Last updated 30 September 2026Maintained by Premier SEO Services

Report a problem