Text, Binary, Hex & Octal Converter

Convert values between text, binary, decimal, hexadecimal and octal instantly online. Useful for programming, computer science, debugging, data encoding and development workflows.

Maximum 128 characters. Prefixes like 0b, 0o and 0x are supported.

What is number base conversion?

  • Binary uses base 2 and only contains 0 and 1
  • Octal uses base 8 and contains digits 0 to 7
  • Decimal uses base 10 and is the standard number system
  • Hexadecimal uses base 16 and contains 0 to 9 plus A to F

Common Uses

Binary and hexadecimal programming conversions

Computer science education and homework

Debugging encoded values

Working with memory addresses and byte data

Converting text into binary or hexadecimal representations

FAQ

?

Can I convert binary to hex?

Yes.

?

Can I convert decimal to binary?

Yes.

?

Can I use prefixes?

Yes, 0b, 0o and 0x are supported.

Related Tools