Shuffle Text Lines

Your data never leaves your browser

Randomly shuffle the order of lines in any text.

Brie — Bug Reporting Tool

Found a bug while testing?

Brie captures screenshots, console logs, network data, and session replays in one click — so developers get the full context without the back-and-forth.

About Shuffle Text Lines

Randomly reorder the lines of any multi-line text using the Fisher-Yates shuffle algorithm. Useful for randomising question orders in quizzes, shuffling test data sets, and creating random content sequences.

How to use

  1. Paste or type your multi-line text in the input panel.
  2. Click Generate (or the transform button) to shuffle the lines.
  3. Click Copy to copy the shuffled text to your clipboard.

More Text Tools

Frequently Asked Questions

FAQs about Shuffle Text Lines

What algorithm is used to shuffle?

The Fisher-Yates shuffle (also known as the Knuth shuffle) is used, which produces a uniformly random permutation of the lines.

Is the shuffle different every time I click?

Yes. Math.random() is used for each swap, so each shuffle produces a different result.

Are empty lines included in the shuffle?

Yes. Empty lines are treated like any other line and can appear anywhere in the shuffled output.

How many lines can I shuffle?

There is no hard limit. The tool handles thousands of lines efficiently.

Can I undo the shuffle?

Not directly. Keep the original text if you need to return to the original order.