Flip a block of text four ways: by character, by word order, by line order, or word order within each line, with original spacing preserved.
“Reverse the text” describes four different operations, and choosing the wrong one is why the result looks almost right. Reversing characters turns Ship the build into dliub eht pihS. Reversing word order gives build the Ship, with every word still spelled forwards. Reversing lines leaves each line alone and flips their order top to bottom. Text Reverser puts all four on separate buttons rather than picking for you.
The two word modes split on a capturing group, /(\s+)/, which keeps the whitespace runs inside the array instead of discarding them. Reversing and rejoining therefore preserves your spacing pattern rather than flattening it to single spaces. Note that the spacing travels with the reversal: a line indented by four spaces comes back with those four spaces at the end.
Words Per Line applies the word reversal one line at a time, which is the mode to use on a 40-line list where each row has to stay in place. Output regenerates on every keystroke, Copy flashes Copied! for 1.8 seconds, and the reversal is a string operation running in the page with nothing sent anywhere.
Type deploy at 09:30, then rollback ready on a second line, and switch modes:
ydaer kcabllor above 03:90 ta yolped. A newline is a character like any other, so the lines swap as well.ready rollback then 09:30 at deploy, treating the newline as whitespace and reversing straight across both lines.rollback ready above deploy at 09:30, leaving the words inside each line alone.09:30 at deploy above ready rollback, which is the only mode that keeps both the lines and their order.U+FFFF is stored as a surrogate pair and comes back broken. A rocket emoji reverses into two replacement glyphs.résumé survives when the accents are precomposed single code points, and lands on the wrong neighbouring letter when they are decomposed.