Randomize text

Put the lines, the words or the letters of a text in a random order. Everything is shuffled in your browser, and nothing is uploaded. Click Shuffle again for a new order.

Shuffle

How it works

  1. Paste your text

    Type or paste the text in the left box, or open a .txt file. No text to hand? Click Example.

  2. Instant result

    The result appears as you type. Change the options and see straight away what changes.

  3. Copy or download

    Copy the result with one click, save it as a file or use it as input for a next step.

Three things to shuffle

  • Lines: each line is an item, such as a name or question. Empty lines are skipped by default.
  • Words: the words within each line are shuffled, and the lines stay where they are.
  • Letters in each word: for puzzles and anagram-style effects.

Example

Anna, Ben, Cem, Dani, Emma and Fay on separate lines might come out as Fay, Anna, Emma, Cem, Ben and Dani. It differs on every click.

Uses

  • Order of speakers or presentations, and teams or seating plans.
  • Quiz questions in random order.
  • Practice lists: flashcards, vocabulary, exercises.
  • Test data where the order should not matter.

To keep a list in a defined order instead, use sort text alphabetically, or flip it with reverse lines. Need pieces of a text on separate lines first? Use split text.

Frequently asked questions

Is the shuffle really random?

It uses the browser's secure random generator and the Fisher-Yates method, so every order is equally likely. That is more reliable than sorting by `Math.random`, which favours some orders.

Will the same text give the same result twice?

No. Every shuffle is new. Use *Shuffle again* for another order.

How do I draw one winner from a list?

Put one name on each line, shuffle, and take the first line. It is as fair as drawing from a hat, and the list stays on your device.

What does shuffling letters do to a word?

It mixes all the letters in each word, so `Hello` could become `lHloe`. Punctuation and spaces stay in place and each word is shuffled separately.