跳到主要内容

Number Base Converter

개발자

Type a number in any base and see all four at once. Integers larger than 2^53 keep full precision.

正在加载工具…

사용 방법

3단계
  1. 01

    Type a value and pick the base it is written in (BIN / OCT / DEC / HEX)

  2. 02

    Prefixes like 0x, 0o and 0b are accepted, as are underscores

  3. 03

    Copy any of the four results with one click

자주 묻는 질문

질문 2개
Q1Do large numbers lose precision?

No. Conversion runs on string long division, never through floating point, so 9007199254740993 comes out digit for digit. Tools built on parseInt quietly change the last few digits.

Q2Can I enter negative numbers?

Yes, and you get a minus sign in the result. Note that two's-complement forms like 0xFFFFFFFF depend on the bit width, which the tool will not guess for you.

개발자