Add Arabic diacritics (tashkeel) automatically
Add harakat (fatha, damma, kasra, sukun, shadda, tanween) to Arabic text automatically in your browser, then fix any letter with a manual tashkeel toolbar.
Loading tool…
Most Arabic is written without short vowels, and readers fill them in from context. Learners, children's books, poetry, subtitles, text-to-speech scripts and names that could be misread all need them written out. This tool adds the diacritics (tashkeel, harakat) for you: fatha, damma, kasra, sukun, shadda and the three tanween marks.
The automatic step runs a neural diacritisation model (libtashkeel by Musharraf Omer, MIT licence, trained mainly on Modern Standard Arabic) with ONNX Runtime inside your browser. The first run downloads the model and runtime, about 19 MB, once; after that it starts straight away. Your text is never uploaded.
Be realistic about accuracy. Automatic tashkeel gets common Modern Standard Arabic mostly right, but it can err on proper names, rare or foreign words, and especially case endings (i'rab), which depend on grammar across the whole sentence. The result is editable: put the cursor after a letter and use the toolbar to change or remove its mark, and review the text before you publish it. It is not a source for Quranic text; copy the Quran from a verified mushaf edition instead.
How to use it
- Paste or type Arabic text (up to 5,000 characters), or click "Try a sample".
- Choose whether to keep marks already in the text or re-diacritise everything, and whether to include case endings.
- Click "Add diacritics". The first run downloads the model; you can cancel at any time.
- Check the result. Put the cursor right after a letter (or select it) and click a mark on the toolbar to change it; "Remove marks from this letter" clears it.
- Copy the text or download it as a .txt file.
Frequently asked questions
How accurate is the automatic tashkeel?
It is reliable for everyday Modern Standard Arabic words, but it is a statistical model, not a grammarian. Expect occasional mistakes on names, rare words, dialect and the vowel at the end of words (case endings). Always read the result before publishing, and correct letters with the toolbar.
Can I use it for Quranic text?
No. Quranic text has a fixed, verified vowelling, and a model can introduce errors. Copy the Quran from a verified mushaf edition rather than diacritising it with any automatic tool.
What does the case endings option do?
Case endings (i'rab) are the vowels on the last letter of a word that change with its grammatical role, and they are where automatic tashkeel errs most. With the option off, the last letter of each word is left without a vowel (a shadda is kept), a common style for learners' material that avoids most grammar mistakes.
What happens to marks I have already typed?
With "Keep marks already in the text", letters you have vowelled keep their marks and the model is told about them, so it fills in only the rest. "Re-diacritise everything" removes existing marks first and vowels every letter again.
In what order are shadda and a vowel stored?
The tool writes shadda first and the vowel after it (for example shadda + fatha), the order the model and most Arabic keyboards use. Both orders display the same; some software normalises to vowel-first, which is harmless.
Is my text sent to a server?
No. The model and the runtime are downloaded from this site to your browser and run in a background worker. The text you type never leaves your device.
Related tools
- Remove Arabic diacritics (tashkeel)Strip harakat, tanween, shadda, sukun and Quranic marks from Arabic text, with optional tatweel removal and letter normalisation.
- Convert Arabic numerals to English (Western) numeralsConvert Arabic-Indic digits (٠-٩) and Persian digits (۰-۹) to 0-9 and back, including the Arabic decimal and thousands separators.
- Arabic official letter generatorFormal Arabic letters from templates: resignation, leave request, authorization, salary or experience certificate request, complaint. Copy or print.
- Word counter and character counterCount words, characters (with and without spaces), sentences and paragraphs, estimate reading and speaking time, and see keyword density.
- Compare text (diff checker)Compare two texts line by line or word by word and see additions and deletions side by side or inline.