文字方向轉換器

高級文字方向轉換器,支援從左到右、從右到左和雙向文字格式 瀏覽器內快速處理,保護隱私,免費使用,無需註冊。

轉換類型

根據你的文字自動判斷輸出方向

目標方向

瀏覽器根據內容決定

看不見的 Unicode 控制字元

偵測結果: —
試試範例
轉換後的文字
轉換後的文字將顯示在這裡...
LTR 0 RTL 0 中性 0
檢測到的方向— 字符數0

工作原理

處理文字方向轉換的簡單流程

  1. 1

    輸入文字

    粘貼或輸入任何語言的文字

  2. 2

    選擇方向

    選擇目標方向:LTR、RTL 或自動

  3. 3

    查看預覽

    查看應用方向後的實時預覽

  4. 4

    複製結果

    複製格式化的文字用於您的項目

文字方向功能

全面支援雙向文字處理

RTL 支援

完全支援阿拉伯語、希伯來語、波斯語和其他 RTL 語言

自動檢測

基於字符分析的智慧文字方向檢測

實時轉換

輸入時即時轉換和預覽

Unicode 標記

支援 Unicode 方向格式化字符

內建編輯器功能

邊輸入邊即時預覽、逐行方向處理、一鍵複製與 .txt 匯出,帶來線上 RTL 文字編輯器般的體驗

適用於

多語言內容管理的必備工具

Web 開發 內容管理 翻譯工作 數據處理

常見問題

甚麼是文字方向?
文字方向指的是文字的閱讀和顯示方式。LTR(從左到右)用於英語、西班牙語和法語等語言。RTL(從右到左)用於阿拉伯語、希伯來語和波斯語等語言。
自動檢測如何工作?
我們的自動檢測分析文字中的 Unicode 字符範圍。它計算 LTR 字符(拉丁文、西里爾文等)和 RTL 字符(阿拉伯文、希伯來文)的數量,以確定主要的文字方向。
甚麼是 Unicode 方向標記?
Unicode 提供了特殊的不可見字符,如 LRM(從左到右標記)和 RLM(從右到左標記),可以控制文字方向。這些標記對於混合 LTR 和 RTL 文字特別有用。
何時應該使用強制反轉?
當您想以與其自然方向相反的方向顯示文字時,強制反轉很有用,例如用英文文字測試 RTL 佈局,或為特定應用反轉字符順序。
如何處理混合的 LTR 和 RTL 文字?
對於混合內容,使用"自動方向"選項,它允許瀏覽器根據每個文字塊中的第一個強方向字符來確定方向。這對於雙語內容非常理想。
WhatsApp 裡阿拉伯文反轉或斷開顯示,怎麼修復?
這通常是因為阿拉伯文複製自會丟失方向資訊的來源——字母按從左到右顯示,詞語順序也被顛倒。把文字貼到這裡,目標方向選擇 RTL,需要時加上 RLM 標記,再把結果複製回 WhatsApp——控制字元會隨文字一起保留,在 Android 和 iPhone 聊天中保持可讀。
在 Microsoft Word 裡怎樣正確輸入從右到左的文字?
Word 原生支援 RTL:用 Ctrl+右側 Shift 設定段落方向(或段落 → 文字方向 → 從右至左),並在 Windows 語言設定中啟用阿拉伯文鍵盤。未做這些設定時輸入或匯入的文字,可用本轉換器修復——在這裡以 RLE/PDF 標記包裹後,再貼到已設定好段落方向的 Word 中。
在 Photoshop 中如何保持 RTL 文字整齊對齊?
在 Photoshop 中啟用中東文字引擎(偏好設定 → 文字 → 選擇文字引擎選項 → 中東和北非),並在段落面板中設定從右到左方向。阿拉伯文與拉丁字母混排的圖層,請先在這裡修正字串——逐行方向和 Unicode 標記可避免 Photoshop 文字圖層常見的標點錯亂和括號鏡像問題。
What is RTL text, and which languages are written right to left?
RTL text is text that reads from right to left, so lines start at the right edge and flow leftward. Major RTL languages include Arabic, Hebrew, Persian (Farsi), Urdu, Pashto, and Divehi. Most other languages — English, Chinese, Russian, and so on — are LTR (left to right). If a document or chat message shows RTL text in the wrong order, paste it into this converter to restore the correct direction.
How do I fix reversed or garbled RTL text online?
Reversed Arabic or Hebrew usually appears when text is copied out of an app that drops direction information: the characters survive, but the renderer treats them as LTR and flips the word order. Paste the broken text here, use Auto Detect to identify the real direction, apply Force Reverse or add RLM/RLE marks, then copy the repaired output. The per-line direction option fixes documents where only some lines are affected.
What is the difference between LTR and RTL text?
LTR (left-to-right) text begins at the left margin and flows right; RTL (right-to-left) text begins at the right margin and flows left. The direction also mirrors layout: in RTL interfaces, headings align right, numbered lists count from the right, and icons sit on the opposite side. A single paragraph can contain both directions at once — that is bidirectional (bidi) text, which Unicode control characters keep in the right order.
How do I convert Arabic text to display right to left?
Paste your Arabic text and set the target direction to RTL, or rely on auto-detection, which recognizes the Arabic Unicode block automatically. The converter can embed RLM and RLE/PDF bidirectional controls so the output keeps its direction in editors, spreadsheets, and web pages. On an HTML page, also set dir="rtl" on the surrounding element so the whole layout mirrors correctly.