Reverse text generator

Type any Arabic or English text to get it written from its last character to its first.

Loading the tool…

Processing and privacy: The result is calculated inside your browser and your data is not sent to any server.

How to use it

  1. Enter text and reverse.
  2. The result appears straight away and updates as you edit.
  3. Copy the result, or copy a link that keeps the same values to share it.

How it is calculated

The text is split into characters as a reader sees them (a letter with its marks, a whole emoji), then their order is reversed for the full text or per line.

Example

Inputs: Reverse = Whole text (line order flips too). Result: Reversed text: dlrow olleH ملاعلاب ابحرم; Characters: 25.

مرحبا بالعالم
Hello world
dlrow olleH
ملاعلاب ابحرم

Limits and caveats

  • Reversed Arabic letters may join differently, because a letter changes shape with its position in the word.
  • Punctuation is reversed with the letters, so brackets end up on the other side.

Questions about this tool

Do diacritics stay with their letters?

Yes. Each letter is reversed together with its marks as one unit, so a shadda or fatha never moves to another letter.

What is the difference between the two modes?

Whole text puts the last line first. Each line keeps the line order and reverses the characters inside every line.

Can I reverse words instead of letters?

To flip the order of words while keeping each word readable, use the reverse word order tool.