← All text tools

Arabic and English mixed text direction fixer

Fix the broken order of numbers, brackets and English words inside Arabic sentences by adding invisible direction marks, and see the text before and after.

  • Free
  • No sign-up
  • Works on any device

About Arabic and English mixed text direction fixer

When Arabic and English share a line, the Unicode bidirectional algorithm can scramble it: a sentence that starts with an English word becomes left to right, the full stop lands on the wrong side, and a phone number such as +966 50 123 4567 shows its groups in reverse. This tool cleans out old marks, starts each Arabic line with an RLM mark and wraps English words and numbers in LRI and PDI isolates, LRE and PDF embeddings or RLM marks. It shows the invisible marks and the text before and after.

How to use Arabic and English mixed text direction fixer

  1. Paste the mixed Arabic and English text.
  2. Choose isolates for modern apps, embeddings for older ones, or marks only.
  3. Compare the before and after previews, then copy the fixed text.

Why use this tool?

Also known as

Frequently asked questions

Why do numbers flip inside Arabic sentences?

In a right-to-left line, the spaces between number groups take the Arabic direction, so the groups are laid out from right to left. Isolating the whole number keeps it in one left-to-right piece.

What is the RLM mark?

RLM (U+200F) is an invisible right-to-left character. Putting it at the start of a line makes apps that guess direction from the first letter treat the line as Arabic.

Will the marks show up when I paste the text?

No, they are invisible. A few old programs show them as boxes or drop them; in that case try the RLM-only method.

Is Arabic and English mixed text direction fixer free?

Yes. Arabic and English mixed text direction fixer on Toolipedia is free to use, with no sign-up and no watermark.

Is it safe to use?

Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.

Does it work on my phone?

Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.

Do I need an account?

No. Just open the page and use the tool. There's no sign-up and no email needed.

Can I put Arabic and English mixed text direction fixer on my own website?

Yes. Use the Embed on your site button under the tool to copy a short piece of code and paste it into your page. It is free, needs no account, and the tool keeps working inside your page.

Related tools