Number Base Converter
Number Base Converter instantly converts any whole number between binary, octal, decimal and hexadecimal. Type a value, pick its base, and see all four representations at once. All processing happens locally in your browser, and nothing is sent to a server.
About Number Base Conversion
Number base (or radix) conversion expresses the same value in different numeral systems. Binary (base 2) uses 0-1, octal (base 8) uses 0-7, decimal (base 10) uses 0-9, and hexadecimal (base 16) uses 0-9 and a-f.
This converter uses arbitrary-precision integers, so very large numbers convert accurately without rounding errors.
Base conversion shows up everywhere in programming: memory addresses and colour codes in hexadecimal, file permissions in octal, and bitmasks or flags in binary. Hexadecimal stays popular because two hex digits map neatly onto one byte, which makes raw data compact and easy to scan.