Text tools

Shuffle & randomize lines.

Put your lines in a random order. Click Shuffle again for a new arrangement anytime.

This tool randomizes the order of your lines. Paste a list and it returns the same lines in a shuffled order using a fair Fisher-Yates shuffle — press Shuffle again for a fresh random arrangement.
0 lines0 chars
Result
0 lines0 chars

What shuffling lines does

Shuffling puts your lines in a random order. Every time you run it you get a fresh arrangement, and the lines themselves are never changed — only their sequence. Use Shuffle again for a new order, and Drop blank lines to leave empty rows out of the mix.

A fair shuffle (Fisher–Yates)

The tool uses the Fisher–Yates algorithm, the standard method for an unbiased shuffle. It walks the list from the end, swapping each item with a randomly chosen earlier one, so every possible ordering is equally likely. That matters for anything where fairness counts — drawing names, randomizing quiz questions, or picking an order without accidentally favoring items near the top.

What you'd use it for

Randomizing a list comes up more than you'd think: shuffling flashcards or quiz questions so you don't memorize the order, drawing names for a giveaway or secret santa, randomizing test data so your software isn't always fed the same sequence, mixing a playlist or reading list, or picking a random winner by shuffling and taking the top line.

Shuffling vs. the other line tools

Shuffle is the opposite of sort — random order instead of alphabetical. It doesn't remove anything; if you want each line to appear once first, run remove duplicate lines before shuffling, or sort lines if you later want them back in order.

How to use it

Paste your lines and a shuffled order appears instantly. Click Shuffle again for a different arrangement, then Copy or Download. Everything runs in your browser — nothing is uploaded.

More text tools

Related free tools: reverse text · sort lines · remove duplicate lines · shuffle lines · fancy text · text repeater.

FAQ

Frequently asked.

Yes. It uses the Fisher–Yates algorithm, which gives every possible ordering an equal chance — no bias toward lines near the top or bottom.

Click "Shuffle again" and the tool re-randomizes. Each run produces an independent new order.

It doesn't remove duplicates. You can turn on "Drop blank lines" to leave empty rows out. To remove repeats, use remove duplicate lines first.

No — only their order changes. The text of each line is left exactly as you entered it.

You can, but the numbers travel with their lines, so they'll end up out of sequence. Shuffle first, then re-number if you need 1, 2, 3 order.

No. Shuffling happens entirely in your browser and your text never leaves your device.