Fix Persian and Arabic Punctuation Placement When Pasting Text
Question details
The user needs Persian or Arabic punctuation to appear at the correct end of a sentence after pasting text.

- Product
- Browser text box
- Device & OS
- macOS
- Scenario
- Pasting right-to-left text copied from messaging applications or Microsoft Word into a browser text box.
- Observed behavior
- Punctuation appears at the beginning of the next line instead of at the end of the sentence.
Check whether the destination text box supports right-to-left text and whether a Persian or Arabic input source is available on your Mac. Keep a short sample sentence ready to test after changing the settings.
Set the input language and text direction before pasting
Use this approach when punctuation moves after pasting Persian or Arabic text into a browser field.
On your Mac, open System Settings > Keyboard and find Text Input. Add a Persian or Arabic input source if one is not already available.
Use the input menu in the menu bar to select Persian or Arabic before pasting. You can also use Control-Space if it is configured to switch input sources.
Click the destination text box and look for a right-to-left or text-direction option in its toolbar or context menu. Select right-to-left if the application offers it.
Paste the sample sentence into the text box and check the punctuation at the end of the sentence.

Paste Persian or Arabic text without source formatting
Try plain-text pasting if copied formatting appears to affect the result.
Work with Persian and Arabic documents in WPS Office
WPS Office is a free, lightweight alternative for editing documents in a familiar interface. Its Microsoft Office format compatibility makes it easier to move existing files, although it cannot change how a separate browser text box displays pasted text.

Frequently Asked Questions
Why does punctuation move when I paste Arabic or Persian text?
The destination may interpret the text as left-to-right or handle bidirectional text differently from the source. Check the text box or editor for a right-to-left direction setting.
How do I add a Persian or Arabic keyboard on a Mac?
Open System Settings > Keyboard, find Text Input, and add the language as an input source. Then select it from the input menu in the menu bar.
Will switching the keyboard always fix punctuation placement?
No. The input language and the text box direction are separate settings. If punctuation still moves, look for a right-to-left option in the destination application.
Can pasting as plain text help?
It can help when copied formatting affects the result. Look for Paste and Match Style or Paste as Plain Text in the destination application's Edit or context menu.




