进制转换
在二进制、八进制、十进制和十六进制之间转换数字。
在您的浏览器中运行。您的文件不会离开设备。 了解如何验证
…
使用方法
- 1填写各项
输入数字或选择所需选项。
- 2查看结果
更改任何值时,答案会立即更新。
- 3使用结果
复制结果或记下来。不会向任何地方发送任何内容。
About this tool
Type a number and choose the base it is written in. You get the same number in binary, octal, decimal, hexadecimal, base 32 and base 36. Large numbers are handled exactly. Handy for computing, networking and electronics.
When to use it
Convert numbers between binary, octal, decimal and hexadecimal.
Tips
Use prefixes 0b, 0o and 0x in code.
Privacy
Everything runs in your browser, so your data is not uploaded or stored.
计算示例
With the boxes at their starting values (Number: 255; Written in base: Decimal (10)), the tool shows: Binary: 11111111; Octal: 377; Hexadecimal: FF; Base 32: 7V; Base 36: 73; Decimal: 255. Change any box to see your own numbers. The result updates as you type, and nothing leaves your browser.
获得最佳结果的提示
在相信结果之前先检查每一个输入项,因为一个错误的数字就会改变整个答案。请使用工资单、账单、证书或合同上的准确数字,并记下计算日期。税率、门槛和规则会不时变化,因此对于税费和法律事务,请将结果视为估算,并与本页注明的官方来源核对。您可以尝试任意多个方案;不会保存或发送任何内容,刷新页面会清空输入。
要点
- 分类: 文档
- 在浏览器中运行,无需注册,无需上传。
- 您输入的信息保留在设备上。
- 提供多种语言。
- 内容最后审核日期:
常见问题
Which digits are allowed?
Binary uses 0 and 1. Octal 0 to 7. Hexadecimal 0 to 9 and A to F.
Does it handle negative numbers?
Yes. Put a minus sign in front.
What is hex?
Base 16, using 0 to 9 and A to F.
How do I convert binary?
Each digit is a power of two.