Skip to content

Main content

Persian Numeral Digit Normalizer Tool

Replace only Eastern Arabic/Persian digits U+06F0–U+06F9 with ASCII digits, preserving all separators and other text.

Loading tool…

Description

Replace only Persian digits U+06F0-U+06F9 with the corresponding ASCII digits and leave every other character unchanged.

Unicode text can be counted as code points, UTF-16 units, encoded bytes, or grapheme clusters. A literal character transformation follows a specific mapping and may preserve distinctions that a broader normalization would remove.

Replace only Persian digits U+06F0-U+06F9 with the corresponding ASCII digits and leave every other character unchanged.

When to use this tool

Use Persian Numeral Digit Normalizer when you need one explicitly bounded Unicode mapping, count, or encoding component.

How to use the tool and how it works

  1. Enter text. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read normalized. Use the output convention below.

Replace only Persian digits U+06F0-U+06F9 with the corresponding ASCII digits and leave every other character unchanged.1

Input fieldMeaning and unitsAccepted input
textSupplied text; only the transformations stated above are applied.Required. Text; maximum UTF-16 length 8192.
Output fieldInterpretationReturned shape
normalizedResult under the specific normalization rule above.Required. Text; maximum UTF-16 length 8192.
json
{
  "input": {
    "text": "۱۲۳٫۴۵"
  },
  "output": {
    "normalized": "123٫45"
  }
}

Limitations and assumptions

  • This does not normalize Arabic-Indic digits U+0660-U+0669, separators, signs, dates, or the validity of a number.
  • Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.

Alternative or Complementary methods

Choose normalization and comparison rules for the intended language and preserve the original text when creating a search variant.

References

  1. Calculation and input contract: middle-eastern-studies/persian-numeral-digit-normalizer — tool.io

Similar or alternative tools