Number Base Converter
Convert between binary, octal, decimal, and hexadecimal instantly. Supports negative numbers and custom bases.
—
—
—
—
Enter a number to convert
How to Use
Enter a number
Type any integer in the input field. You can enter binary, octal, decimal, or hexadecimal values.
Select the input base
Choose the base of the number you entered (2, 8, 10, or 16).
See all conversions
The equivalent values in all other bases appear instantly below.
Copy a result
Click the copy button next to any result to copy it to your clipboard.
FAQ
A number base (or radix) defines how many unique digits are used to represent numbers. Base 10 (decimal) uses 0–9; base 2 (binary) uses 0–1; base 16 (hexadecimal) uses 0–9 and A–F.
Computers process data in binary (base 2) at the hardware level. Hexadecimal (base 16) is a compact shorthand — each hex digit represents exactly 4 binary bits, making it easy to read memory addresses, color codes, and byte values.
Octal is common in Unix/Linux file permission notation (e.g., chmod 755) and older computing systems. Each octal digit represents exactly 3 binary bits.
Yes. Prefix your number with a minus sign (−) and it will be converted correctly across all bases.
Hexadecimal uses digits 0–9 and letters A–F (case-insensitive). For example, the decimal value 255 is FF in hexadecimal.