Scramble words

Scramble words randomises the order of words in your text. Useful for question-bank shuffling (so quiz answers do not always appear in the same order), puzzle generation, creative writing prompts, and language-learning exercises that ask students to rebuild the original order. Two scopes are available: shuffle words within each line independently, or shuffle every word across the whole text. Optionally pin the first and last words in place. The transformation runs in your browser; nothing uploads.

Input
Line 1:1 LF cloud_done Saved locally
Result Scramble Words
0 lines 0 chars

Word-order scramble, not character scramble

This tool shuffles whole words. The internal letters of each word stay intact, only the word order changes. For character-level scramble (the typoglycemia "aoccdrnig to a rscheearch at Cmabrigde Uinervtisy" effect), use a different tool - this one is for puzzle generation, quiz randomisation, and reordering exercises.

Scope picks where the shuffle applies. Per Line (default) shuffles each line's words independently, so line breaks are preserved. Whole Text treats the entire input as one bag of words and shuffles across line boundaries; line breaks are lost.

Pin First/Last keeps the first word and last word of the scope in their original positions, only shuffling the middle. Useful for sentence-rebuilding exercises where you want to anchor the start and end so students have a hint about where the sentence begins.

How to use scramble words

  1. 1Paste your text into the input panel, one sentence per line.
  2. 2Pick a Scope: per line (default) or whole text.
  3. 3Toggle Pin First/Last on if you want to anchor sentence boundaries.
  4. 4Output panel shows the scrambled version. Click in the input or change any option to re-scramble.
  5. 5Click Copy or Download to save the result.

Keyboard shortcuts

Drive TextResult without touching the mouse.

Shortcut Action
Ctrl FOpen the find & replace panel inside the input Plus
Ctrl ZUndo the last input change
Ctrl Shift ZRedo
Ctrl Shift EnterToggle fullscreen focus on the editor Plus
EscClose find & replace, or exit fullscreen
Ctrl KOpen the command palette to jump to any tool Plus
Ctrl SSave current workflow draft Plus
Ctrl PRun a saved workflow Plus

What this tool actually does

Per-line or whole-text scope

Per Line shuffles each line independently and preserves line breaks - useful for shuffling answer choices in a quiz where each line is a separate question. Whole Text mixes words across line boundaries - useful for creative-writing prompts where you want a totally jumbled bag of words.

Pin first and last words

When Pin First/Last is on, the first word and last word of the scope stay in their original positions; only the middle is shuffled. For a 5-word sentence like "The fox jumps over the dog", "The" and "dog" stay; "fox", "jumps", "over", "the" get reordered.

Whitespace and punctuation preserved

The shuffle splits on whitespace runs but keeps the original whitespace tokens around for re-interleaving. So multiple spaces, tabs, and trailing punctuation stay attached to their words wherever they end up.

Re-shuffle on every change

The output is regenerated every time the input or any option changes, with a fresh random seed. Click into the input and tap a key to re-roll the scramble; the output is non-deterministic by design.

Worked example

Per-line scope, no pinning. Each new render produces a different shuffle.

Input
the quick brown fox jumps over the lazy dog
Output
fox lazy the brown over the dog quick jumps

FAQ

How is this different from rotate text?
Rotate text is deterministic: every run with the same shift produces the same output. Scramble words is random: every run produces a different shuffle. Use rotate for cyclic shifts, scramble for randomisation.
Can I scramble characters within each word too?
Not in this tool - this one shuffles whole words only. For character-level scrambling within words, you would need a separate "scramble letters" tool (not currently available).
Is the shuffle reproducible?
No, each render uses a fresh random seed. If you need a reproducible shuffle (same input always produces the same output), this tool does not support that. Save the output you want and re-use it.
Why are the line breaks preserved in per-line mode?
That is the point: per-line mode shuffles within each line independently so the structure (which line is which) stays intact. Useful for quiz answers where each line is a separate question and you do not want answer A to land in question 3.