Reverse Text
Reverse text by character, word or line — including emoji and accents, handled correctly.
Processing: This tool runs entirely in your browser. Your input and any file you open stay on your device — nothing is uploaded to a server.
How to use the reverse text
- Paste your text.
- Choose the options.
- Copy the result.
About this tool
Reversing text is less trivial than it looks, and most tools get it wrong. Splitting a string on characters in JavaScript splits it into UTF-16 code units, which tears apart anything outside the basic range: emoji come out as broken squares, and flags and skin-tone variants disintegrate entirely.
This splits on grapheme clusters instead — what a reader would call a character — using the browser's own segmenter where it is available. So an emoji stays whole, and an accented letter written as a base plus a combining mark stays attached to its mark rather than drifting onto the neighbouring letter.
Reversing by word or by line is unambiguous by comparison, and is usually what people actually want when they say reverse a list.
Common uses
- Reversing the order of a list of lines.
- Making mirrored or novelty text.
- Checking a palindrome.
Frequently asked questions
- Why do other reversers break emoji?
- They split on UTF-16 code units rather than characters, which cuts multi-unit emoji in half. This one splits on grapheme clusters, so they survive.
- Does this reverse the words or the letters?
- Whichever you choose — character, word or line order.
- Is my text uploaded?
- No. The reversal happens in the page on your device.
Related tools
Text Case Converter
Convert text between UPPERCASE, lowercase, Title Case, Sentence case, camelCase, snake_case and kebab-case.
Sort Lines
Sort lines alphabetically, numerically, by length, in reverse or shuffled.
Text Cleaner
Strip extra spaces, blank lines, line breaks, smart quotes and unwanted characters.
Word Counter
Count words, characters, sentences, paragraphs and estimated reading time as you type.