Skip to content
Local

Developer

Number Base Converter

Convert between binary, octal, decimal, hexadecimal and any base from 2 to 36, live in every direction, for numbers of any size.

Runs in your browser. Nothing leaves this device.

How to use Number Base Converter

  1. 1Type a number in any box: binary, octal, decimal, hex or a base you pick.
  2. 2Every other box updates as you type.
  3. 3Group the digits for reading, and see the two’s complement of negative numbers.

Questions

Can I use prefixes like 0x or 0b?

Yes. 0x, 0o and 0b are understood in the matching box, and spaces and underscores are ignored.

How are negative numbers shown?

With a minus sign in every base. The two’s complement form a computer stores is shown separately.

Is there a size limit?

No practical one. Whole-number maths of any size is used, so long values never lose digits.

Is it free?

Yes. No account, no watermark and no daily limit.

Esc