Randomly Sort Lines of Text shuffles the lines of your text into a random order. Paste your lines, click the button and copy the shuffled list. It is free and runs in your browser.
The order changes every time. This is one possible result.
Monday Tuesday Wednesday Thursday
Wednesday Monday Thursday Tuesday
Bookmark: press Ctrl+D (Windows) or Cmd+D (Mac) to save this tool.
This tool shuffles the lines of your text into a random order. Each line is kept whole, and only the order of the lines changes.
Every click gives a new order, so you can click again to shuffle once more. Empty lines are removed, and repeated lines are kept.
Use it to mix up a list of names, questions or quiz answers, to draw a random order for turns, or to shuffle a playlist or a to-do list.
Each example shows your lines before and after. The order is random, so each After shows one possible result.
| Case | Before | After |
|---|---|---|
| Four lines (one possible result) | Monday Tuesday Wednesday Thursday | Wednesday Monday Thursday Tuesday |
| Names | Ann Ben Cara Dan Eva | Dan Ann Eva Cara Ben |
| Empty lines are removed | red green blue | blue red green |
| Repeated lines are kept | yes yes no | no yes yes |
| One line | Only one | Only one |
Mixing up names, questions or quiz answers, drawing a random order for turns, and shuffling playlists and to-do lists.
Put one item on each line. Empty lines are removed, and repeated lines are kept. The order is different every time. The result replaces your text, so use Undo if you need the original.
To pick only a few random lines try Extract Random Lines. To sort A to Z try Alphabetical Sort. To remove repeated lines try Remove Duplicate Lines.
It shuffles the lines of your text into a random order. Each line is kept whole and only the order changes.
Paste your lines, one on each line, then click Randomly Sort Lines. The shuffled lines replace the text in the box. Click Copy to use them, or Undo to go back.
Yes. Every click gives a new random order. Click it again if you want to shuffle the lines once more.
Yes. Click Undo to bring back the text from before the last shuffle.
No. Empty lines and lines with only spaces are removed, so the result is a clean list.
No. A line that appears twice is kept twice. To remove repeated lines use Remove Duplicate Lines.
Yes. Use Extract Random Lines to choose how many random lines you want.
Yes. It is free, needs no account and runs in your browser, so your text is not uploaded to a server.
Last updated: 10 November 2026