ToolsCrate

Shuffle Lines Randomly

Paste a list to put it into a genuinely random order — useful for draws, picking teams, or randomising a set of questions.

Everything runs in your browser, so even long lists stay private and the tool works with the network switched off.

How to use

  1. 1Paste your list into the box, one item per line.
  2. 2Drop empty lines first if your list has gaps in it.
  3. 3Shuffle, and copy the randomised order.

Frequently Asked Questions

How random is the shuffle?

It uses a Fisher-Yates shuffle driven by crypto.getRandomValues, your browser cryptographic random source. Every possible ordering is equally likely, unlike the naive sort-by-random trick which is measurably biased.

Can I use this for a fair prize draw?

Yes. Paste the entrant names, shuffle, and take the top line as the winner. The randomness is cryptographic quality, and nothing is sent anywhere so the result cannot be tampered with remotely.

Does shuffling twice give the same result?

No. Each run draws fresh random values, so pressing the button again produces a completely new order.

Are duplicate lines removed?

No, shuffling keeps every line. Empty lines are dropped by default, which you can turn off with the option above.

What algorithm is used?

A Fisher-Yates shuffle driven by your browser's random number generator. Every permutation is equally likely, which is not true of the naive “sort by a random key” approach many tools use.

Can I shuffle a list that has blank lines in it?

Yes, though blank lines get shuffled in among the rest. Tick the option to drop empty lines first if you want a clean result.