🔍

首页Home › 文本工具Text Tools

🔢 规范化 Unicode 数字Normalize Unicode Numbers

把全角、上标以及阿拉伯-印度、天城文等各种文字的十进制数字折成 ASCII 0–9。本地处理。Fold fullwidth and superscript digits and decimal digits of every script (Arabic-Indic, Devanagari and more) to ASCII 0–9. Processed locally.

使用说明与常见问题How-to & FAQ

「规范化 Unicode 数字」是什么?What is the Normalize Unicode Numbers tool?

把全角、上标以及阿拉伯-印度、天城文等各种文字的十进制数字折成 ASCII 0–9。本地处理。Fold fullwidth and superscript digits and decimal digits of every script (Arabic-Indic, Devanagari and more) to ASCII 0–9. Processed locally.

如何使用「规范化 Unicode 数字」?How do I use the Normalize Unicode Numbers tool?

在「规范化 Unicode 数字」中,把内容粘贴或输入到上方输入框,结果会实时显示在下方,点击「复制结果」即可复制。例如输入「012」,得到「012」。In the Normalize Unicode Numbers: Paste or type into the input box; the result appears below instantly — click "Copy result" to copy it. Example: "012" → "012".

哪些数字会被转换?Which digits are converted?

先做 NFKC(全角 012、上标 ²、圈数字 ① 等变成 ASCII),再把所有十进制数字类别(Nd)的字符按数值换成 0–9,例如阿拉伯-印度数字 ١٢٣、波斯数字 ۹、天城文 १२、孟加拉文 ১। 汉字数字(一二三)不是十进制数字,保持不变。NFKC runs first (fullwidth 012, superscript ², circled ① and so on become ASCII), then every character in the decimal-digit category (Nd) is replaced by its value 0–9, for example Arabic-Indic ١٢٣, Persian ۹, Devanagari १२ and Bengali ১. Chinese numerals (the characters for one, two, three and so on) are not decimal digits and stay unchanged.

“只保留数字与符号”会合并数字吗?Does Digits and signs only merge numbers?

不会。数字中的千位逗号(1,234)会去掉,其他字符都换成一个空格,所以“½ ¼”得到 1/2 1/4,“$1,234.50 +5%”得到 1234.50 +5;不含数字的片段(如货币符号)会被丢弃。科学计数法保持完整(1e5、2e-3),阿拉伯小数点 ٫ 会变成点。No. Thousands commas inside numbers (1,234) are removed and every other character becomes a single space, so ½ ¼ gives 1/2 1/4 and $1,234.50 +5% gives 1234.50 +5; pieces without digits, such as currency signs, are dropped. Scientific notation stays together (1e5, 2e-3), and the Arabic decimal separator ٫ becomes a dot.

会上传文本吗?Is my text uploaded?

不会,全部在浏览器里用 JavaScript 处理,文本不会离开你的设备。No. Everything runs in your browser with JavaScript and the text never leaves your device.

输入和输出是什么样的?What does the input and output look like?

例如在「规范化 Unicode 数字」中输入 012,输出为:012。For example, the Normalize Unicode Numbers turns the input 012 into: 012.

有哪些选项可以调整?What options can I adjust?

「规范化 Unicode 数字」的设置:可勾选:「只保留数字与符号」。每次生成结果都按当前设置处理。Settings in the Normalize Unicode Numbers — tick boxes: "Digits and signs only". The result always uses the current settings.

处理大段文本会卡吗?Can it handle long text?

「规范化 Unicode 数字」在浏览器中直接处理,几 MB 以内的文本通常瞬间完成;文本不会离开你的设备。The Normalize Unicode Numbers runs in your browser; text up to a few MB is usually processed instantly and never leaves your device.

「规范化 Unicode 数字」免费吗?需要注册吗?Is the Normalize Unicode Numbers free? Do I need an account?

「规范化 Unicode 数字」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The Normalize Unicode Numbers is completely free with no sign-up or install and works on phones and desktops; what you enter is processed only in your browser.

相关工具Related tools

🔤 规范化 Unicode 字母Normalize Unicode Letters🔢 生成 Unicode 数字Generate Unicode Numbers🧹 移除组合附加符Remove Combining Characters🧽 移除 Zalgo 效果Remove Zalgo From Unicode🔁 重复 Unicode 文本Repeat Unicode↔️ 反转 Unicode 文本Reverse Unicode➡️ 右对齐 UnicodeRight Align Unicode➡️ 右侧填充 UnicodeRight Pad Unicode🔃 旋转 Unicode 文本Rotate Unicode🔤 排序 Unicode 字素Sort Graphemes✂️ 拆成 Unicode 字符Split Unicode Into Characters🧱 拆成 Unicode 片段Split Unicode Into Fragments

← 全部工具All tools