Text Scrambler
Shuffle letters inside each word, shuffle the words, or shuffle the lines. Keep first and last letters in place for the Cambridge effect.
How to use the text scrambler
- Paste your text. Drop in a sentence, a paragraph, a poem, or a quiz answer bank. The sample text shows the classic Cambridge sentence so you can see the effect right away.
- Pick a mode. Per-letter shuffles letters inside each word (this is the Cambridge-effect mode). Per-word shuffles word order across the whole text. Per-line shuffles line order, which is handy for poems, lists, and stanzas.
- Tune the options. Keep first and last letters in place to keep the result readable, preserve punctuation so commas and periods stay put, and keep word boundaries on so letters never jump between words.
Hit Generate to roll a fresh shuffle, or change any control to reshuffle on the fly. Use Copy to grab the result, or Download to save it as a .txt file. The original text stays in the left textarea, so you can always start over.
When you need a text scrambler
A scrambler is more useful than it looks. Below are the common jobs people use it for, with the right control setup for each.
Puzzle creation
Word-jumble puzzles, party games, and classroom worksheets all need a clean per-letter scramble of a target phrase. Set the mode to Per-letter, turn OFF Preserve first and last letter, keep Preserve punctuation positions on, and you get a fair puzzle that still reads cleanly with the original spacing.
Cambridge-effect demos for ESL teachers
ESL and reading-comprehension teachers use the Cambridge sentence to show students how the brain reads word shapes, not letter-by-letter. Set the mode to Per-letter, turn ON Preserve first and last letter, and paste any sentence. The result is still readable, and that's the lesson.
Password and passcode obfuscation drafts
For low-stakes codes (a kid's tablet PIN, a wifi-guest seed, an internal demo login), shuffling a memorable phrase gives a short readable code that is hard to guess at a glance. Set the mode to Per-letter, turn OFF Preserve word boundaries, and OFF Preserve punctuation positions for a fully chaotic output. Pair with a password manager for anything sensitive.
Anonymizing IDs and sample data
Developers and analysts redacting demo databases sometimes scramble user-facing strings (usernames, project codes, sample SKUs) so the demo screenshot does not leak any real account names. Per-letter mode with first and last preserved keeps the shape recognizable; Per-letter with everything off gives a clean redaction.
Anagram brainstorming
Stuck on an anagram? Paste the word or phrase, set the mode to Per-letter, turn off Preserve first and last letter, and hit Generate a few times. Each click gives a fresh permutation of the same letter set. If you want the rearranged result to read the same forwards and backwards, route through our palindrome maker next. Pair with our character counter to confirm the letter count if you're working against a constraint.
Kids' word games and home learning
Spelling drills, sight-word practice, and rainy-day word jumbles all run on a per-letter scramble. Set Per-letter mode, keep first and last letters preserved for younger kids (so the word is solvable), and turn the toggle off for older kids who want a harder puzzle.
The Cambridge effect
The Cambridge effect is the name people gave to a viral 2003 paragraph that read smoothly even though the middle letters of most words were jumbled. The original sentence looked like this:
No formal Cambridge study produced that paragraph (the attribution is folklore), but the underlying observation holds up in reading research: fluent readers recognize word shapes from the first and last letters plus the rough silhouette of the middle, so a partial letter shuffle is easy to read. Turn ON the Preserve first and last letter toggle to replicate the effect on your own text.
A few caveats. The effect breaks down on long words (six letters or more become harder), on rare or technical vocabulary, and on text in a non-native language. It also breaks down when punctuation is also shuffled, which is why the Preserve punctuation positions toggle stays on by default.
Scramble modes: input to output preview
Five modes change the unit of shuffling. Same input string in each row so you can compare side by side. Input phrase: the quick brown fox jumps over.
| Mode | Example output | What it preserves |
|---|---|---|
| Typoglycemia (first + last letter fixed) | the qiukc bowrn fox jpmus oevr | First and last letter of every word; word order; spaces and punctuation positions. Middle letters reshuffled inside each word. Built on the psycholinguistic claim that readers can still parse a word if the first and last letter stay intact. |
| Full random (any letter to any position within a word) | eht kicqu rwnbo xfo psmju vore | Word boundaries and punctuation positions only. Letters can land anywhere inside their word, including the first or last slot. Output is usually unreadable; useful when you want a hard puzzle. |
| Word-order shuffle | brown the fox jumps quick over | Every word is intact and spelled correctly; only the sequence of whole words is reshuffled. Useful for poetry prompts, prompt engineering tests, or generating bag-of-words variants. |
| Character-shift (Caesar style by N positions) | Shift = 3: wkh txlfn eurzq ira mxpsv ryhu | Word boundaries, length, and casing. Every letter rolls forward N places in the alphabet. Set N to 13 for the classic ROT13 reversible encoding. |
| Sentence-order shuffle (multi-line input only) | 3-sentence paragraph rearranged into 6 different orderings on each run | Every sentence intact, in original case and punctuation; only the sequence of sentences changes. Helpful for revising paragraph flow or testing whether a section reads in any order. |
Related tools
Frequently asked questions
What is the Cambridge effect?
The Cambridge effect is the observation that fluent readers can still understand a sentence when the middle letters of each word are jumbled, as long as the first and last letters stay in place. The viral "Aoccdrnig to a rscheearch at Cmabrigde Uinervtisy" sentence shows it well. Toggle on Preserve first and last letter to replicate the effect in this scrambler.
What is the difference between per-letter, per-word, and per-line scrambling?
Per-letter shuffles the letters inside each word, leaving word boundaries and punctuation in place. Per-word shuffles the order of words across the whole text. Per-line shuffles the order of lines (useful for stanzas, poems, lists, or quiz answer banks). All three use a Fisher-Yates shuffle, so every permutation is equally likely.
Does the scrambler preserve punctuation?
Yes, when the Preserve punctuation positions toggle is on. Commas, periods, exclamation marks, and other punctuation stay where they are. Only the letters inside words are shuffled. Turn the toggle off if you want a pure character-level scramble, which produces a more chaotic result (useful for ciphers and password seeds).
Will the same text always produce the same scrambled output?
No. Each click of Generate uses a fresh random seed, so you get a different shuffle every time. If you want a specific result, copy it out before you click Generate again. The shuffle uses your browser's crypto.getRandomValues() when available for high-quality randomness, with a Math.random() fallback on older browsers.
Can I scramble text for password generation?
You can use it as a starting point for low-stakes codes (a kid's tablet PIN, a wifi-guest seed, an internal demo login). Turn off Preserve word boundaries and Preserve punctuation positions for a maximally chaotic output. For passwords protecting bank accounts or work tools, use a dedicated password manager (Bitwarden, 1Password, KeePassXC). A scrambled English phrase still has lower entropy than a random character string of the same length.
How long can my text be?
The tool runs entirely in your browser, so the practical limit is your device's memory. A novel chapter (15,000 to 20,000 words) scrambles in well under a second on a modern phone or laptop. If you need to scramble a whole book, paste it in chapter by chapter so the textarea stays responsive.
Does my pasted text get uploaded to a server when I scramble it?
No. The scramble runs in your browser the moment you click the button, with zero network round-trip. Your original text, the scrambled version, and any draft you are previewing for a client never leave the tab. That matters when you are scrambling unreleased copy, NDA material, or internal docs and want a clean pen-and-paper style preview without a server seeing the input. You can confirm this in your browser's developer tools network panel.
Can I undo a scramble?
Not directly. The original input stays in the left textarea until you change it, so you can always copy the original back. Per-letter scrambles are usually not reversible without the original (that's part of the point). Per-word and per-line scrambles can sometimes be reconstructed by a human reader if the content has strong narrative cues, but the tool itself does not store the shuffle key.
More wordcounter.ai tools
Other tools you might find useful.