Shuffle Lines

Put the lines of your list into a random order with a fair shuffle.

Tip: press Ctrl + Enter to run.

About the Shuffle Lines

Shuffling is useful for picking a random winner, mixing up quiz questions, setting a presentation order or randomising a playlist. Paste a list with one item per line and this tool puts it into a new random order each time you click.

The tool uses the Fisher–Yates shuffle with your browser’s secure random number generator, so every possible order is equally likely. The first line of the result can be used as a random pick.

How to use it

  1. Paste your list, one item per line.
  2. Click Shuffle Lines.
  3. Click again for a different order, then copy the result.

Example

One possible result (yours will differ):

Input
Alice
Ben
Chloe
Daniel
Emma
Result
Chloe
Emma
Alice
Daniel
Ben

When to use it

  • Picking a random winner for a draw.
  • Randomising quiz or survey questions.
  • Setting a fair speaking or presentation order.
  • Splitting people into random groups.

Frequently asked questions

Is the shuffle truly random?

It uses a cryptographically secure random source and an unbiased algorithm, so every order has the same chance.

Are empty lines shuffled too?

Yes. Remove them first with Remove Empty Lines if you do not want them.

Can I undo a shuffle?

No. Keep a copy of your original list if you need it.

Is the text I enter kept private?

Yes. The Shuffle Lines runs entirely in your web browser, so your text is never uploaded to or stored on our servers. Like most free websites, TextForge shows ads from Google, which may use cookies. See our Privacy Policy for details.