ToolNest

Number Base Converter

Binary, octal, decimal, hexRuns locally · nothing uploaded

  • Binary (2)1111 1111
  • Octal (8)377
  • Decimal (10)255
  • Hexadecimal (16)FF
  • Base 3673
  • Bit length8
Also works as:binary to decimaldecimal to binaryhex to decimaldecimal to hexoctal converter

How to use

  1. 1Enter a value.
  2. 2Choose its current base.
  3. 3Read and copy the other bases.

FAQ

How do I convert decimal to binary?

Repeatedly divide by 2 and read the remainders in reverse: 13 → 1101.

What do A–F mean in hex?

They stand for 10–15. FF = 15 × 16 + 15 = 255.

Can I paste 0x or 0b prefixes?

Yes. 0x, 0b and 0o prefixes are ignored automatically.