InputTestHub

Eastern Arabic Numeral Converter

Converts between Western digits, Arabic-Indic ٠-٩ and the extended set ۰-۹ used in Urdu and Persian, including the separators.

Text Nothing uploaded No sign-up Free, unlimited
Text tool
Paste something on the left to see the result.
In short There are three digit sets in common use and two of them are often confused. Western digits are 0-9. Arabic-Indic digits ٠١٢٣٤٥٦٧٨٩ are used across the Arab world. The extended set ۰۱۲۳۴۵۶۷۸۹ is used in Urdu and Persian, and it is a different set of code points — four, five, six and seven are drawn differently in the two, which is why text copied between an Arabic and an Urdu source can show mixed digits that look inconsistent. Converting between them is straightforward. The separators are the dangerous half and are off by default for that reason: the Arabic decimal mark ٫ and thousands mark ٬ are distinct characters from the Latin full stop and comma, and converting them in text that mixes both punctuation systems can turn a decimal point into a thousands separator and change a number by a factor of a thousand. Run it on a sample and read the output before applying it to a whole document.

How to use the Eastern Arabic Numeral Converter

  1. Paste your text into the input box on the left.
  2. Adjust the options above the box if you need a different behaviour.
  3. The converted text appears on the right; press Copy to put it on your clipboard.

About the Eastern Arabic Numeral Converter

The Eastern Arabic Numeral Converter converts between Western digits, Arabic-Indic ٠-٩ and the extended set ۰-۹ used in Urdu and Persian, including the separators. It runs as plain JavaScript inside the page, which means there is no upload step, no queue and no size limit imposed by a server — the only limit is your own device.

What people use it for

  • Making an Urdu document's numbers parseable by a spreadsheet.
  • Converting a scanned Arabic invoice into usable figures.
  • Publishing the same number in the form a local reader expects.

Details

Arabic-Indic٠١٢٣٤٥٦٧٨٩ — Arab world
Extended۰۱۲۳۴۵۶۷۸۹ — Urdu, Persian
They differ٤٥٦٧ against ۴۵۶۷
Decimal mark٫ not .
Thousands٬ not ,

The maths behind it

This tool uses each digit is mapped by its offset from the block start — U+0030 for Western, U+0660 for Arabic-Indic and U+06F0 for the extended set — so the value is preserved exactly. Every intermediate value is shown on screen, so the result can be checked by hand.

Separator conversion is off by default because it is the more dangerous half. Turning it on when your text mixes Latin and Arabic punctuation can change a decimal point into a thousands mark — check the output on a sample before running it over a whole document.

Where this tool stops

It maps digit characters. It does not parse numbers, so it will happily convert digits inside an identifier, a URL or a code where they were never meant to be localised.

Frequently asked questions

Are Arabic and Urdu numerals the same?
No, and this catches people constantly. They are two separate Unicode blocks, and four of the ten shapes differ — ٤ ٥ ٦ ٧ in the Arabic-Indic set against ۴ ۵ ۶ ۷ in the extended set used for Urdu and Persian. Text can silently mix both, and a parser that handles one will fail on the other.
Why do my Arabic numbers parse to the wrong value?
Probably the separators. Arabic uses ٫ for the decimal point and ٬ for thousands, the reverse of what a Latin-locale parser expects. Converting the digits without converting the separators produces a number that reads correctly and computes wrongly.
Does the Eastern Arabic Numeral Converter cost anything?
There is no cost and no cap. The Eastern Arabic Numeral Converter is not a demo of a paid product, so nothing is held back or watermarked.
Can you see what I put into this utility?
No. The Eastern Arabic Numeral Converter runs entirely in your browser using JavaScript. Nothing is transmitted, logged or stored, which you can verify yourself in the Network tab of your browser's developer tools.
What formula does the Eastern Arabic Numeral Converter use?
It uses each digit is mapped by its offset from the block start — U+0030 for Western, U+0660 for Arabic-Indic and U+06F0 for the extended set — so the value is preserved exactly. The full working is printed under the result, so you can follow every step rather than trusting a black box.
Who is the Eastern Arabic Numeral Converter for?
Typical uses: making an Urdu document's numbers parseable by a spreadsheet. Converting a scanned Arabic invoice into usable figures. Publishing the same number in the form a local reader expects. It is built for exactly those cases rather than being a general-purpose tool with this bolted on.
When is the Eastern Arabic Numeral Converter not the right tool?
It maps digit characters. It does not parse numbers, so it will happily convert digits inside an identifier, a URL or a code where they were never meant to be localised. Knowing where a tool stops being trustworthy matters more than the cases where it works.
Which values should I know?
Arabic-Indic is ٠١٢٣٤٥٦٧٨٩ — Arab world. Extended is ۰۱۲۳۴۵۶۷۸۹ — Urdu, Persian. They differ is ٤٥٦٧ against ۴۵۶۷. These are printed on the page itself, so you do not have to take them on trust.
Does the Eastern Arabic Numeral Converter work on a phone?
Yes. The page is responsive and the utility works in Chrome, Safari, Firefox, Edge and Samsung Internet on both Android and iOS. There is no app to install and nothing to sign into.

Related text tools

All 92
01

Case Converter

Converts text between twelve cases: UPPER, lower, Title, Sentence, camelCase, PascalCase…

02

Uppercase Converter

Converts any text to UPPERCASE instantly, keeping numbers, punctuation and line breaks exactly…

03

Lowercase Converter

Converts any text to lowercase, including text that was typed with Caps Lock on by mistake.

04

Title Case Converter

Converts headings to proper Title Case using AP and Chicago rules, keeping short words like…

05

Sentence Case Converter

Rewrites text in sentence case: first letter of each sentence capitalised, the rest lowercase…

06

camelCase Converter

Turns any phrase into camelCase for JavaScript, Java and JSON keys, stripping spaces, hyphens…

07

PascalCase Converter

Converts phrases to PascalCase (UpperCamelCase) for class names, React components and type…

08

snake_case Converter

Converts text to snake_case for Python variables, database columns and file names.

09

kebab-case Converter

Converts text to kebab-case for URLs, CSS class names and HTML attributes.

10

CONSTANT_CASE Converter

Converts text to SCREAMING_SNAKE_CASE for environment variables, constants and configuration…