Four bases, one live view

Binary, Hex & Decimal Converter

Type a number into any field and watch binary, decimal, hexadecimal and octal update instantly, together.

How it works

1

Type in any field

Binary, decimal, hex or octal — start typing in whichever base you have.

2

See instant conversion

The other three fields update live using standard radix conversion.

3

Read the byte grouping

Binary digits are grouped every 4 bits so they're easier to read and compare.

FAQ

What happens if I type an invalid character?

The field shows a clear inline error describing which characters are allowed for that number base, and the other fields are left untouched until you fix it.

How large a number can I convert?

Values are handled as standard JavaScript numbers, which are safe up to 2^53 - 1. Larger values show an error instead of an incorrect result.

What is the byte grouping shown under binary?

The binary value is split into groups of 4 bits separated by spaces, making it easier to read and compare to hex digits.

Try other tools