快捷工具

Number Base Converter

Convert numbers between binary (base 2), octal (base 8), decimal (base 10), and hexadecimal (base 16).

number base converterbinary to decimalhex to decimaldecimal to binaryoctal converterbase conversion

检查转换器服务...

拖拽到此处或

Upload a file for conversion

选项

隐私: 此工具完全在您的浏览器中运行。数据不会发送到我们的服务器。我们不存储、分享或访问您在此处理的任何信息。

Examples

Example 1
255
Click above to load example 1
Example 2
FF
Click above to load example 2
Example 3
11111111
Click above to load example 3
Example 4
377
Click above to load example 4

FAQ

Q: What bases are supported?

A: Binary (2), Octal (8), Decimal (10), and Hexadecimal (16).

Q: Can I enter hex with "0x" prefix?

A: Yes, 0x prefix is automatically stripped before conversion.

Q: What is the max number size?

A: Standard JavaScript integer range (up to 2^53-1). BigInt support coming soon.

Related Tools

More in Developer Tools

Privacy: This tool runs entirely in your browser. No data is sent to our servers.