Skip to content
UniKit

Text shuffler

Shuffle characters, words or lines at random — characters are handled by Unicode code point so emoji and CJK text never get split — with an injectable random source or a seed that drives a built-in PRNG so the same seed always gives the same result.

Runs in your browserEvery computation happens in your browser — your data never leaves this device.

Source text

Shuffled text

Change the seed for a different arrangement.

Paste text to shuffle it

Units: 0 · Characters: 0 · Moved: 0 · Reproducible: 0

What this tool does

  • Shuffle characters, words or lines to build quizzes and exercises — click again for a different arrangement.
  • Use a seed when the random order has to be reproducible, for example so everyone on the team gets the same fixture.
  • Scramble a passage as a memory exercise, or use the shuffled output as decoy options.

Example

Input

abcdef

Output

baefcd

With the seed set to 42 the result is fixed — shuffling again gives the same string. Clear the seed to fall back to the browser's random numbers.

Frequently asked questions

What is the seed for?

The seed drives the pseudo-random sequence, so the same seed always produces the same shuffled text — useful for reproducibility and for comparing results. Leave it empty and the tool uses the injected random source (Math.random in the UI), so every run differs.

Will CJK text or emoji turn into mojibake?

No. Characters are split by Unicode code point, so one Chinese character or one emoji counts as a single unit and is moved as a whole — nothing is cut in half.

Does it shuffle characters or words?

Characters by default; the dropdown switches to words or lines. In word and line mode whitespace is normalised — words are joined with a single space and lines with a newline.

Can the result equal the input?

Yes, especially with very few or heavily repeated characters. The shuffle is uniform, and the original order is one legitimate outcome — the tool does not avoid it artificially.

Keywords:字符打乱随机打乱shuffle text洗牌文本乱序随机排序可复现随机seed打乱顺序

Related tools