Number Base Converter

Convert numbers between decimal, hexadecimal, binary, and octal instantly. Type in any field and all others update in real time.

Bit visualization (16-bit)

How to use

  1. Enter a number in any base — decimal, hexadecimal, binary, or octal.
  2. All other bases update in real time as you type.
  3. Click "Copy" next to any value to copy it to your clipboard.

Frequently asked questions

How do I convert decimal to hexadecimal?

Enter a decimal number and the hex equivalent appears instantly. Hexadecimal uses digits 0-9 and letters A-F. For example, decimal 255 = hex FF.

How do I convert binary to decimal?

Enter a binary number (only 0s and 1s) and the decimal equivalent appears. Each binary digit represents a power of 2. For example, binary 1010 = decimal 10.

What is octal numbering?

Octal is base-8, using digits 0-7. Each octal digit maps to exactly 3 binary digits. For example, octal 77 = decimal 63 = binary 111111.

Can I convert negative numbers?

This tool handles positive integers. For negative numbers in binary, you would typically use two's complement representation, which depends on the bit width.

Last updated

Powered by maratool