Number Base Converter

Convert numbers between binary, octal, decimal, hexadecimal, and any base from 2 to 36.

Ad Space — horizontal (tool-top)
or
The custom base result is shown above as the last entry.
Ad Space — horizontal (tool-mid)

How to Use the Number Base Converter

1. Enter a number in the input field. Use digits 0-9 and letters A-Z for bases higher than 10.

2. Select the input base by clicking one of the preset buttons (Binary, Octal, Decimal, Hexadecimal) or entering a custom base from 2 to 36.

3. View all conversions instantly. The tool displays the number in Binary, Octal, Decimal, Hexadecimal, and your chosen custom base simultaneously.

4. Copy any result by clicking the Copy button next to the desired output.

Frequently Asked Questions

What is a number base (radix)?

A number base (or radix) defines how many unique digits are 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.

Does this tool support large numbers?

Yes. The converter uses BigInt arithmetic to handle arbitrarily large numbers without losing precision, making it suitable for cryptographic hashes, large binary values, and other big-number use cases.

What bases are supported?

Any base from 2 to 36. For bases above 10, letters A-Z represent digit values 10-35. This covers all commonly used number systems including binary (2), octal (8), decimal (10), hexadecimal (16), and base36.

Why is binary grouped in blocks of 4?

Binary output is grouped into 4-bit nibbles for readability. Each nibble corresponds to exactly one hexadecimal digit, making it easier to read and cross-reference with hex values.

Ad Space — horizontal (tool-bottom)