Arabic-Indic Digits Converter

Convert Arabic-Indic digits to 0-9 and back, and to Persian digits, in any text.

How to use

What it checks and how it works

Unicode has three sets of decimal digits used with Arabic script: the Western digits 0-9 (U+0030 to U+0039), the Arabic-Indic digits ٠-٩ (U+0660 to U+0669) and the extended Arabic-Indic, or Persian, digits ۰-۹ (U+06F0 to U+06F9). The tool maps each digit one to one, so only the glyph changes and never the value. With separators enabled, the Arabic decimal separator ٫ (U+066B) and thousands separator ٬ (U+066C) convert to the full stop and comma, and back. Text that is not a digit or separator is left exactly as it was.

Which digits do Arabic websites use?

Both are common. Many Arabic sites use the Western digits 0-9 in interfaces and the Arabic-Indic digits in some body text, so a search or form often has to accept both.

Why are the Persian digits different from the Arabic ones?

Unicode encodes ٤ ٥ ٦ and ۴ ۵ ۶ as separate characters, because the shapes of four, five and six differ. The other digits look the same but have separate code points too.

Does it change the numbers' values?

No. It swaps digit characters one to one, so 12 and ١٢ are the same value written in two scripts.

Sources

Related tools

Privacy

Runs in your browser; nothing is uploaded. The interactive tool needs JavaScript.