Reverse Text
Reverse text, word order, each word or lines, flip case and check palindromes
Runs entirely in your browser. Nothing you type or upload is sent to us or stored.
Results are for general guidance. Please check anything important before relying on it. Terms of use
How to Use
- Type or paste your text into the Your text box, or click Try a sample.
- Pick what to reverse: Reverse text (every character), Reverse word order, Reverse each word, Reverse lines or Flip case.
- The result updates as you type. The Palindrome? box tells you whether your text reads the same backwards, ignoring spaces, punctuation and capitals.
- Click Copy result, or Swap to move the result into the input and keep working on it.
Five ways to reverse text
This reverse text tool flips your writing backwards in whichever way you need, and checks if it's a palindrome while you type. Here's what each mode does with the line "Chai is ready":
| Mode | Result | Handy for |
|---|---|---|
| Reverse text | ydaer si iahC | Puzzles, mirror-style messages, fun captions |
| Reverse word order | ready is Chai | Word games, flipping "First Last" name lists |
| Reverse each word | iahC si ydaer | Simple coded notes for kids' treasure hunts |
| Reverse lines | The last line comes first | Turning a newest-first list into oldest-first |
| Flip case | cHAI IS READY | Fixing text typed with Caps Lock on |
Reverse word order works line by line, so a list of names stays a list. Reverse each word leaves commas and full stops where they were: "Hello, world!" becomes "olleH, dlrow!".
Why emoji and Hindi don't break here
A computer stores text as code points, and one character you see can be made of several of them. šš½ is a thumbs-up plus a skin-tone code. A family emoji is three or four people joined by invisible "zero width joiner" codes. In Hindi, "ą¤ą¤æ" is the letter ठplus the vowel sign ि.
A basic reverser flips the code points one by one, which separates the skin tone from the thumb or puts a vowel sign in front of the wrong letter. This tool reverses grapheme clusters instead, meaning the characters as a reader sees them. It uses the browser's built-in Intl.Segmenter for this, and falls back to keeping accents, vowel signs and joined emoji together on older browsers.
How the palindrome check works
A palindrome reads the same forwards and backwards. Before comparing, the tool keeps only letters and digits and makes everything lower case:
ā wasitacaroracatisaw
ā reversed: wasitacaroracatisaw ā Yes, a palindrome
Some palindromes you might know: Malayalam (the language), the names Nitin and Naman, the word "level", and numbers like 12321. It works for Hindi too: नमन is a palindrome because न म न reads the same either way.
The check always reads the whole of your input, whatever reverse mode you've picked. If there are no letters or digits at all, it shows a dash instead of yes or no.
Good to know
- Reversed text isn't secret. Anyone can flip it back in a second, so don't use it to hide a password or a PIN.
- Reversing twice gives you the original text back, so Swap is a quick way to check the result.
- Flip case leaves letters with no simple upper or lower partner (like the German Ć) as they are, and Hindi has no capitals, so it's unchanged.
- Everything runs in your browser. Your text isn't sent or saved anywhere.