Number Base Converter | Binary, Octal, Decimal, Hexadecimal

Free online number base converter. Convert between binary, octal, decimal, and hexadecimal easily.

Binary ConvertOctal ConvertDecimal ConvertHex ConvertAuto DetectFree to Use

Number Base Converter

Input Number

Source Base

Examples

Decimal:255
Binary:0b11111111
Octal:0o377
Hexadecimal:0xFF

Conversion Results

Enter a number and click Run to see conversion results...

Number Base Prefixes

0bBinary prefix (e.g., 0b1010)
0oOctal prefix (e.g., 0o377)
0xHexadecimal prefix (e.g., 0xFF)
🔒We are fully aware of the significance of data privacy. This tool employs advanced local processing technology to ensure that the text you input is processed solely on your own device from beginning to end. We do not collect, store, or view any of your data.