๐Ÿ”ข

Number Base Converter

Convert numbers between binary, octal, decimal, and hexadecimal. Free online base converter.

Free Developer
Binary โ€”
Octal โ€”
Decimal โ€”
Hexadecimal โ€”

Frequently Asked Questions

What is a number base?

A number base (or radix) is the number of unique digits used to represent numbers. Decimal (base 10) uses 0-9, binary (base 2) uses 0-1, octal (base 8) uses 0-7, and hexadecimal (base 16) uses 0-9 and A-F. Each position in a number represents a power of the base.

How do I convert between bases?

Enter your number, select the base it's currently in, and the tool instantly shows it in binary, octal, decimal, and hexadecimal. For custom bases (2-36), select "Custom" and enter the base. The tool uses JavaScript's parseInt() and toString() for accurate conversion.

What is hexadecimal used for?

Hexadecimal (hex) is widely used in programming to represent memory addresses, color codes (like #FF5733), byte values, and MAC addresses. It's more compact than binary โ€” one hex digit represents 4 bits (a nibble).

What bases are supported?

The tool supports bases 2 through 36. Beyond hexadecimal (base 16), letters A-Z are used as digits (A=10, B=11, ..., Z=35). Base 36 uses all 10 digits and 26 letters.

Is this tool free?

Yes, completely free with no sign-up required. All conversions happen in your browser.