How the Text Reverser Works
AnyTool Text Reverser transforms text entirely in the browser and renders every mode at once. Character reversal splits the input into grapheme clusters with Intl.Segmenter and reverses that array, so emoji, ZWJ sequences, surrogate pairs and combining accents are never cut apart. Word, line and sentence modes reorder whole tokens while preserving their spacing, and the upside-down and mirror modes map each character to a look-alike before reversing the string.
- Characters are reversed by grapheme cluster, not by UTF-16 code unit
- Reverse word order keeps each word readable; reverse each word flips letters in place
- Line and sentence modes reorder tokens while preserving spacing and terminators
- Upside-down maps to 180-degree-rotated glyphs; mirror maps to horizontally flipped glyphs
- All computation is client-side JavaScript — no server round-trip
