Xerobit

Randomize List: Shuffle Items Into a New Order

Enter or paste your items, one per line, and click the button to randomize the list into a new order. This randomizer online uses cryptographic randomness so every arrangement is equally likely, and it runs entirely in your browser without uploading anything.

Each line becomes one item in the shuffled result.

Result

Bob
Diana
Eve
Alice
Charlie
  1. Bob
  2. Diana
  3. Eve
  4. Alice
  5. Charlie

How to use the list randomizer

  1. Type or paste your items into the text area, placing one item per line.
  2. Check Remove duplicates if you want identical lines collapsed before shuffling.
  3. Click Shuffle to randomize the list.
  4. Copy the output and use it wherever you need a random order.

How the shuffle works

The tool uses the Fisher-Yates algorithm to randomize list entries, which produces an unbiased permutation. Starting from the last element, it picks a random index from the remaining unshuffled portion and swaps the two items. For a list of five elements there are 5! = 120 possible arrangements, and each one has exactly a 1 in 120 chance of appearing.

The random index comes from crypto.getRandomValues, the same source browsers use for generating secure tokens. Unlike Math.random(), which relies on a predictable pseudorandom sequence, this method draws from the operating system's entropy pool, making the results suitable for raffles, drafts, and any situation where fairness matters.

When to use a list randomizer

A few common scenarios where you need to randomize a list:

  • Classroom activities: pick the order students present projects or answer questions.
  • Drafts and tournaments: assign draft positions or bracket seeds fairly.
  • Task ordering: break decision fatigue by letting the computer choose what to work on first.
  • Testing: feed randomized inputs into software tests to catch order-dependent bugs.

For simpler binary decisions, a coin flip or yes or no wheel may be faster. If you only need to select one person from a group, try the random name picker. And if you want to scramble individual letters within words rather than reorder whole lines, use the word scrambler.

Removing duplicates

When the duplicate removal option is enabled, the tool scans the input top to bottom and keeps only the first occurrence of each line. Comparison is case-sensitive: Apple and apple are treated as different items. Blank lines are always stripped before deduplication and before shuffling, so they never appear in the output.

This is useful when you merge several lists that may share entries, such as combining sign-up sheets from different sources before drawing prizes.

Common mistakes to avoid

Pasting comma-separated values on one line. The tool splits on line breaks, not commas. If your data is comma-separated, put each value on its own line first, or use a text editor to replace commas with newlines.

Accidental trailing spaces. A line reading Bob (with a trailing space) is different from Bob. When removing duplicates, trim your data beforehand so near-identical entries are not kept twice.

Expecting a specific outcome. True randomness means any valid permutation can appear, including the original order. If you shuffle a short list many times, seeing the same arrangement twice in a row is statistically normal, not a bug.

Reference: permutations by list size

The number of possible arrangements grows factorially. Here is how quickly the possibilities expand when you randomize list items:

ItemsPossible orders
36
5120
75,040
103,628,800
151,307,674,368,000
202,432,902,008,176,640,000

Even a modest list of ten items has over 3.6 million unique orders. The randomizer handles lists up to thousands of lines without slowing down because the Fisher-Yates algorithm runs in linear time, O(n).

Worked examples

Each result below was produced by the same code the tool runs, so you can check your own numbers against them.

ExampleInputResult
Five namesItems (one per line): Alice / Bob / Charlie / Diana / Eve; Remove duplicates before shuffling: noDiana, Eve, Bob, Alice, Charlie
Numbers with duplicates removedItems (one per line): 1 / 2 / 3 / 2 / 1 / 4 / 3; Remove duplicates before shuffling: yes2, 4, 3, 1
Task prioritiesItems (one per line): Email client / Fix bug / Write docs / Deploy v2 / Review PR; Remove duplicates before shuffling: noWrite docs, Email client, Deploy v2, Fix bug, Review PR

FAQ

Is this list randomizer truly random?

It uses the Web Crypto API, which draws from your operating system's entropy pool. This provides cryptographically strong randomness, far better than simple pseudorandom functions.

Can I randomize a list of numbers?

Yes. Enter one number per line and the tool will shuffle them just like text. It does not sort or modify the values, only their order.

What happens to blank lines?

Blank lines are automatically removed before shuffling so the output contains only your actual items.

Is my data sent to a server?

No. Everything runs locally in your browser. Your list is never uploaded anywhere.

How do I pick just one random item instead of reordering the whole list?

Use the random name picker for selecting a single winner, or shuffle here and take the first line.

Does removing duplicates change the order before shuffling?

Deduplication preserves the first occurrence of each item in the original top-to-bottom order. After that, the entire deduplicated list is shuffled randomly.