工具代码会在浏览器中处理所选文件和输入内容,不会将其提交给 TOOLGRID 的处理接口。 TOOLGRID 只衡量工具使用情况,不记录你输入的内容。
- 不上传工具输入至 TOOLGRID
- 不登录
- 复制前先检查
Loading tool…
这个工具能做什么
Parse a signed whole number in base 2, 8, 10, 16, 32, or 36 and convert it to another supported base. The implementation uses BigInt for exact integer conversion, accepts underscore separators, and shows the decimal value beside the selected output.
Base Converter performs exact positional-number conversion for integers using digits 0-9 and letters a-z where the selected base permits them.
It covers binary flags, octal values, decimal IDs, hexadecimal bytes, and compact base-32 or base-36 identifiers without routing through a floating-point Number.
Prefixes such as 0x and decimal fractions are not parsed; choose the source base explicitly and enter only the signed integer digits for that base.
这个工具适合解决什么问题
Translate masks, protocol constants, color values, or byte-oriented identifiers into decimal or another debugging notation.
Move an integer between decimal and a compact base-32 or base-36 representation without losing digits to floating-point rounding.
Convert an octal integer to binary or decimal when checking low-level flags, examples, or documentation.
依赖结果前需要检查什么
- Performance and maximum practical input size depend on browser memory, device speed, and the structure of the input.
- Review the generated result before replacing or publishing an original file.
如果还需要校验、转换或复用结果,可以继续打开相近的浏览器本地工具。
如何使用
01使用场景
Translate masks, protocol constants, color values, or byte-oriented identifiers into decimal or another debugging notation.
Move an integer between decimal and a compact base-32 or base-36 representation without losing digits to floating-point rounding.
Convert an octal integer to binary or decimal when checking low-level flags, examples, or documentation.
使用技巧
- 01Select the base instead of typing a prefix
Enter ff with source base 16, not 0xff. Prefix characters are treated as digits and will make the value invalid in bases where they do not belong.
- 02Use underscores only as separators
Inputs such as 1111_0000 or 1_000_000 are accepted because underscores are removed before parsing; they do not change the number.
- 03Keep fractions out of integer conversion
The converter accepts whole numbers only. A radix point and repeating fractional expansions require a separate rational-number conversion method.
常见问题
02Does it support negative numbers?
Yes. Signed integer values are supported.
Which bases are supported?
Binary (2), octal (8), decimal (10), hexadecimal (16), base 32, and base 36 are available as both source and target bases.
Can I convert very large integers?
Yes. Conversion uses BigInt rather than floating-point Number, so integers are not limited to 2^53 - 1. Browser memory and practical input size are the remaining limits.
Can I include 0x, 0b, or 0o prefixes?
No. Choose the source base explicitly and enter the digits without a notation prefix, such as ff for hexadecimal or 1010 for binary.
Are fractional values supported?
No. This converter is intentionally exact for signed integers. Values containing a decimal or radix point are rejected.

