Skip to content
Toolspire

Text Tools

List Randomizer

List Randomizer is part of Toolspire and is ready as soon as this page loads. One item per line. The shuffle swaps every position with a random earlier-or-same index, which is the Fisher–Yates method. Press shuffle again for a new order.

Runs in this tabFreeNo account

On this page

What you can do here

Lines stay whole

A line is one item, even if it contains commas or spaces. The shuffle does not split phrases.

A new order on each press

Typing does not reshuffle under your cursor. Only the button does.

The original is still in the box

The textarea is not replaced. The shuffled copy is the result, so you can shuffle again from the same source.

The sequence

How to use the List Randomizer

  1. 1

    Put one item on each line

    A paragraph in a single line is one item. Break the list first if each word should move on its own.

  2. 2

    Press shuffle

    The result is a new order of the same lines. Duplicates you typed stay duplicated.

  3. 3

    Shuffle again from the box, not from the result

    The source stays put. If you paste the result back into the box, you are shuffling that new order, which is also fair.

Worth knowing

  • List Randomizer on Toolspire: the shuffle is Fisher–Yates: from the last item back to the second, swap it with an item at a random index from the start through itself.
  • Every order of a given list is equally likely, which a “swap two random items once” shuffle is not.
  • Blank lines are dropped. Fewer than two items is refused, because there is nothing to reorder.
  • The button draws with Math.random. The same list can come back in the original order; that outcome is allowed.

What “equally likely” requires

Fisher–Yates walks the list once and swaps each index i with a uniformly chosen index from 0 through i. Done from the end, that produces each permutation with the same probability. Swapping two random positions a fixed number of times does not. This page uses the single-pass method. Math.random is suitable for a playlist, a revision order or a reading list. It is not a draw for money.

FAQ

Questions about List Randomizer

Where does List Randomizer run?

List Randomizer runs in this tab on Toolspire. What you type or drop in is not sent to us and is not stored on a server.

Does each order have the same chance?

Yes, for the Fisher–Yates shuffle this page uses. That includes the original order, which will sometimes come back.

Will duplicate lines be merged?

No. Two identical lines are two items and both survive.

Can I shuffle a single line?

No. One item has only one order. Add a second line.

Does the box change?

No. The source stays in the textarea. The shuffled lines are the result under it.

Keep going

Open the full directory

Last updated Report a problem or suggest a feature