首页Home › 文本工具Text Tools

🔤 文字转数字Words to Numbers Converter

把英文数字单词(one hundred twenty-three)或中文数字(一百二十三、壹佰贰拾叁、3万5千)转换成阿拉伯数字,支持负数、小数和超大数,每行一个批量转换。Convert number words to digits — English (one hundred twenty-three) or Chinese (一百二十三, 壹佰贰拾叁, 3万5千) — with negatives, decimals and huge values, one per line.

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

「文字转数字」是什么?What is the Words to Numbers Converter tool?

把英文数字单词(one hundred twenty-three)或中文数字(一百二十三、壹佰贰拾叁、3万5千)转换成阿拉伯数字,支持负数、小数和超大数,每行一个批量转换。Convert number words to digits — English (one hundred twenty-three) or Chinese (一百二十三, 壹佰贰拾叁, 3万5千) — with negatives, decimals and huge values, one per line.

如何使用「文字转数字」?How do I use the Words to Numbers Converter tool?

在「文字转数字」中,把内容粘贴或输入到上方输入框,结果会实时显示在下方,点击「复制结果」即可复制。例如输入「one hundred twenty-three」,得到「123」。In the Words to Numbers Converter: Paste or type into the input box; the result appears below instantly — click "Copy result" to copy it. Example: "one hundred twenty-three" → "123".

为什么 “one two” 会报错?Why is "one two" rejected?

两个个位数、两个整十数或重复的 hundred/thousand 连在一起(one two、thirty forty、one hundred two hundred)不是一个数的标准读法,直接相加会得出错误结果,所以会提示顺序不对。年份式的读法(twenty twenty = 2020)也不支持,请写成 two thousand twenty。Two units, two tens or a repeated hundred/thousand in a row (one two, thirty forty, one hundred two hundred) is not a valid way to read one number, and silently adding them would give a wrong value, so the tool reports the order instead. Year-style readings (twenty twenty = 2020) are not supported either — write two thousand twenty.

支持哪些写法?Which forms are supported?

英文:zero 到 quintillion,可带 and、连字符、a hundred、minus,小数用 point 逐位读(point two five)。中文:小写(一二三)、大写(壹贰叁)、两、〇/零,单位十百千万亿,口语“二百五”=250、“三万五”=35000,逐位读的“二零二四”=2024,以及“3万5千”这样的阿拉伯数字混写。English: zero to quintillion with and, hyphens, "a hundred", minus, and decimals read digit by digit (point two five). Chinese: everyday and financial numerals (一二三 / 壹贰叁), 两, 〇/零, units 十百千万亿, colloquial 二百五 = 250 and 三万五 = 35000, digit-by-digit 二零二四 = 2024, and mixed forms like 3万5千.

能处理多大的数?How large can numbers be?

用 BigInt 精确计算,不会出现科学计数法或精度丢失,例如 nine quintillion = 9,000,000,000,000,000,000。It uses exact BigInt arithmetic — no scientific notation or rounding — e.g. nine quintillion = 9,000,000,000,000,000,000.

“3.5万”可以吗?Does "3.5万" work?

暂不支持“小数 + 单位”的混写,请写成“3万5千”或“三万五千”。Decimal-plus-unit forms are not supported yet; write 3万5千 or 三万五千 instead.

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

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

「文字转数字」免费吗?需要注册吗?Is the Words to Numbers Converter free? Do I need an account?

「文字转数字」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The Words to Numbers Converter 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

👹 Zalgo 乱码文字生成器Zalgo Text Generator📺 故障风文字生成器Glitch Text Generator🔢 字数统计Word & Character Counter🔠 大小写转换Case Converter🧹 删除重复行Remove Duplicate Lines↕️ 文本行排序Sort Lines🆚 文本对比Text Diff Checker🔍 文本查找替换Find and Replace Text🔗 URL Slug 生成器URL Slug Generator📄 假文生成器Lorem Ipsum Generator🔁 文本反转Reverse Text␣ 去除多余空格Remove Extra Spaces

← 全部工具All tools