How to Use Shuffle Text Lines: Steps and a Worked Example

By 1 min read

Put lines of text in a random order, for draws, teams or test data. This guide shows what to enter, a worked example, and the limits to keep in mind. The Shuffle Text Lines tool is free, needs no account and runs in your browser.

What you need

  • Lines

Step by step

  1. Open the Shuffle Text Lines tool.
  2. Fill in Lines.
  3. Read the result, which updates as soon as the inputs change.

Worked example

the tool returns:

Ben
Chloe
Ana
Dev
Emma

How it works

Paste one item per line. The order is shuffled with a fair Fisher-Yates shuffle each time you run it.

Things to keep in mind

Check your inputs, units and any local rules before you rely on the result.

If this is not quite what you need, try Remove Empty Text Lines, Sort Text Lines Alphabetically or Remove Duplicate Lines.

More from the blog