TOOL

Number Base Converter

Convert a number between hex, decimal, binary and octal. Enter any base.

Processing happens locally in your browser. Nothing you type is sent to BlackhawkHub.

Type in any field; the others update. Large integers are supported.

How to use it

Type a number in any of the four fields, hexadecimal, decimal, binary or octal, and the others update immediately. It uses arbitrary-precision integers, so large values convert exactly.

Where the bases show up

Hexadecimal appears in MAC addresses, colour codes, memory addresses and error codes (the 0x prefix). Binary underlies subnet masks and bit flags. Octal is how Unix file permissions are written. For converting whole IP addresses specifically, the IP Address Converter formats the result as dotted quads.

Frequently asked questions

How do I convert hex to decimal?

Type the hexadecimal value in the Hexadecimal field; the Decimal field updates instantly. For example, hex 1A is decimal 26. The tool works in every direction.

Does it handle large numbers?

Yes. It uses arbitrary-precision integers, so very large hex or binary values convert without loss of precision, unlike calculators limited to 32 or 64 bits.

Sources