Arabic Numerals Converter

Switch ٠١٢٣ to 0123 and back, anywhere in your text, including Persian digits and Arabic separators.

Paste any text and convert every digit in it between three systems: Western digits (0-9), Eastern Arabic digits (٠-٩, used across the Arab world), and Persian digits (۰-۹, used for Persian and Urdu). Letters, punctuation and spaces are left alone. Arabic decimal and thousands separators convert with the digits: ٫ becomes . and ٬ becomes , when going to Western digits, and back again when going the other way.

ValueWesternEastern ArabicPersianUnicode
00٠۰U+0660 / U+06F0
11١۱U+0661 / U+06F1
22٢۲U+0662 / U+06F2
33٣۳U+0663 / U+06F3
44٤۴U+0664 / U+06F4
55٥۵U+0665 / U+06F5
66٦۶U+0666 / U+06F6
77٧۷U+0667 / U+06F7
88٨۸U+0668 / U+06F8
99٩۹U+0669 / U+06F9

Eastern Arabic digits are Unicode U+0660 to U+0669. Persian digits are U+06F0 to U+06F9: the same values, different code points, so a search for ٤ will not match ۴ unless the text is converted first. Digits 4, 5, 6 and 7 look different between the two systems, which is the usual cause of a failed match. Digit order never changes: Arabic numbers run with the lowest digit on the right, exactly like Western numbers, even though Arabic text reads right to left.

Why the same number fails to match

Arabic text uses three digit systems that look alike but are different characters. Western digits (0-9) are Unicode U+0030 to U+0039. Eastern Arabic digits (٠-٩) are U+0660 to U+0669. Persian digits (۰-۹) are U+06F0 to U+06F9, used for Persian and Urdu. A database search, a spreadsheet filter or a find on a page treats ٤ and ۴ as unrelated characters, so a price list typed in one system will not match a search typed in another. Converting the text first fixes that mismatch in one step.

The confusion concentrates on four digits. Eastern ٤ ٥ ٦ ٧ and Persian ۴ ۵ ۶ ۷ look different from each other, while ٠ ١ ٢ ٣ ٨ ٩ look the same in both systems but still carry different code points. Urdu uses the Persian code points, with its own shapes for 4 and 7. The Maghreb uses Western digits almost entirely, while Egypt, Sudan and the Gulf mix Eastern and Western digits, and Saudi Arabia increasingly uses Western digits. This tool does not guess which system your reader wants: you pick the target, and it converts every digit, including the look-alikes.

Separators convert too

The Arabic decimal separator ٫ (U+066B) becomes a dot when converting to Western digits, and the Arabic thousands separator ٬ (U+066C) becomes a comma. Going the other way, dots and commas become ٫ and ٬. A price like ١٬٢٣٤٫٥٠ becomes 1,234.50, ready to paste into a spreadsheet.

Your text stays in your browser

Conversion runs in JavaScript on this page. Nothing is uploaded, stored or sent anywhere, so price lists, account numbers and personal text are safe to paste here. The counts under the output show how many digits and separators changed, so you can check the conversion before copying it out.

Frequently Asked Questions

They hold the same values but are different Unicode characters. Eastern Arabic digits are U+0660 to U+0669 (٠-٩) and Persian digits are U+06F0 to U+06F9 (۰-۹). Digits 4, 5, 6 and 7 look different between the two systems, and Urdu uses the Persian code points with its own shapes for 4 and 7.
Because the search and the page use different digit systems. A search for ٤ will not match ۴, and neither will match 4, even though all three mean four. Convert the text to one system first, then search.
Yes. The Arabic decimal separator ٫ becomes a dot and the thousands separator ٬ becomes a comma when converting to Western digits, and the reverse happens when converting to Eastern or Persian digits.
No. Arabic numbers run with the lowest-value digit on the right and higher positions to the left, exactly like Western numbers, even though Arabic words read right to left. This tool keeps the order of every digit it converts.
Both are seen, and Western digits are increasingly common in Saudi Arabia. Egypt and Sudan use Eastern digits widely, the Maghreb uses Western digits almost entirely, and Iran, Afghanistan and Pakistan use Persian digits. Match the system your reader already uses.
No. All conversion runs in your browser on this page. Nothing is uploaded or stored.

Related Tools

Was this tool helpful?

Comments

Loading comments...

Check Out Other Popular Tools