Text Reverser & Palindrome Checker
Reverse text by characters, words or lines without breaking emoji, flip it upside down, and test whether a phrase is a palindrome.
Output
Reversed text appears here…What this tool does
Reversing a string sounds trivial until the text contains an emoji, a flag or an accented letter. Most quick solutions reverse UTF-16 code units, which splits 🇪🇸 into two regional indicators and 👋 into broken surrogate halves. This tool reverses user-perceived characters instead, so the output is always valid text.
It combines two related jobs. The Reverse text tab writes text backwards in six ways, useful for puzzles, testing how an app handles reversed or right-to-left strings, preparing mirror lettering or simply reordering a list. The Palindrome checker tab tells you whether a word or sentence reads the same in both directions, the way people actually judge palindromes: ignoring spaces, punctuation, capital letters and accents.
How to use it
- Open Reverse text, type into Input or press Load example.
- Choose a Reverse mode; the Output updates instantly.
- Tick Mirror preview to see the output flipped horizontally, as in a mirror.
- Press Copy, Download or Use output as input to chain another reversal.
- To test palindromes, open Palindrome checker, enter a phrase, choose Letters or Words, and tick Check each line separately for a list.
Worked example
The reverse example contains an emoji, accents and a flag:
Hello 👋 world! Café crème 🇪🇸 StackUtils
With Whole text the output is:
slitUkcatS 🇪🇸 emèrc éfaC !dlrow 👋 olleH
Word order gives "world! 👋 Hello" on the first line, and Line ordersimply puts "StackUtils" first. In the palindrome checker, "Dábale arroz a la zorra el abad" is reduced to dabalearrozalazorraelabad, which reads the same backwards, so it is a palindrome. "Hello world" is not, and the tool shows the first mismatch: character 1 "h" vs character 10 "d".
The modes explained
- Whole text: the entire input backwards, so the last line comes first and each line is reversed.
- Each line: every line reversed in place, handy for lists.
- Word order: words swap places within each line while spacing is preserved; punctuation stays attached to its word.
- Each word: letters inside each word are reversed while word order stays the same.
- Line order: lines are flipped top to bottom without touching their content, like sorting a log newest-first.
- Upside down: the text is reversed and each character is replaced by a rotated look-alike such as ɐ for a or ∀ for A.
Limitations
Upside-down text is an approximation built from existing Unicode letters; Q, accented letters and most symbols have no rotated form and are only moved. Mirror preview is visual only, because Unicode has no mirrored alphabet, so copying gives the reversed text. Right-to-left scripts such as Arabic or Hebrew are reversed in storage order, which may display unexpectedly. The palindrome checker removes accents, so it treats é and e as the same letter. Very old browsers without Intl.Segmenter fall back to code-point reversal, which keeps single emoji intact but can split flags. Input is limited to 500,000 characters.
Tips
- Reversing a string twice should return the original; it is a quick way to test your own reverse function.
- Use Line order on a log or changelog to read it newest-first.
- To inspect exactly which code points an emoji is built from, paste it into the Unicode inspector.
- Counting palindrome length? The word counter reports characters with emoji counted once.
Frequently Asked Questions
Why do some text reversers break emoji and accented letters?
Many tools reverse JavaScript code units with split(""), which tears emoji, flags and letters with combining accents into invalid pieces. This tool splits text into grapheme clusters with Intl.Segmenter, so 👋, 🇪🇸 and é stay intact when reversed.
What are the reverse modes?
Whole text reverses every character, Each line reverses characters but keeps line order, Word order reverses the words in each line, Each word reverses letters inside every word, Line order puts the last line first, and Upside down rotates the text 180° using look-alike Unicode characters.
How does the palindrome checker treat accents, spaces and punctuation?
Accents are removed, spaces and punctuation are ignored and upper and lower case count as the same. That is why “Dábale arroz a la zorra el abad” and “A man, a plan, a canal: Panama!” are both reported as palindromes.
What is a word-level palindrome?
In Words mode the checker compares whole words instead of letters, so “Fall leaves after leaves fall” is a palindrome because its words read the same in both directions, even though its letters do not.
Does upside-down text work everywhere?
It uses real Unicode characters such as ɐ, ǝ and ∀, so it can be pasted into most apps, but some fonts lack a few of them. Characters without a look-alike, such as Q, accented letters or emoji, are moved but not flipped, and the tool tells you how many.
Is my text sent to a server?
No. Reversing and palindrome checks run in your browser with JavaScript. Nothing is uploaded or stored.
Related tools
- Word CounterCount words, characters, sentences and paragraphs in text
- Text to SpeechConvert any text to natural-sounding speech using your browser's Web Speech API. Select voice, language, rate, and pitch.
- Case ConverterConvert text between different cases: uppercase, lowercase, title case, camelCase, snake_case
- Text SummarizerSummarize long articles, documents, or text into key sentences using extractive summarization. Runs entirely in your browser.
- Slug GeneratorGenerate URL-friendly slugs from text
- Text DiffCompare two texts and highlight differences
All Text Tools tools · Found a bug or a wrong result? Report it.