Free text tool

Text Reverser

Reverse all characters, word order, each word or line order. Choose the unit that matches your task: the modes handle whitespace and punctuation differently. Character reversal uses Unicode code points, which do not always correspond to complete visible symbols.

Output

Before using the result

  • Four modes transform different units.
  • Combined accents and joined emoji may split.
  • Line order converts CRLF separators to LF.

How to use the Text Reverser

  1. Paste a short sample and choose Reverse mode. Output updates as you type.
  2. Use Characters for the entire sequence, Word order for reversed text and whitespace tokens, Each word for non-whitespace runs, or Line order for rows.
  3. Inspect punctuation, leading and trailing whitespace and multi-part symbols before copying a larger result.

Unicode code points are not grapheme clusters

Array.from keeps a single supplementary code point, such as a simple emoji, together. It does not group combining accents, skin-tone modifiers, flags or joined emoji into visible character units. Reversal can separate or reorder those parts.

The tool performs no Unicode normalization, language-aware word segmentation or visual mirroring. Right-to-left text may display differently from its underlying sequence. Use a grapheme-aware workflow if intact visible symbols are essential.

Line endings and reversibility

Line order splits LF or CRLF and rejoins using LF. A trailing newline creates an empty last row, which moves to the top. A lone carriage return is not a line separator in this mode.

Reversing twice restores ordinary code-point and token order, but Line order normalizes CRLF to LF, so it does not guarantee byte-identical recovery. Keep the original if line-ending style matters. Reversal provides no confidentiality or encryption.

Examples

A reversible check for ordinary text

Characters mode changes “abc 123” to “321 cba”; applying the same mode again restores “abc 123”. Use this small check to confirm the selected unit before processing a larger passage. It does not establish preservation of combined visible characters.

Four different outputs

For “red green blue”, Characters gives “eulb neerg der”, Word order gives “blue green red”, and Each word gives “der neerg eulb”. For red, green and blue on three lines, Line order gives blue, green and red on three lines.

Punctuation belongs to a token

Each word turns “Hello, world!” into “,olleH !dlrow”. Word order gives “world! Hello,”; it does not recognize punctuation as a separate word.

Whitespace moves in word order

Input “ red blue” (one leading space, two between words) becomes “blue red ” (two between words, one trailing space). Whitespace tokens are reversed along with words.

A combined accent can split

For e followed by U+0301 COMBINING ACUTE ACCENT and then x, Characters returns x, U+0301, e. By contrast the single precomposed é in éx reverses to xé. These visually similar source forms need not behave the same.

Frequently asked questions

Does Each word preserve spacing?

Each word replaces only non-whitespace runs, leaving intervening whitespace in place. It reverses punctuation inside each run together with the letters.

Why did the last blank line move to the top?

A trailing LF creates an empty final item when the input is split into lines. Reversing the list puts that empty item first, so the output starts with a newline.

Related tools

More text tools