Reverse Text
Reverse text by grapheme cluster so emoji and combining character sequences stay together.
Loading Reverse Text...
How to use
Reverse the whole input or reverse each line independently. Per-line mode can preserve the exact LF, CRLF, or CR separators in the source.
Example
Input
A👍🏽B
Output
B👍🏽A
Limitations
Grapheme-safe reversal preserves character clusters, not linguistic meaning or expected reading direction. Complex script shaping and bidirectional display may still look surprising.
Frequently Asked Questions
Will this split emoji or combining accents?
No. It reverses Intl.Segmenter grapheme clusters rather than UTF-16 code units.
What does per-line mode do?
It reverses content inside each line while leaving line order and, optionally, original line-ending bytes unchanged.