RTL Fix for AI Chats
Overview
Fixes right-to-left text (Hebrew, Arabic, Persian…) on AI chats while keeping math, code, and numbers left-to-right.
When an AI assistant answers in a right-to-left language such as Hebrew, Arabic, or Persian, the text often renders backwards: it flows the wrong way and punctuation lands on the wrong side. Fixing this the obvious way — flipping the whole page to right-to-left — breaks something else: math (KaTeX / MathJax) renders scrambled and code blocks misalign. This extension solves both problems at once, without ever forcing a blanket right-to-left flip: • Each paragraph, list item, and heading resolves its own reading direction automatically from its content — so right-to-left text reads correctly while English stays left-to-right, even in the same answer. • Math, equations, and code are locked left-to-right and isolated from the surrounding text, so they are never reordered by the right-to-left layout around them. • Right-to-left list bullets, numbers, and blockquote bars move to the correct side. It runs on major AI chat and assistant websites (the full, current list is on the GitHub page). A single on/off switch in the toolbar popup turns it on or off instantly, with no page reload. Privacy: no tracking, no analytics, no network requests, and no data collection of any kind. All processing happens locally in your browser to apply text-direction styling; nothing is ever sent anywhere. Open source: github.com/adinizri/rtl-fix-for-ai-chats
0 out of 5No ratings
Details
- Version1.4.5
- UpdatedJuly 11, 2026
- Size22.79KiB
- LanguagesEnglish
- Developer
Email
adin624@gmail.com - Non-traderThis developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.
Privacy
This developer declares that your data is
- Not being sold to third parties, outside of the approved use cases
- Not being used or transferred for purposes that are unrelated to the item's core functionality
- Not being used or transferred to determine creditworthiness or for lending purposes