首页Home › 开发工具Developer Tools

🔢 二进制转十六进制Binary to Hex Converter

二进制转十六进制在线工具:每行一个数批量转换,BigInt 精确支持超大整数、小数和负数,可显示手算步骤。Convert binary to hexadecimal online: one number per line, exact BigInt maths for huge integers, fractions and negatives, with optional step-by-step working.

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

「二进制转十六进制」是什么?What is the Binary to Hex Converter tool?

二进制转十六进制在线工具:每行一个数批量转换,BigInt 精确支持超大整数、小数和负数,可显示手算步骤。Convert binary to hexadecimal online: one number per line, exact BigInt maths for huge integers, fractions and negatives, with optional step-by-step working.

如何使用「二进制转十六进制」?How do I use the Binary to Hex Converter tool?

在「二进制转十六进制」中,把内容粘贴或输入到上方输入框,结果会实时显示在下方,点击「复制结果」即可复制。例如输入「11111111」,得到「FF」。In the Binary to Hex Converter: Paste or type into the input box; the result appears below instantly — click "Copy result" to copy it. Example: "11111111" → "FF".

怎么手算二进制转十六进制?How do I convert binary to hexadecimal by hand?

例如:1101 0110 → D6。勾选“显示计算步骤”可以看到每个数的完整过程。For example: 1101 0110 → D6. Tick "Show steps" to see the full working for each number.

支持多大的数?能批量转换吗?How big can the numbers be? Can I convert many at once?

使用 BigInt 精确计算,单个数最多 20000 位,不会像普通计算器那样在 2^53 之后丢失精度;每行一个数即可批量转换,空行会保留。It uses exact BigInt arithmetic, up to 20,000 digits per number, so there is no precision loss past 2^53. Put one number per line to convert in bulk; blank lines are kept.

支持小数和负数吗?Are fractions and negative numbers supported?

支持。负数按“负号 + 数值”转换(不是补码);小数部分最多输出 32 位,若无法在 32 位内除尽,结尾显示“…”,例如十进制 0.1 在二进制中是无限循环小数。Yes. Negatives are converted as sign + magnitude (not two's complement). Fractions are output to at most 32 digits, ending in "…" when they do not terminate — decimal 0.1 is an infinitely repeating binary fraction, for example.

输入可以带前缀或空格吗?Can the input have a prefix or spaces?

可以,会自动忽略前缀 0b 以及空格、下划线、逗号分隔符。Yes — the 0b prefix and spaces, underscores or commas used as separators are ignored.

代码或数据会被上传吗?Is my code or data uploaded?

不会。「二进制转十六进制」完全用 JavaScript 在本地运行,适合处理含有密钥、内部接口等敏感内容的数据。No. The Binary to Hex Converter runs entirely in local JavaScript, so it is safe for data containing keys or internal endpoints.

「二进制转十六进制」免费吗?需要注册吗?Is the Binary to Hex Converter free? Do I need an account?

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

🔢 十六进制转二进制Hex to Binary Converter🔢 二进制转八进制Binary to Octal Converter🔢 十六进制转八进制Hex to Octal Converter🔢 八进制转二进制Octal to Binary Converter🔢 八进制转十六进制Octal to Hex Converter🔢 十进制转八进制Decimal to Octal Converter🔢 八进制转十进制Octal to Decimal Converter📰 CSV 转 XMLCSV to XML Converter📰 XML 转 CSVXML to CSV Converter📰 XML 转 TSVXML to TSV Converter📄 CSV 转 YAMLCSV to YAML Converter📄 YAML 转 CSVYAML to CSV Converter

← 全部工具All tools