Number Base Converter

Convert numbers between binary, octal, decimal, and hexadecimal with big integer support.

Presets:

About number bases

This tool converts a number between binary, octal, decimal, and hexadecimal. Change any field and the other fields update.

The tool uses BigInt, so a value larger than 2^53 stays exact. A 64-bit identifier or a large bit mask does not lose a digit.

Binary shows the bits of a flag or a permission. Hexadecimal is shorter, and it maps four bits to one digit, so it suits a color value, a byte dump, or a memory address.