Number Base Converter
Enter a number in any base and see it instantly converted to binary, octal, decimal, and hexadecimal.
Last updated
—Binary
—Octal
—Decimal
—Hexadecimal
How base conversion works
Every number system represents the same value using a different number of digit symbols: binary uses 2 (0–1), octal uses 8 (0–7), decimal uses 10 (0–9), and hexadecimal uses 16 (0–9 then A–F). Converting between them means re-expressing the same underlying quantity in a different digit count — the value doesn't change, only its written form.
This tool parses your input in the selected base and re-renders it in all four, using JavaScript's built-in parseInt and toString(base). It supports large integers up to what a standard JavaScript number can represent exactly.