Result
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
- This is line-by-line shuffling, not whole-text shuffling — words never jump between lines. If you want sentences shuffled across the whole text instead, use Phrase Shuffler.
- A line with only one word has nothing to shuffle, so it comes back unchanged; the same is true for an empty line.
- Punctuation stays attached to whatever word it's touching: "fox." moves as one unit, so shuffling can leave a period in the middle of a scrambled line rather than at the end.
- As with any shuffle based on Math.random(), the result isn't cryptographically random — fine for word games or writing prompts, not for anything that needs provably fair randomness.
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.