How to edit an Arabic PDF and keep the text right to left
Editing Arabic in a PDF often goes wrong in ways that never happen with English or French: letters come out separated, a sentence appears backwards, numbers jump to the wrong end of the line, or the corrected word is drawn in a font that looks nothing like the rest of the page. This guide explains where those problems come from and how to make a correction that reads naturally.
You need the PDF itself, made by a word processor, a browser or another program. If your document is a scan or a photo, there is no text in it yet: follow the guide on OCR for scanned Arabic PDFs first.
Why Arabic PDFs are hard to edit
A PDF does not store a sentence the way you read it. It stores shapes and their positions on the page, from left to right. For Arabic, the program that made the file has already chosen the right form of every letter (isolated, initial, middle or final) and has laid the shapes out in visual order. An editor that simply reads the shapes back gets the letters in reverse order and in forms that no longer join once you change them.
Fonts add a second problem. Most PDFs carry only the letter forms that were actually used. If the original word never needed the final form of a letter, that form is simply not in the file, and typing a new word that needs it fails or falls back to another font.
What PDFancy does with Arabic text
- It rebuilds the reading order, so the editing box shows the sentence as you would read it, from right to left, with numbers and Latin words in their usual place.
- It chooses the letter forms again when you type, so the letters of your new words join correctly.
- It reuses the document’s own Arabic font when every form you need already appears somewhere in the document, so the correction matches the page.
- Otherwise it uses a bundled Arabic font close in style: Amiri for traditional, serif designs such as Times New Roman or Traditional Arabic, and IBM Plex Sans Arabic for plain designs such as Arial or Tahoma.
- Rewritten Arabic paragraphs stay aligned to the right.
Step by step
- Open the PDF in the Edit PDF tool. The file is read by your browser and is not uploaded anywhere.
- Click the Arabic paragraph you want to change. The editing box opens right to left, with the paragraph in reading order.
- Before typing, look at the font status of the block. “Original font” means the document’s own font will draw your correction. Another status names the font that will be used instead.
- Type your correction as you normally would. You can mix Arabic, digits and Latin words in the same sentence.
- Press Enter or click outside the block to finish, and use Ctrl+Z (Cmd+Z on a Mac) to undo any step.
- To add a new Arabic line, use the Text tool, place the box and type: the text is shaped and written right to left.
- Download the PDF and check it in another reader, as described below.
Choosing the font yourself
When the original font cannot be reused, the properties panel lets you pick the font of the block. For Arabic, choose Amiri for a classic, book-like look or IBM Plex Sans Arabic for a modern, plain look. Pick the one closest to the surrounding text, and keep the size the same as the neighbouring lines.
How to check the result
- Zoom in and compare the edited line with its neighbours: letters must be joined, dots in place and the line aligned on the right like the others.
- Copy the edited sentence from another PDF reader and paste it into a text editor. It should paste in the right order, which shows the text was really replaced and is readable by search engines and screen readers.
- Search for one of your new words with the reader’s search (Ctrl+F). If it is found, the text is stored correctly.
- Look closely at vowel marks (harakat) and at numbers inside the sentence: these are the details most likely to need a second look.
Tips
- Keep corrections short when the original font is reused: changing a name or a date is easier to blend in than rewriting a whole paragraph.
- If the document mixes Arabic and French or English on the same page, edit each paragraph separately; each keeps its own direction.
- Very decorative calligraphy fonts are rarely embedded in a reusable way. Expect a bundled font for those, and check the look before you send the file.
- Keep an untouched copy of the original file before you start.
- Only edit documents you own or are allowed to change. Changing an official certificate can be illegal.
Frequently asked questions
Why do my Arabic letters appear separated in other editors?
Those editors read the letter shapes stored in the PDF without rebuilding the joining forms. PDFancy chooses the forms again for every word you type, so the letters join.
Will my correction use the same font as the document?
Yes when every letter form you need already appears somewhere in the document. Otherwise the font status names the bundled Arabic font that will be used, Amiri or IBM Plex Sans Arabic.
Can I write numbers and English words inside an Arabic sentence?
Yes. Digits and Latin words keep their own left-to-right order inside the right-to-left sentence. Check unusual mixes, such as several numbers separated by slashes, after editing.
Is the interface available in Arabic?
Not yet. The editor’s menus are in English and French, but Arabic documents are edited, recognised and converted right to left.