How to reverse text safely
Flipping the order of characters comes up more often than you would think: building a phrase that only reads backwards, reading a log from the newest line first, or proofreading a sentence from the end. Paste your text, pick how you want it reversed, and the result appears immediately. Apply the same mode twice and you get the original back.
Emoji survive the trip. The usual one-line reverse splits a string into UTF-16 units, which cuts an emoji in half and leaves replacement characters behind. Emoji built from several pictures joined by an invisible connector break even worse. This tool reverses grapheme clusters - what a reader sees as a single character - so emoji, accented letters and other combining sequences come out intact. If a browser has no grapheme support, the tool falls back to code points and says so in the counting unit line.
There are four modes. Reversing the whole text also reverses the line breaks, so the last line ends up first. You can instead reverse only the line order, only the characters inside each line, or only the word order within each line.
Frequently asked questions
Yes, as long as you use the same mode both times. The word order mode is the one exception: it collapses runs of spaces and tabs into a single space, so the spacing may not match exactly.
Each visible character stays whole, so nothing turns into a broken glyph. Reversed text in any script is only readable backwards, and right-to-left scripts may look unusual because the display order is already reversed.