Shuffle Words
Shuffle the words on every line in your browser with Fisher-Yates. Spacing, tabs and line breaks stay exactly in place. Nothing is uploaded.
What this shuffle words does
The page walks each line and reorders its words with a Fisher-Yates shuffle drawn from the platform random source, so every ordering is equally likely and long lines genuinely mix. Whitespace is never touched: spaces, tabs and line breaks stay exactly where they were, which keeps column alignment intact, and blank lines pass through untouched. The worked example shows one shuffle of the sample; the next run shuffles again, but the word multiset never changes, only the order.
How to use it
Shuffle Words: paste the text into the box above, and press Run to get the result below.
Worked example
Input:
The quick brown fox
Output:
fox brown quick The
Why it runs in your browser
The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads text and returns result; reloading the page discards both.
The page walks each line and reorders its words with a Fisher-Yates shuffle drawn from the platform random source, so every ordering is equally likely and long lines genuinely mix. Whitespace is never touched: spaces, tabs and line breaks stay exactly where they were, which keeps column alignment intact, and blank lines pass through untouched. The worked example shows one shuffle of the sample; the next run shuffles again, but the word multiset never changes, only the order.
Shuffle the words on every line in your browser with Fisher-Yates. Spacing, tabs and line breaks stay exactly in place. Nothing is uploaded.
How to use it
Shuffle Words: paste the text into the box above, and press Run to get the result below.
Why it runs in your browser
The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads text and returns result; reloading the page discards both.
What to Expect
Best for
- Converting text to result when the data is already on screen.
What this tool keeps
- Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere.
Sample input
The quick brown fox
Sample output
fox brown quick The
Frequently asked questions
How do I use the shuffle words?
Shuffle Words: paste the text into the box above, and press Run to get the result below.
Is my input uploaded?
No. The text is parsed on this page with JavaScript and is never posted to a server.
Is there a size limit?
Yes: 5 MB per run. Larger input is refused with a message rather than freezing the tab.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.