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.
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
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
Press shuffle
The result is a new order of the same lines. Duplicates you typed stay duplicated.
- 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?
Does each order have the same chance?
Will duplicate lines be merged?
Can I shuffle a single line?
Does the box change?
Keep going
Related tools
Last updated Report a problem or suggest a feature