OpusDesk Hub Tools

Reverse Text

Reverse character order, word order or both.

What this tool does

Reverse character order, word order or both. Character mode reverses JavaScript UTF-16 units. Word mode splits on whitespace and reverses the token list. Both mode reverses that list and each token, joining with a single space.

How to use Reverse Text

  1. Prepare the input. Enter the text.
  2. Run or configure the tool. Compare the three displayed operations.
  3. Check and use the output. Copy only the operation you need and check Unicode/spacing.

How this tool works

Character mode reverses JavaScript UTF-16 units. Word mode splits on whitespace and reverses the token list. Both mode reverses that list and each token, joining with a single space.

Worked example

Input: abc def

Output: Characters: fed cba; words: def abc; both: fed cba.

Limits, assumptions and interpretation

This is not a grapheme-aware Unicode reversal; emoji and combined characters can be broken.

  • Word/both output normalizes whitespace to single spaces, losing original line breaks and spacing.
  • Reversal is a text operation, not encryption or a translation between writing directions.

Supported inputs and limits

  • abc def
  • This is not a grapheme-aware Unicode reversal; emoji and combined characters can be broken.
  • Word/both output normalizes whitespace to single spaces, losing original line breaks and spacing.
  • Reversal is a text operation, not encryption or a translation between writing directions.

Frequently asked questions

What does this tool actually do?

Character mode reverses JavaScript UTF-16 units. Word mode splits on whitespace and reverses the token list. Both mode reverses that list and each token, joining with a single space.

What should I check before using the result?

This is not a grapheme-aware Unicode reversal; emoji and combined characters can be broken. Word/both output normalizes whitespace to single spaces, losing original line breaks and spacing. Reversal is a text operation, not encryption or a translation between writing directions.

Is information sent to a server?

Tool inputs are processed in this browser. This product does not use analytics or send your input to an external API. Clicking an external website link still visits that website.

Related tools