Skip to content
hateitall

Shuffle Lines

Randomize a list of names, questions or tasks with a shuffle that gives every order the same chance.

Processed locallyIn: Text, TXTOut: Text

Loading tool…

How to use shuffle lines

  1. Paste the list, one item per line.

  2. Choose whether to drop blank lines.

  3. Press Shuffle again as often as you like, then copy the order you use.

What this tool does

  • Uses the Fisher-Yates shuffle, which makes every order equally likely.
  • Draws random numbers from crypto.getRandomValues with rejection sampling, so there is no bias toward any position.
  • Keeps every line exactly once and keeps your line endings.

How the result is verified

After every shuffle, the result's lines are sorted and compared with the input's lines sorted; they must be identical, which proves nothing was lost or duplicated.

Frequently asked questions

Is the shuffle really random?

It uses your browser's cryptographic random number generator, the same source used for keys, and the Fisher-Yates method, which gives each possible order the same probability.

Can I use it to pick a winner?

Yes, take the first line after shuffling. For anything with money or legal weight, record the draw so others can see it was done once.

Is my data uploaded to a server?

No. Everything you drop, paste or type is processed by code running in this browser tab. You can check it yourself: open your browser's developer tools, watch the Network panel, and use the tool. No request carries your data.

Alphabetical, natural (file2 before file10) or by length, any language

Text · TXT · CSV→ TextLight on device

Flip line order, words on each line, or every character

Text · TXT→ TextLight on device

Delete repeated lines, keep order, ignore case or spaces

Text · TXT · CSV→ TextLight on device