Reverse text & Unicode explorer
Reverse visible characters, words, or lines. Grapheme-aware mode keeps emoji families, flags, skin tones, and combining marks intact.
Your text stays in this browser and is never added to the URL.
Reverse by
Visible characters reverses each line safely. Code points is included to demonstrate how a common [...text].reverse() approach can break combined characters.
Input
Output
.length words linesThis input contains grapheme clusters made from multiple code points. Visible-character mode keeps them together; code-point mode does not.
About this tool
A visible character is not always one JavaScript string position. The family emoji is several code points joined together, while an accented letter can be a base letter plus a combining mark. This tool usesIntl.Segmenter to reverse those grapheme clusters safely.
Words mode reverses words inside each line while preserving the existing whitespace positions. Lines mode changes only line order. Everything mode reverses all graphemes, including the placement of line breaks.