All AddonSpot tools are 100% free, 24/7 — no signup, no limits. Suggest a tool →

RTL Fix – Correct Arabic, Hebrew & Persian Text Direction on Any Website

Automatically detect and fix right-to-left text direction for Arabic, Hebrew, and Persian across every website.

If you use ChatGPT, Claude, Gemini, Copilot, Perplexity, or Mistral, you’ve probably seen Arabic or Hebrew responses render left-to-right — breaking sentence flow and pushing punctuation to the wrong side. RTL Fix solves this instantly. It scans each page for right-to-left text and applies the correct direction automatically, so your Arabic, Hebrew, and Persian content reads exactly as it should.

No more copying text into a separate editor just to read it properly. RTL Fix makes bidirectional text render correctly, in real time, on AI chatbots and ordinary websites alike.

How RTL Fix Works

The extension scans page content for Unicode RTL characters. When it finds Arabic, Hebrew, or Persian text, it applies the correct dir="rtl" attribute to the paragraph or container so the text aligns and flows properly. It deliberately leaves code blocks, pre tags, math elements, and syntax-highlighted sections untouched, so your code stays readable and left-to-right.

A MutationObserver watches for new content as it streams in, which means dynamically loaded AI responses are corrected automatically as they appear — no refresh or manual trigger needed.

You stay in control at all times. Switch modes with the toolbar button, the floating action button, or the Alt+Shift+R keyboard shortcut. Modes include auto-detect, force RTL, force LTR, and off.

Under the Hood

For those who want the technical detail, here’s exactly how RTL Fix corrects text direction:

  1. Unicode detection — The content script checks visible text against Unicode ranges for Arabic (\u0600–\u06FF), Hebrew (\u0590–\u05FF), and Persian extensions. If more than 30% of visible characters match, the element is flagged as RTL.
  2. DOM traversal — The script walks the DOM, including open shadow roots, targeting paragraphs, divs, lists, and headings, while explicitly skipping pre, code, math, and syntax-highlighted containers.
  3. Dynamic content — A debounced MutationObserver watches for new nodes, so streaming AI responses that arrive after page load are corrected in real time.
  4. Input awareness — Textareas and contenteditable fields monitor keystrokes and auto-switch direction based on the language being typed.
  5. State persistence — Your mode, per-domain rules, and custom CSS are stored locally via chrome.storage.sync.

Who Should Use RTL Fix

Key Features

Why RTL Text Breaks on AI Chatbots

Most AI chat interfaces are built left-to-right first, and they render responses without checking whether the text is actually a right-to-left language. When Arabic, Hebrew, or Persian arrives, the characters display in the wrong order at the sentence level, punctuation lands on the wrong side, and mixed English–Arabic lines become hard to follow. RTL Fix adds the missing bidirectional handling directly in your browser, so the text you read is aligned correctly no matter how the underlying site was designed.

Frequently Asked Questions

What does RTL Fix do? RTL Fix automatically detects Arabic, Hebrew, and Persian text on any webpage and applies the correct right-to-left direction, so sentences flow and punctuation appears in the right place.

Does it work on ChatGPT, Claude, Gemini, and other AI tools? Yes. RTL Fix works on ChatGPT, Claude, Gemini, Copilot, Perplexity, Mistral, and all other websites. It even corrects streaming AI responses in real time as they load.

Will it mess up my code blocks? No. RTL Fix deliberately skips pre, code, math, and syntax-highlighted sections, so your code stays left-to-right and readable while the surrounding text flows RTL.

Can I turn it on and off? Yes. You can switch between auto-detect, force RTL, force LTR, and off using the toolbar button, the floating action button, or the Alt+Shift+R keyboard shortcut.

Does it support Persian and Hebrew, or only Arabic? It supports all three. RTL Fix detects Arabic, Hebrew, and Persian text using their Unicode ranges and applies the correct direction to each.

Does it collect my data? No. RTL Fix collects zero data. Your mode, per-domain rules, and custom CSS are all stored locally on your device.

Can I set different behavior for different websites? Yes. RTL Fix supports per-domain settings and custom CSS injection, so you can fine-tune how each site is handled.

Does it help with accessibility? Yes. Correct text direction improves alignment for screen readers and makes RTL content far more readable for everyone.


Install RTL Fix for Chrome and read Arabic, Hebrew, and Persian the way it’s meant to be read — correctly aligned, on every website.