Number Base Converter
Convert between binary, octal, decimal and hexadecimal. Integer only. Runs locally.

Number Base Converter

Enter a value in any base; others update automatically. Use 0b for binary, 0o for octal, 0x for hex (or plain digits).

Binary (2)
Octal (8)
Decimal (10)
Hex (16)

FAQ

What number bases are supported?

Binary (base 2), Octal (base 8), Decimal (base 10), and Hexadecimal (base 16). Enter a value in any field and the others update automatically.

Can I use prefixes like 0x?

Yes. The tool accepts 0b for binary, 0o for octal, and 0x for hex. You can also enter plain digits without prefixes.

Is my data safe?

Yes. All conversion is done locally in your browser with pure JavaScript. No data is sent to any server.

Security: All processing runs locally in your browser. No data is sent to any server.