BIDI - Forge by amirmkazemi
Fixes mixed Persian, Arabic and English text order in AI chats — bullets, numbered lists, inline code and code blocks all read the right way round.
Available on Firefox for Android™Available on Firefox for Android™
Scan the QR code to open this extension in Firefox for Android
Extension Metadata
About this extension
BIDI - Forge fixes the reading order of mixed right-to-left (Persian, Arabic, Hebrew) and left-to-right text in AI chat interfaces, where a single English word, a number, a bullet or an inline code span is enough to flip a whole sentence the wrong way.
It resolves a base direction for each block of a reply — ignoring runs that are technical rather than linguistic, such as inline code, code blocks, URLs, digits and emoji — so a Persian line that opens with
What it fixes
How it works
Rendered replies are never rewritten. The add-on only sets direction attributes and applies a stylesheet, so inline code and links stay intact, copying an answer gives you clean text with no invisible characters, and switching the add-on off restores the page exactly.
Privacy
No network requests, no analytics, no remote code. The only thing stored is your own settings. Everything happens locally in your browser.
Works on Claude, ChatGPT, Gemini, Grok, Copilot, Perplexity, DeepSeek and Qwen, or on every site if you choose.
Open source (MIT): https://github.com/BIDI-Forge/bidi-forge
It resolves a base direction for each block of a reply — ignoring runs that are technical rather than linguistic, such as inline code, code blocks, URLs, digits and emoji — so a Persian line that opens with
useState or 1. stays right-to-left instead of anchoring on its first character.What it fixes
- Sentences that start with code, a number, a bullet or an English term
- Bullets and list numbers landing on the wrong side, with the wrong indentation
- Items in the same list disagreeing with each other
- Punctuation, quotes and brackets jumping to the wrong end of a sentence
- Persian comments inside code blocks, while the code itself stays left-to-right
- The message box, where each line you type follows its own language
How it works
Rendered replies are never rewritten. The add-on only sets direction attributes and applies a stylesheet, so inline code and links stay intact, copying an answer gives you clean text with no invisible characters, and switching the add-on off restores the page exactly.
Privacy
No network requests, no analytics, no remote code. The only thing stored is your own settings. Everything happens locally in your browser.
Works on Claude, ChatGPT, Gemini, Grok, Copilot, Perplexity, DeepSeek and Qwen, or on every site if you choose.
Open source (MIT): https://github.com/BIDI-Forge/bidi-forge
Rated 0 by 0 reviewers
Permissions and data
Required permissions:
- Access your data for sites in the chatgpt.com domain
- Access your data for sites in the openai.com domain
- Access your data for sites in the gemini.google.com domain
- Access your data for sites in the ogs.google.com domain
- Access your data for sites in the bard.google.com domain
- Access your data for sites in the notebooklm.google.com domain
- Access your data for sites in the aistudio.google.com domain
- Access your data for sites in the claude.ai domain
- Access your data for sites in the anthropic.com domain
- Access your data for sites in the copilot.microsoft.com domain
- Access your data for sites in the perplexity.ai domain
- Access your data for sites in the deepseek.com domain
- Access your data for sites in the chat.deepseek.com domain
- Access your data for sites in the x.com domain
- Access your data for sites in the twitter.com domain
- Access your data for sites in the x.ai domain
- Access your data for sites in the grok.com domain
- Access your data for sites in the grok.x.com domain
- Access your data for sites in the chat.qwen.ai domain
- Access your data for sites in the qwenlm.ai domain
- Access your data for sites in the meta.ai domain
- Access your data for chatgpt.com
- Access your data for openai.com
- Access your data for gemini.google.com
- Access your data for ogs.google.com
- Access your data for bard.google.com
- Access your data for notebooklm.google.com
- Access your data for aistudio.google.com
- Access your data for claude.ai
- Access your data for anthropic.com
- Access your data for copilot.microsoft.com
- Access your data for perplexity.ai
- Access your data for deepseek.com
- Access your data for chat.deepseek.com
- Access your data for x.com
- Access your data for twitter.com
- Access your data for x.ai
- Access your data for grok.com
- Access your data for grok.x.com
- Access your data for chat.qwen.ai
- Access your data for qwenlm.ai
- Access your data for meta.ai
Optional permissions:
- Access your data for all websites
Data collection:
- The developer says this extension doesn't require data collection.
More information
- Add-on Links
- Version
- 0.4.1
- Size
- 65.8 KB
- Last updated
- 5 days ago (Sep 27, 2026)
- Related Categories
- License
- MIT License
- Privacy Policy
- Read the privacy policy for this add-on
- Version History
- Add to collection