Others

Fix Persian and Arabic Punctuation Placement When Pasting Text

Muhammad TalhaMuhammad Talha Nov 14, 2026 870 views

Question details

The user needs Persian or Arabic punctuation to appear at the correct end of a sentence after pasting text.

Fix Persian and Arabic Punctuation Placement When 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.
Before you start

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.

Solution 1Recommended

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.

1
Check the input source

On your Mac, open System Settings > Keyboard and find Text Input. Add a Persian or Arabic input source if one is not already available.

2
Switch languages

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.

3
Set right-to-left direction

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.

4
Paste and check

Paste the sample sentence into the text box and check the punctuation at the end of the sentence.

Set the input language and text direction before pasting
Input language and direction are separate: Changing the keyboard alone may not change the text box direction. Some websites control text direction and do not offer a manual setting.
Free Microsoft Office alternative

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.

Edit Persian and Arabic document text in WPS WriterOpen and edit Microsoft Word DOC and DOCX filesUse a familiar interface to move from Microsoft OfficeWork with a free, lightweight office suite
microsoft office alternative - wps office

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.