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
- Enter text. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- 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 field | Meaning and units | Accepted input |
|---|---|---|
| text | Supplied text; only the transformations stated above are applied. | Required. Text; maximum UTF-16 length 8192. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| normalized | Result under the specific normalization rule above. | Required. Text; maximum UTF-16 length 8192. |
{
"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
Similar or alternative tools
- Korean Name Hyphen Search Variant
Remove every ASCII hyphen from romanizedName and preserve all other characters as searchVariant.
- Japanese Macron Romanization Search Variant
Replace precomposed macron vowels with their corresponding unmarked ASCII vowel, preserving case.