Reverse & Shuffle Text.
Reverse characters, words or lines, or shuffle them in a random order.
Runs in your browserAbout Reverse & Shuffle Text
Reverse & Shuffle Text flips or randomises text at three levels: characters, words and lines. Reversing characters writes each line backwards, so "Hello" becomes "olleH", which is handy for palindrome checks, puzzles or testing how a layout copes with unusual strings. Unlike a naive string reverse, accents, skin-tone modifiers, flags and family emoji joined with zero-width joiners are kept together, so 👋🏽 does not split into a hand and a stray colour square. Reversing words keeps each word readable but changes their order on every line, while reversing lines turns a list upside down, for example to show the newest log entries first. The shuffle modes use your device's cryptographic random number generator with an unbiased Fisher–Yates shuffle, which makes them suitable for randomising the order of quiz questions, playlist entries, test cases or the speaking order in a meeting. Shuffling words keeps the original spacing between them, and shuffling characters works line by line. A common surprise is that reversing characters does not reverse line order; use the reverse lines mode for that. Each shuffle is different, so copy the result you like. The text is processed in your browser and never uploaded.
How to Use
- Paste your text.
- Choose a reverse or shuffle mode.
- Copy the result; change the input or mode to shuffle again.
Frequently Asked Questions
Are emoji and accented letters reversed correctly?
Yes. Combining accents, variation selectors, skin tones, flag pairs and emoji joined with ZWJ stay attached to their base character.
How random is the shuffle?
It uses the browser cryptographic generator (crypto.getRandomValues) and an unbiased Fisher–Yates shuffle, so every order is equally likely.
Does reverse characters also reverse the lines?
No, each line is reversed in place. Use "reverse-lines" to change the order of lines.
Is my text uploaded?
No. Everything happens locally in your browser.
Related Tools
Sort lines alphabetically or naturally and remove duplicates.
Spin a wheel or pick random names from a list, shuffle the order or split people into groups.
Convert text between case formats.
Count characters, words, sentences, and more.
Add a prefix or suffix to every line, join lines with a separator, or split text into lines.
Escape and unescape strings for different formats.