Blog
Text tools

Shuffle the words inside each line

Paste your list with one phrase per line, and the words inside every line get scrambled into a new random order — the lines themselves stay where they are, only the word order within each one changes. Click "Shuffle again" for a fresh scramble.

Your data never leaves this device

Result

Total words shuffled

This page has no server side at all. The table you paste is parsed by JavaScript inside your own browser, the chart is drawn on a canvas element on your machine, and the export file is assembled locally. Nothing is uploaded, stored or written to any log. You can disconnect from the network after the page has loaded and everything will still work — which is the simplest way to verify the claim yourself.

Facts and limits of this method

Scope Each line is shuffled independently — words never cross from one line to another
Algorithm Fisher–Yates shuffle applied to the words of each line
Single-word lines Left exactly as they are — there's nothing to reorder
Line order Unchanged — line 3 is still line 3, only its internal word order can change
Word boundaries Split on whitespace; punctuation attached to a word travels with it
Repeat runs Click "Shuffle again" for a new random arrangement of the same words

When it misleads you

How it is calculated

The text is split into lines, and each line is processed on its own: it's split into words on whitespace using a regular expression, keeping any attached punctuation.

A Fisher–Yates shuffle is applied to just that line's list of words — the same unbiased algorithm used by List Shuffler, but run separately for every line so the shuffles never mix across lines.

The shuffled words for each line are joined back together with single spaces, and the lines are then rejoined with line breaks in their original order.

"Shuffle again" reruns this whole process on the current text, producing a fresh random arrangement of words within every line without needing you to retype anything.

Questions and answers

Can a word move to a different line?

No. Shuffling happens strictly within each line — a word from line 2 always stays on line 2, just possibly in a different position within it.

What happens to lines with just one word?

Nothing — a single word has no other word to swap positions with, so that line comes back unchanged.

Is this the same as Phrase Shuffler?

No. This scrambles word order inside each line while keeping lines separate. Phrase Shuffler instead detects whole sentences across the text and shuffles their order.

Does punctuation move with the word it's attached to?

Yes — "garden," is treated as one unit and moves as a whole, comma included.

Is my text sent anywhere?

No. The shuffle runs entirely in your browser; nothing is uploaded.

Related tools

All tools