0x

Number Base Converter

Convert numbers between binary, octal, decimal, and hexadecimal. Shows all bases simultaneously.

Enter a number above to see conversions in all bases.

How to Use

  1. Select your input base (BIN / OCT / DEC / HEX) using the toggle buttons, then type your number. The tool validates that only characters valid for the chosen base are accepted.
  2. All four bases update simultaneously in real time — binary (base 2), octal (base 8), decimal (base 10), and hexadecimal (base 16) are all displayed at once.
  3. Click the Copy button next to any result card to copy that representation to your clipboard.

Frequently Asked Questions

What bases are supported?
The tool converts between binary (base 2), octal (base 8), decimal (base 10), and hexadecimal (base 16). All four results are shown simultaneously so you can compare representations at a glance.
Why is hexadecimal commonly used in computing?
Hexadecimal compactly represents binary data: each hex digit maps exactly to 4 bits. This makes it easy to read memory addresses, color values, and binary-encoded data. For example, the byte 11111111 in binary is FF in hex — much shorter to write and read.
Is there a size limit?
No hard limit. Very large inputs may slow your browser.