Random picker for one entry from a line-based list

Try Random Picker

Random Picker inputs

Loading calculator. If this message stays visible, enable JavaScript and reload.

The random picker selects one nonblank line from a list you enter. Put each option on its own line, choose Calculate / Run and read the selected text. Leading and trailing whitespace is trimmed from each line, and empty lines are ignored.

Every remaining line is an entry. Repeated text on several lines therefore gets several chances to be selected. The tool does not remove the winner or remember previous draws. Prepare the list and agree the selection rule before running it, especially when a group needs to understand how the choice was made.

Preparing entries for a random list selection

What does this random picker select?

The random picker selects one entry from the nonblank lines in the text box. An entry can be a name, task, option or other text. The result is the selected line after trimming, with a separate detail showing the number of eligible choices.

The operation is line-based. Commas, semicolons and spaces within a line do not split it into several entries. If you paste Apple, Banana, Pear on one line, that whole line is one option rather than three fruit choices.

There is no wheel animation, multiple-winner count or automatic removal switch. The current workflow makes one selection and leaves the entered list in place. Another run selects again from the list as it then stands.

Use a clear label for each option. Two people can have the same name, or two tasks can share a short description. Add a non-sensitive distinguishing label when needed so the selected result can be interpreted correctly.

The Coin Flip is a separate interface for two named coin outcomes. This picker is more suitable when you want to supply the actual text of the options yourself.

The tool does not rank the options by quality or recommend the best one. It performs a random selection from the entries provided, so the suitability of that list remains part of your preparation.

How do I enter a list and make one selection?

  1. Prepare one intended entry per line.
  2. Check spelling, duplicate entries and eligibility.
  3. Paste the list into One item per line.
  4. Choose Calculate / Run.
  5. Read the selected entry and the Choices count.

Check the Choices count against the list you intended to use. An unexpected total can reveal blank-line handling, accidentally merged entries or duplicated rows. The count is a useful confirmation, although it does not establish that every listed person or option is eligible.

For a simple demonstration, place Tea, Coffee and Water on separate lines. A run selects one of those three entries. The tool does not fetch information about the drinks or turn the result into a preference-based recommendation.

Keep multiword options on one line. For example, a task such as Review landing page should remain one entry. An actual line break inside that task creates another candidate line, even if it looks like a continuation in your source document.

Automatic visual wrapping in the text box is different from an entered line break. A long line can wrap on a narrow screen while still representing one entry. Review the source text when the count differs from what you expect.

The result controls can help copy the selected text. Save the list and rule separately when you need a complete record of the draw.

How are blank lines, spaces and duplicate entries handled?

The engine splits Windows-style, Unix-style and carriage-return line breaks, trims each resulting line, then removes empty entries. It does not remove spaces inside a remaining line or normalise spelling and capitalisation.

Mozilla's String.trim reference, checked in 2026, describes the trimming method used. In this workflow it cleans the ends of each line before the list is filtered.

Entered text patternEligible entriesEffect
Apple, Banana, Pear on one line1The whole line is one choice
Apple, Banana and Pear on separate lines3Three candidate lines
Apple, Apple and Pear on separate lines3Apple has two entries
Blank lines around one nonblank item1Blank lines add no choices

With Apple appearing twice and Pear once, each line has one of the three available positions. The text Apple therefore has two chances out of three, while Pear has one. This was checked with controlled engine fixtures and independent counting.

Capitalised and lowercase variants are not automatically merged. Likewise, a name with an extra internal space can remain a different text entry. Clean the list deliberately when the intended rule is one entry per unique option.

For a count of physical text lines before selection, the Line Counter provides a separate view. Its counting definition may include lines that this picker removes as blank.

How does the random selection work?

After preparing the list, the engine selects one line index using the browser's crypto.getRandomValues API. It then returns the text at that index. Under the intended random-source model, each surviving line has the same chance.

The integer helper uses rejection sampling so that mapping the underlying random range to the number of entries does not favour positions because of an uneven remainder. That mapping matters when the list length is not an exact divisor of the underlying integer space.

Mozilla documents the browser API in its getRandomValues reference, checked in 2026. The API provides the random values used by the inspected implementation; it is not an independent certificate for the list, the operator or the overall drawing procedure.

The text of an option does not determine its probability. A longer task name does not receive more weight. Its position is one eligible line unless it appears again on another line.

The tool does not use a custom seed, an input-derived hash or a remembered sequence to make the result reproducible. Running the same list again requests another draw. The earlier selected line is still eligible unless you edit the list.

For a range-based integer instead of supplied text, use the Secure Random Number Generator. Select the interface that matches the unit being chosen.

Can I pick repeatedly without choosing the same entry again?

The current form does not automatically remove selected entries. Repeating the calculation with an unchanged list is selection with replacement: the same line can be selected again.

If your activity requires no repeats, prepare an appropriate process before starting. You can manually remove an entry after a selection, but you must decide what removal means when identical text appears on more than one line. Removing one occurrence and removing every matching occurrence are different rules.

Record the remaining list when the process needs to be reviewed later. A sequence of selected names without the corresponding eligibility changes does not show how each draw was made. Keep the method consistent from one selection to the next.

There is no multi-winner field that performs a no-repeat batch in this interface. Do not import that assumption from a different random-picker site. This tool makes one selection from the current eligible lines on each run.

