Moayyad Faris
Arabic Developer Tools

Processed locally in your browser — not uploaded

RTL Preview

Check how right-to-left text actually renders — direction, alignment, font size, and mixed Arabic/Latin content — before it ships. Compare RTL against LTR side-by-side, and preview at mobile and email widths. Runs entirely in your browser.

Viewing: Responsive Full Width
RTL TargetRTL Mode
16px / 1.6 lh
Preview output will render here...
LTR ComparisonLTR Mode
16px / 1.6 lh
Preview output will render here...
01

How to use

  1. Paste your Arabic (or any RTL-language) text into the input field.
  2. Switch between Text mode (safe, escaped) and HTML mode if you need to preview markup like bold or links.
  3. Toggle side-by-side comparison to see the same content in both RTL and LTR containers.
  4. Switch the preview width to Mobile or Email to check how the text wraps at those sizes.
02

Understanding the output

The preview renders your text inside a container with the direction, alignment and font size you choose. This mirrors how `dir="rtl"` behaves in a real page — including how numbers and embedded Latin text (like an email address) flow within right-to-left paragraphs.

03

Common issues & tips

  • HTML mode renders markup directly in your browser — only preview HTML you trust, since it is not sanitized.
  • Mixed-direction text (Arabic with embedded English/numbers) can look different across browsers; always check on the actual target device before shipping.

Frequently asked questions

Is the HTML preview sanitized?
No — HTML mode renders your input directly in your own browser. Only preview markup you trust; nothing is uploaded or shared with anyone else.
Why does mixed Arabic/English text look different than I expect?
Right-to-left paragraphs still render embedded Latin words and numbers left-to-right (the Unicode bidirectional algorithm). This tool shows you that real behavior instead of an idealized preview.
Is my text sent to a server?
No. The preview renders entirely in your browser; nothing is uploaded.

Related tools