Skip to content
HQ8T

Number Base Converter

Binary, octal, decimal, hex and any base.

Binary (base 2)

1111 1111

Octal (base 8)

377

Decimal (base 10)

255

Hexadecimal (base 16)

FF

73

Needs 8 bits · Unicode character: “ÿ”

How to use

  1. 1Type a number.
  2. 2Choose which base it's written in (for example 16 for hex).
  3. 3See it in binary, octal, decimal and hexadecimal at once.
  4. 4Pick any other base from 2 to 36 and copy any result.

Frequently asked questions

How do I convert binary to decimal?

Type the binary number, choose base 2, and read the Decimal line. For example 1010 in binary is 10.

Can I type 0x or 0b prefixes?

Yes. 0x for hex, 0b for binary and 0o for octal are ignored automatically, and so are spaces and underscores.

Is there a size limit?

No practical limit. Big integers are used, so numbers with hundreds of digits convert exactly.

Are fractions or negative numbers supported?

Negative whole numbers are supported. Fractions (like 10.5) are not.