Bidirectional Text Inspector

Reveal directional controls and summarize LTR, RTL, and neutral runs in mixed Arabic and English text.

Loading Bidirectional Text Inspector...

How to use

The report groups adjacent characters by an intentionally understandable LTR, RTL, or neutral classification and lists Unicode bidirectional controls separately. Use it to review surprising mixed-direction text.

Example

Input
abc مرحبا
Output
LTR: "abc" neutral: " " RTL: "مرحبا"

Limitations

This is a review aid, not a full implementation of the Unicode Bidirectional Algorithm and not a security audit. Numbers, punctuation, inherited marks, bracket pairing, embedding levels, and rendered ordering are more nuanced than these broad runs.

Frequently Asked Questions

Does the order in this report match visual browser rendering?

Not necessarily. It shows logical input order and broad directional runs; the Unicode Bidirectional Algorithm determines final display order.

Which hidden direction controls are named?

Common marks, embeddings, overrides, isolates, and their pop controls are reported with code points and names.