Sentence Shuffler

Paste any block of text. The shuffler splits the text into sentences, randomly reorders them, and outputs the shuffled version. Useful for writing exercises, quiz banks, and breaking out of a rigid draft.

One sentence per linePut each shuffled sentence on its own line
Keep neighboring sentences together as a block
Remove duplicate sentencesKeep only the first copy of a repeated sentence
0 sentences detected

What sentence shuffling is for

Sentence shuffling takes a block of text, splits it into sentences, randomizes the order, and outputs the shuffled version. Most uses fall in three buckets:

  • Writing exercises. Reorder the sentences of a paragraph to test whether the original order was actually necessary. If the shuffled version reads almost as well, the paragraph wasn't building an argument - it was a list. Tighten or restructure.
  • Quiz bank randomization. If you have a pool of distractor sentences, shuffling prevents pattern-matching by students who recognize the typical answer position.
  • Creative drafting. Shuffling forces fresh juxtapositions. The classic "cut-up technique" (Burroughs, Gysin) was a manual version of this - shuffle the sentences and read for new meanings.

The shuffle is a Fisher-Yates / Knuth shuffle, which is mathematically uniform across all permutations. Click Shuffle Again to get a new order. If you want new sentences rather than a new order, try the Random Sentence Generator.

Three options sit under the output. One sentence per line puts each shuffled sentence on its own line, with a blank line still between paragraphs. Shuffle in groups of 2 or 3 cuts each paragraph into pairs or triplets of neighboring sentences and shuffles those blocks, so the sentences inside a block stay in their original order (if the count does not divide evenly, the last block is shorter). Remove duplicate sentences keeps only the first copy of any sentence that appears more than once in the whole text, matching the exact wording, capitals and punctuation. To work with a longer document, click Load .txt file to read a plain-text file into the input, and Download .txt to save the shuffled output.

How sentence detection works

The shuffler splits text after sentence-ending punctuation: period (.), exclamation mark (!), or question mark (?), plus any closing quote or bracket, wherever a space or line break follows. Each sentence keeps its own punctuation, and any text after the last full stop is kept as a final sentence.

Paragraph breaks are kept. If your text has several paragraphs separated by a blank line, the sentences are shuffled within each paragraph and the paragraphs stay in their original order.

The detection has known limitations:

  • Abbreviations. "Dr. Smith" gets split after "Dr.", and "U.S.A." followed by a space ends a sentence. The tool does not maintain a list of abbreviations, so you may need to manually rejoin some sentences after shuffle if your input has heavy abbreviation usage.
  • Decimals and version numbers. "Python 3.12" or "$1.25" are not split, because no space follows the period. Only a period followed by a space splits, as in "version 3. Next".
  • Ellipses. Three dots (...) followed by a space end a sentence, even in the middle of a thought. Use a Unicode ellipsis character (…) to avoid this.
  • Quoted dialogue. "He said, 'Yes.' Then he left." splits after the closing quote, which is usually right. A quoted question inside a sentence ("Who?" she asked) splits too.

For most editorial prose, the detection is accurate enough that the shuffle does what you expect. For text-heavy with abbreviations or technical notation, edit the input first.

Variants people ask about

Sentence shuffling is one of three related randomization tools:

  • Sentence shuffler (this page): randomizes the order of sentences, keeps sentence text intact.
  • Word shuffler: randomizes the order of words across the whole text, or in chunks of a few words. Useful for poetry exercises and word-order drills.
  • Character shuffler / scrambler: randomizes characters within each word (or in the whole string). Use the letter shuffler or the text scrambler for that.

For paragraph-level shuffling (where paragraphs, not sentences, are the unit), use the paragraph shuffler. For deck and quiz randomization where the items aren't sentences, put one item per line and use the text shuffler in line mode.

Beyond the cut-up technique

Sentence shuffling has a respectable creative-writing lineage. William S. Burroughs and Brion Gysin developed the cut-up technique in the 1950s, physically cutting up newspaper pages and rearranging fragments to find unexpected juxtapositions. David Bowie used it to write lyrics for Diamond Dogs and many later albums. Thom Yorke used it on Kid A.

The technique works for two reasons. First, the writer is forced out of habitual sequencing - the brain's storytelling reflex kicks in to make sense of arbitrary adjacency, and the new sense it builds is often something the writer wouldn't have arrived at deliberately. Second, the shuffled output exposes which sentences carry their own weight and which were only working because of the sentences around them.

Use it sparingly. A whole document shuffled is rarely useful; a paragraph shuffled to test its argumentative coherence is.

Frequently asked questions

What does the sentence shuffler do?

It splits your text into sentences, randomizes their order using a Fisher-Yates shuffle, and outputs the shuffled version. Click Shuffle Again for a new random order.

How does it detect sentences?

The shuffler splits after sentence-ending punctuation (. ! ?) when a space or line break follows, and keeps any text after the last full stop as its own sentence. Periods in abbreviations ("Dr. Smith") can split a sentence early, so edit the input first if needed. Decimals like "3.14" are safe because no space follows the period.

Is the shuffle uniform?

Yes. The Fisher-Yates / Knuth shuffle is mathematically uniform across all permutations - every possible ordering is equally likely.

What if I shuffle and get the same order back?

For short texts (2-3 sentences) it can happen by chance. Click Shuffle Again. For longer texts the chance of getting the original order back is 1 in N! (very small).

Can I shuffle words instead of sentences?

Not on this page. Word-level shuffling needs a different splitter (split on word boundaries instead of sentence punctuation). Use the word shuffler for word order, or the text scrambler for character-level randomization.

Where does the cut-up technique come from?

William S. Burroughs and Brion Gysin developed the cut-up technique in the 1950s, physically cutting newspaper pages and rearranging fragments. David Bowie used it for lyrics on Diamond Dogs. Thom Yorke used it on Kid A.

Does it keep paragraph breaks?

Yes. Paragraphs separated by a blank line stay in their original order, and the sentences are shuffled within each paragraph. To reorder whole paragraphs, use the paragraph shuffler.

Can I shuffle sentences in pairs or triplets?

Yes. Set Shuffle in groups of to 2 or 3. Each paragraph is cut into blocks of neighboring sentences, the blocks are shuffled, and the sentences inside each block keep their original order. When the count does not divide evenly, the last block is shorter.

Can I put each sentence on its own line or remove repeats?

Yes. Turn on One sentence per line to output each sentence on a separate line. Turn on Remove duplicate sentences to keep only the first copy of a sentence that appears more than once; the match is on the exact text, so a change in capitals or punctuation counts as a different sentence.

Does the shuffled text persist?

No, the shuffle is regenerated on every keystroke or button press, and the text is not saved. Copy the output or click Download .txt if you want to keep a specific shuffle.

Will the input be uploaded?

No. The shuffle runs entirely in your browser, and a .txt file you load is read in your browser too. Nothing is uploaded, logged, or persisted. See also: Sentence Counter.

Related tools

More wordcounter.ai tools

Other tools you might find useful.

Browse the full catalog →