跳转到主要内容
Develop Tools

进制转换工具|二进制・十进制・十六进制・补码

在浏览器中互相转换二进制、八进制、十进制、十六进制以及 2~36 进制整数的免费工具。

Convert

Additional information: 0b 0o 0x

Enter an integer and it will be converted in real time.

2's complement/signed integer

Input

关于此工具

Integers handled by programs, data formats, and bit operations can be converted to other base numbers without the need for installation.

支持的功能

  • 2-36 hexadecimal integers and negative numbers
  • large integers, prefixes, thousands separators
  • 8/16/32/64 bit two's complement

使用方法

  1. Specify the numerical value and the base number of the input source.
  2. Settings
  3. Copy

限制事项

关于此工具

You can convert integers handled in programs, data formats, and bit operations to other base numbers, and check the representation of signed and unsigned integers.

支持的功能

  • Binary numbers, octal numbers, decimal numbers, hexadecimal numbers, and any 2 to 36 base numbers
  • Big integers, negative numbers, prefixes and thousands separators with BigInt
  • 8/16/32/64 bit two's complement and signed/unsigned decimal numbers

使用方法

  1. Enter an integer and select the base number you want to input from.
  2. Set alphabetic characters, thousands separators, prefixes, and additional decimal numbers to display.
  3. Copy

限制事项

  • Conversion between decimal and repeating decimal numbers is not supported.
  • Two's complement cannot convert values outside the selected bit width range.

隐私: 输入内容和处理结果仅在浏览器中处理,不会发送或保存到 Develop Tools 的服务器。