For a classroom turn order or task sequence, consider whether you actually need a shuffled list rather than repeated single picks. Choose a workflow that expresses that requirement directly. A single random result does not establish a complete ordering of all entries.

If the same option appears twice in two consecutive runs, that alone does not indicate a failure. Both runs can legitimately choose the same surviving line. The replacement rule explains the possibility.

What list sizes, formats and content are supported?

The list must contain between 1 and 10,000 nonblank entries after trimming. The engine also applies a raw text-length limit of 500,000 JavaScript UTF-16 code units before splitting and filtering. Both limits apply.

Mozilla's String.length reference, checked in 2026, explains that this length counts UTF-16 code units. Some visible characters use more than one code unit, so the limit should not be described as exactly 500,000 displayed symbols.

A small list with extremely long entries can reach the text limit. Many short lines can reach the entry limit first. Blank lines still contribute to the original raw text length even though they do not become eligible choices.

The form accepts pasted text. There is no CSV-file upload, spreadsheet connection or image gallery feature. Pasting a URL makes it a text entry; the engine does not fetch that URL or convert it into an image thumbnail.

Do not assume a pasted CSV row will be parsed into columns. If the intended entry is one name per row, prepare that column as a clean newline-separated list. Inspect quoted fields or embedded line breaks before using an exported file as input.

The Character Counter can inspect text under its own counting definition. That definition is not necessarily the same as this engine's UTF-16 input cap.

How should I prepare a fair and reviewable selection?

Define eligibility and the unit of entry before making a selection. Decide whether each person, account, task or ticket receives one line, and whether repeated entries are permitted. The generator cannot detect an unfair input list from the text alone.

Check that every intended option is included and that unintended duplicates are removed when the rule requires unique entries. Do not silently change the list after seeing an outcome you dislike. A technically random draw can still be part of a biased overall procedure.

For a low-stakes group activity, show the agreed list and explain whether the selected entry stays eligible. For a formal draw, use the required rules, oversight and recordkeeping. This page does not provide eligibility verification, a signed certificate or third-party auditing.

Use non-sensitive labels whenever possible. A classroom or team activity rarely needs addresses, private account identifiers or confidential notes in the same text box. Keep only the information necessary to identify the option within the group.

If a participant has multiple entries by an agreed rule, explain that the draw is equal per line, not equal per distinct name. Repetition can be an intentional weighting mechanism, but this form has no separate weight field or summary validating the intended proportions.

The result should be read together with the list and rule. A selected name alone cannot demonstrate whether the input was complete, deduplicated or unchanged during the process.

What are the privacy and troubleshooting limits?

The inspected selection function processes the supplied text locally and uses the browser random-value API. It does not submit the list through a network request in that function. Page loading, analytics and other website practices remain separate and are described in the MoneyOr privacy policy.

The form is not a protected records system. Copied results, screenshots, clipboard tools and exported files can create additional copies outside the page. Use an appropriate workflow for sensitive lists and avoid unnecessary personal information.

If the list is rejected, check whether it contains at least one nonblank line, exceeds 10,000 eligible lines or exceeds the raw text limit. An apparently empty list containing spaces is still empty after trimming.

If generation reports that secure random values are unavailable, the browser environment lacks a required capability. The engine does not replace the draw with an operator-chosen result. Use a supported browser environment and the normal HTTPS page.

Controlled tests checked trimming, mixed line endings, duplicate entries, a one-item list, the maximum entry count and invalid inputs. Those checks validate specific implementation behaviour. They do not certify every real-world drawing process or prove fairness from a few sample outputs.

Before running again, decide whether you intend another independent pick from the same list or a pick from an edited remaining list. Keep that choice visible in the procedure so everyone interprets the result consistently.

Frequently asked questions

Will a list containing only one option always return it?

Yes. After trimming and removing blank lines, a one-entry list has only one eligible result. The tool returns that entry. It does not invent alternatives or reject the list merely because there is no uncertainty left in the selection.

Can I separate items with commas instead of line breaks?

Commas remain part of the line. To create separate candidates, put each intended entry on its own line. A single comma-separated line is one choice, even when it contains several names or options that look like a list.

Does a longer name have a greater chance of being selected?

No. Selection is based on eligible line positions. Text length does not create extra chances. Repeating that name on additional lines does create more entries, which is a different input-list decision.

Can the picker choose an entry that is not in my list?

The inspected engine selects from the prepared nonblank lines. It does not add suggestions, fetch names from another service or generate a new option. Check the list and the latest run if the selected text appears unexpected.

Does the tool automatically remove duplicate names?

No. Identical text on several lines remains several entries. Remove duplicates before calculating when the agreed rule is one entry per distinct option. Be careful with different people who legitimately share the same visible name.

Can I use Hindi names or emoji in the list?

The text workflow can retain such content as part of a nonblank line. The raw input cap uses JavaScript UTF-16 code units, which can differ from visible character counts. Check that copied text and distinguishing labels remain understandable in the selected result.

Can I use an image URL as an entry?

It is treated as text. The current engine does not fetch the image, preview it or inspect whether the URL works. If selected, the result is the entered URL text, subject to the same trimming and line rules as other entries.

Is registration required to make another selection?

There is no tool account requirement. Run the form again for another selection. The page does not create a saved drawing session, automatically remove earlier winners or maintain an audit history of your list changes.

Sources and method notes