How to use it
- Paste your text
Type, paste, or drop a .txt file into the editor. Long documents are fine.
- Choose the digits you want
0123 for forms, code and spreadsheets; ٠١٢٣ for Arabic print; ۰۱۲۳ for Persian and Urdu.
- Copy or download
Copy the result, download it as a .txt file, or press Undo to go back a step.
Two kinds of "Arabic" numbers
The digits 0–9 used in English are historically called Arabic numerals. The digits most of the Arab world east of Libya actually writes, ٠ ١ ٢ ٣ ٤ ٥ ٦ ٧ ٨ ٩, are called Arabic-Indic (or Eastern Arabic) digits. Iran, Afghanistan and Pakistan use a third set, ۰ ۱ ۲ ۳ ۴ ۵ ۶ ۷ ۸ ۹, whose 4, 5 and 6 look different. Phones in Egypt and the Gulf often type ٠١٢٣ by default.
Why convert
To a computer, ٥ and 5 are different characters. Many web forms reject a phone number or national ID typed in Arabic-Indic digits, spreadsheets treat them as text so formulas return errors, and databases do not match them. Converting to 0–9 fixes that. Going the other way, ٠١٢٣ looks right in Arabic print, invitations and certificates.
What the converter does
- Every digit from all three sets is converted to the set you choose, so mixed text comes out consistent.
- When converting to 0–9, the Arabic decimal separator ٫ and thousands separator ٬ between digits become
.and,, so١٢٥٫٥٠becomes125.50. - Converting to ٠١٢٣ leaves dots and commas alone, because they also appear in dates, IP addresses and version numbers.
Cleaning more Arabic text? Remove tashkeel or normalise letters in the same editor.