Arabic text fixer for Photoshop, After Effects and Unity
Paste your Arabic text, and the fixed text shows as you type, joined and in order, to paste into the app.
Type or paste it as you'd normally write it. Each line is fixed on its own, so break the lines where you want them.
Untick it if the app already runs Arabic from right to left and only shows the letters apart.
If the marks show as boxes or out of place in the app, try separate marks, or remove them.
This tool runs on your device. We never send what you type or your files anywhere.
Was this tool useful?
How to use it
- Type or paste your Arabic text, with a line break wherever the line should break in the design.
- Leave the order reversed for most apps. Untick it only if the app already runs Arabic from right to left.
- Copy the result, or download it as a text file, and paste it into the app as it is.
- In the app, choose a font that has Arabic, such as Arial or Tahoma on Windows, and align the text to the right.
How it works
Arabic letters join, and each takes a different shape at the start, in the middle and at the end of a word. Arabic also runs from right to left, while English words and numbers inside it run from left to right. So an app needs two things to show it: shaping, which picks each letter's joined shape, and bidirectional layout (bidi), which runs each part in its own direction. An app without them draws each letter alone, from left to right, and Arabic shows as separate letters in reverse.
The tool does both before the app sees the text. It swaps each letter for the character Unicode keeps for its shape in that place, its presentation form, with لا and its kin as one shape. Then it turns each Arabic run round, so the app draws it in the right order. English words and numbers keep their order, brackets turn to face the right way, and punctuation goes where a reader of Arabic expects it, as a browser lays out the same line. Persian and Urdu letters such as پ چ ژ گ ک ی work too.
Try the app's own Arabic support first, as it gives you text you can still edit. In Photoshop, Illustrator and InDesign, open the Paragraph panel's menu and choose the Middle Eastern features, composer or layout rather than the Latin one, then set the paragraph direction to right to left. Older versions of Photoshop also need Middle Eastern and South Asian chosen in Preferences, under Type, and a restart. In older After Effects and Premiere Pro, set Text Engine to South Asian and Middle Eastern in Preferences, under Type in After Effects and Graphics in Premiere Pro. In Unity, a right-to-left plugin for TextMeshPro, such as RTLTMPro, fixes text as the game runs.
Text fixed this way is for display only. It holds the letters' shapes in reverse, not the letters in order, so it can't be searched, spell-checked or edited properly, and screen readers and translation tools read it wrongly. Keep your original, and when a word changes, change the original and fix it again.
Each line is fixed on its own. If the app wraps a long line by itself, the end of the sentence lands on the first line, so put the line breaks in yourself. Direction marks and controls are dropped, and each line takes its direction from what is in it: a line with an Arabic letter runs right to left, and a line with none stays as it is.
Diacritics stay on their letters unless you choose otherwise, which suits apps that place marks over letters. Where they show as boxes or in the wrong place, choose separate marks: each becomes a character of its own beside its letter, on a short tatweel where the letter joins the next one. Or remove them.
Examples
- A headline in Photoshop without its Arabic features
- Type عروض الصيف, copy the result and paste it into the text layer. It shows joined and reads from right to left, where before it showed separate letters running from left to right.
- English and numbers in an Arabic line
- In سعر iPhone 15 هو 3000 the Arabic words turn round while iPhone 15 and 3000 keep their order, so the app shows the line as a reader expects.
- Lam-alef and diacritics
- In أهلًا وسهلًا lam and alef become the one shape لا, and the tanween stays on its letter, becomes a separate mark, or goes, as you choose.
Questions
Why does Arabic show as separate, reversed letters?
The app doesn't support Arabic: it neither joins the letters nor runs the text from right to left. Photoshop and Illustrator do this when their Arabic features are off, and so do older After Effects and Premiere Pro, Unity's own text and many game engines.
Should I use this or the app's own Arabic support?
The app's own support, when it has one: its text stays editable and searchable. This tool is for apps and versions that don't have it, or for when you can't change their settings.
Can I edit the fixed text in the app?
Not well, as its letters are stored as shapes, in reverse. Edit your original text, fix it again, and paste in the new result.
Why do some letters show as boxes?
The font lacks the Arabic presentation forms the fixed text is made of. Choose a font that has them, such as Arial or Tahoma on Windows.
Why does the second line come out first?
The app wrapped a long line by itself, and as it reads the line from the left, the end of the sentence goes to the top. Break the lines yourself before fixing them, and in Photoshop click with the Type tool rather than drawing a text box.
Does it work for Persian and Urdu?
Yes, for the letters Unicode gives joined forms, such as پ چ ژ گ ک ی and ے. Letters without them show as they are.
Does it work for games in Unity?
Yes, for fixed text such as titles and menus: paste the result into the text field. For text that changes as the game runs, use a plugin that fixes it inside the game, such as RTLTMPro for TextMeshPro.