Change the direction of text as you type on Mac
macOS supports bidirectional text, so you can enter and edit text from left to right (such as English or Chinese) and from right to left (such as Arabic or Hebrew) in the same paragraph. The first character you enter determines the default direction for a paragraph.
Change direction in paragraphs
In an app on your Mac, do one of the following:
In any paragraph: With the pointer anywhere in the paragraph, choose a writing direction command from the Format menu. In some apps, you may need to choose Format > Alignment or Format > Text. Some apps may not offer the commands.
In a paragraph written right to left: Control-click anywhere in the paragraph, choose Writing Direction (or Paragraph Direction) from the shortcut menu, then choose a command. For Default, the direction is based on the first character in the paragraph.
For example, if you start a paragraph with an English character, even if most of the paragraph is in Arabic, the sentences in the paragraph are displayed left to right as:
تم إصدار MacBook و MacBook Pro بشكل جديد
When you choose Right to Left from the shortcut menu, the sentences in the paragraph are displayed correctly as:
بشكل جديد MacBook Pro و MacBook تم إصدار
Change direction in selected text
You can change the direction in selected text written right to left.
In an app on your Mac, Control-click the selection, choose Writing Direction (or Selection Direction) from the shortcut menu, then choose a command. If you choose Default, the direction of the selected text is set to match the direction of the paragraph in which it appears.
For example, if you’re using an English input source but you begin a sentence with a Hebrew character, the text is displayed incorrectly as:
.is the first letter of the Hebrew alphabet א
If you select the sentence and choose Left to Right from the shortcut menu, the sentence is displayed correctly as:
א is the first letter of the Hebrew alphabet.
Use bidirectional keyboard shortcuts
On your Mac, choose Apple menu > System Settings, then click Keyboard in the sidebar. (You may need to scroll down.)
Go to Text Input on the right, then click Edit.
If necessary, add an input source for a right-to-left language.
Select the input source on the left, then make sure the “Enable keyboard shortcuts” option is turned on.
You can also turn on or off the “Use natural selection” option (used to select bidirectional text).
In an app, choose one of the following bi-directional keyboard shortcuts:
Change selected text to left to right: Press Control-Option-Command-Right Arrow.
Change selected text to right to left: Press Control-Option-Command-Left Arrow.
Change selected text to the default direction: Press Control-Option-Command-Down Arrow.
Change a paragraph to left to right: Press Control-Command-Right Arrow.
Change a paragraph to right to left: Press Control-Command-Left Arrow.
Change a paragraph to the default direction: Press Control-Command-Down Arrow.
Type the Arabic short date in the order it’s displayed: Press Control-Slash to enter each slash.