RTL (Right-to-Left) text direction support

Status Open
Maintainer reply None cached
Activity 9 comments · opened Mar 21, 2026

Preflight Checklist

  • [x] I have searched existing requests and this feature hasn't been requested yet
  • [x] This is a single feature request (not multiple features)

Problem Statement

Claude Code currently has no RTL support in its interface. For users who work in Hebrew, Arabic, or other RTL languages, this creates a significant usability problem:

When Claude responds with mixed Hebrew/English text, the display breaks and becomes difficult to read
There is no way to configure text direction in the conversation window
Users have to "guess" what is written due to incorrect text rendering
Request: Add RTL/bidirectional text support to the Claude Code interface (CLI + VSCode extension), similar to how VS Code handles RTL in the editor.

This would benefit all users writing in Hebrew, Arabic, Persian, and other RTL languages.

Proposed Solution

Add CSS direction: rtl and unicode-bidi: embed support for the conversation
pane, either:

  1. Auto-detect based on the dominant language of each message
  2. Add a user setting to force RTL mode globally
  3. Apply per-paragraph bidi algorithm (Unicode Bidirectional Algorithm - UBA)

This is standard browser/CSS behavior and should be relatively low-effort to implement
in the VSCode extension UI.

Alternative Solutions

_No response_

Priority

High - Significant impact on productivity

Feature Category

Interactive mode (TUI)

Use Case Example

  1. I work in Hebrew and English daily (Parallels reseller, Israel/MEA market)
  2. Claude responds with mixed Hebrew/English text
  3. The text renders LTR, making Hebrew unreadable — letters appear reversed

and words break incorrectly

  1. With RTL support, Hebrew users could read responses clearly without

having to copy text to another app to understand it

Additional Context

_No response_

View original on GitHub ↗

8 Comments

github-actions[bot] · 5 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/24284
  2. https://github.com/anthropics/claude-code/issues/29662
  3. https://github.com/anthropics/claude-code/issues/30984

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

AvarhamShrem · 5 months ago

+1 — Same issue here on the Claude Code desktop app (Electron) on Windows 11.

When typing or reading mixed Hebrew + English text, the line direction keeps flipping with every language switch, making it very hard to follow context. This affects both the input box and Claude's responses.

Environment:

  • Claude Code desktop app (not browser, not terminal)
  • Windows 11 Home
  • Hebrew (RTL) + English (LTR) mixed text

Since Chrome extensions (like "Claude RTL") can't be installed in the Electron app, there is currently no workaround for desktop app users.

Would love to see at least a direction: rtl / auto-detect option in the app settings. 🙏

JacquesDubnov · 4 months ago

+1 — This is a daily pain point for me as a Hebrew speaker using Claude Code in the VS Code extension.

My specific issue: When writing Hebrew with English terms mixed in (very common in dev conversations, e.g. referencing function names, file paths, or technical terms), the BiDi algorithm breaks the visual order of the sentence, making it hard to read.

What I've tried:

  • Installing RTL extensions (dalirnet.rtl-markdown, SarbandAkray.rtl)
  • Setting editor.unicodeBidi: "auto" in VS Code settings
  • None of these affect the Claude Code chat webview, since it's a closed webview with its own CSS

What would help:

  • Adding dir="auto" to message containers in the webview HTML
  • Applying unicode-bidi: plaintext CSS to chat message elements
  • These are small CSS/HTML changes that would make Claude Code usable for millions of RTL language speakers (Hebrew, Arabic, Persian, Urdu)
MeiravGit · 4 months ago

I’m joining this request! this is extremely critical.

kfiramar · 3 months ago

+1

MeidadShemesh · 2 months ago

+1 I'm experiencing this issue as well. RTL language support is essential for a large portion of users, and the lack of proper right to left text direction makes Claude Code very difficult to use. Would love to see this addressed!

yanivhrs · 1 month ago

+1 — adding a specific surface that isn't mentioned above yet: Plan Mode's Plan Viewer (the panel that shows a plan file for approval) also renders RTL content (Hebrew) left-aligned instead of right-aligned, with the same BiDi issue described in this thread.

To generalize the ask across all the reports in this cluster, it would help if the fix covered every output surface, not just the chat webview:

  1. Chat panel / message webview (already reported above)
  2. Plan Mode's Plan Viewer (plan-approval screen)
  3. The code-writing / diff window when it displays RTL-language content (e.g. comments or strings in Hebrew/Arabic/Persian)

Two concrete requirements that would resolve this for Hebrew, Arabic, and Persian alike:

  • RTL paragraphs should render with direction: rtl (right-aligned), consistent with standard Unicode Bidirectional Algorithm behavior in browsers/markdown renderers.
  • Embedded LTR runs inside RTL text — variable names, CLI commands, file paths, inline code, English words — must keep their correct left-to-right internal order and position within the surrounding RTL paragraph, instead of being visually reordered/reversed.

Applying dir="auto" + unicode-bidi: plaintext (as suggested above) to all three surfaces, not just the chat webview, would cover this.

SunnyDJPool · 1 month ago

+1 from a daily Hebrew user on Claude Desktop (Windows 10).

My entire workflow runs in Hebrew and the mixed-direction rendering makes long responses genuinely hard to read: any English token inside a Hebrew sentence (tool names, metrics like "CTR 17%", file paths) breaks the line direction, punctuation jumps to the wrong side, and bullet lists with mixed content become scrambled.

This affects every Hebrew, Arabic and Persian speaking user, hundreds of millions of potential users write RTL. Even a minimal fix would help enormously:

  1. Auto-detect paragraph direction (first strong character) and set dir accordingly per block
  2. Render inline code spans as LTR islands (unicode-bidi: isolate)

Happy to provide screenshots or test builds. Thank you!

Showing cached comments. Read the full discussion on GitHub ↗