Right-to-Left Support Checker

Check a page in Arabic, Hebrew, Farsi or Urdu declares its direction, and that mixed content is marked.

A page in Arabic, Hebrew, Farsi, Urdu or another right-to-left language.

20 runs left today · sign up for more

About this tool

Checks whether a page containing right-to-left text — Arabic, Hebrew, Farsi, Urdu — actually declares that direction.

Without `dir="rtl"` the page renders left to right. The words are all correct and the layout is inside out: text aligns to the wrong edge, punctuation lands at the wrong end of sentences, and mixed content like a phone number or an English product name appears in an order that reads as scrambled to somebody who reads the script.

**It looks entirely fine to anybody who does not read it**, which is why this survives on sites that were otherwise translated with care.

Also checked: whether the page mixes scripts without marking the boundaries, and whether it uses CSS logical properties. `margin-inline-start` flips automatically with the direction; `margin-left` does not, and is the reason an RTL version of a site usually needs a second stylesheet it should not need.

Common questions

Where does dir="rtl" go?

On the html element, alongside lang. That sets the direction for the whole document, so text aligns correctly and the layout mirrors without any CSS.

Do I need a separate RTL stylesheet?

Not if you use logical properties. margin-inline-start, padding-inline-end and text-align: start all flip with the direction automatically. margin-left does not, which is what makes the second stylesheet necessary.

What about English words inside Arabic text?

The bidirectional algorithm handles most of it. It struggles at boundaries — a number next to punctuation next to Latin text — and the fix is dir="ltr" or the bdi element around the inserted run.

Does direction affect SEO?

Not directly. It affects whether the page is readable to the people it was written for, which is the whole point of having translated it.