MyToolsKart
Developer tools

Number Base Converter

Convert a number between binary, octal, decimal and hexadecimal at once. Enter a value, pick its base, and copy any format.

Binary (2)11111111
Octal (8)377
Decimal (10)255
Hexadecimal (16)FF

Common bases

Binary (2) is how computers store data; hexadecimal (16) is a compact way to write bytes and colours; octal (8) shows up in file permissions.

FAQ

Can I paste prefixes like 0x or 0b? Yes โ€” 0x, 0b and 0o prefixes are ignored automatically.

Is it private? Yes โ€” conversion happens entirely in your browser.