Reversing a string one code unit at a time corrupts emojis and combined accents, because a single visible character can be made of several units. This tool uses Intl.Segmenter with grapheme cluster granularity to mirror visible characters safely:
Given this multi-line input containing accented characters and compound emojis:
Hello World! 🌍
Utiliome is fast! 🚀
Family: 👨👩👧👦
Café & résumé
Reversing in Entire Text mode produces:
émusér & éfaC
👨👩👧👦 :ylimaF
🚀 !tsaf si emoilitU
🌍 !dlroW olleH
Compound emojis (like the 👨👩👧👦 family sequence with zero-width joiners) and accented characters (like é in café) remain completely intact and visually correct.
To flip the order of whole lines in a list, use Reverse Lines.