Number Base Converter — Binary, Octal, Decimal & Hex Online
Free online number base converter to convert numbers between binary, octal, decimal, hexadecimal, and any base from 2 to 36. Instantly translate between numbering systems with step-by-step conversion.
Input
Decimal value: 255
Base 10 accepts: 0 1 2 3 4 5 6 7 8 9
Custom Base
193Chars: 0123456789AB
Bit Analysis
Byte Segments
1111·11110xFFTry an Example
255 decBinary
0b1111·1111chars: 0–1
Octal
0o377chars: 0–7
Decimal
255chars: 0–9
Hexadecimal
0xFFchars: 0–F
Base 32
7Vchars: 0–V
Base 36
73chars: 0–Z
Base 64
D/chars: custom
Base 12
193chars: 0–B
Binary Visualization
How to Use Number Base Converter
Enter a Number
Type the number you want to convert in the input field.
Select Input Base
Choose the base of your input number from the dropdown, ranging from binary (2) to base 36.
Choose Output Base
Pick the target base for conversion. All other bases update instantly.
Explore Bit Analysis
View bit width, byte segments, LSB, MSB position, and whether the number is a power of two.
Frequently Asked Questions
The converter supports all bases from 2 (binary) to 36, including octal (8), decimal (10), and hexadecimal (16). You can also convert between any two custom bases.
The tool will highlight invalid characters and prevent conversion. For example, entering "1G" in base 16 is invalid because G is not a hexadecimal digit (0-9 and A-F only).
Select "Custom" from the base dropdown and enter your desired base number (2-36). The converter will handle the conversion using standard radix algorithms.
Bit analysis shows the binary representation of your number, including bit width, number of set and zero bits, LSB and MSB positions, and whether the number is a power of two. Useful for low-level programming and digital logic.
Yes, enable "Base Arithmetic" to perform addition, subtraction, multiplication, and division directly in any base. Results are shown in the same base.
Base 11 to 36 use digits 0-9 followed by letters A-Z. For example, base 16 uses 0-9 and A-F, while base 36 uses 0-9 and A-Z.
Try an Example
Enter
255
Binary: 11111111 · Octal: 377 · Hex: FF
8 bits · 1 byte · Unsigned max: 255
Stop searching.
Start doing.
Everything you need is already here — free, fast, and ready to use. No accounts. No limits. No excuses.