Binary to Octal Converter

Convert binary (0s and 1s) to octal (base-8) instantly. Groups every 3 binary bits into one octal digit. Includes triplet breakdown, batch conversion, and code snippets.

⚡ Octal Output
123
← 001 010 011 in binary
Binary Input001010011
Decimal83
⚠️ Invalid binary — only 0s and 1s, length must be divisible by 3
Pad Input:
Prefix:
Octal
Decimal
Hex
Bits
💡 Every 3 binary bits = 1 octal digit. 000=0, 001=1 ... 111=7. Example: 001 010 0111 2 3 → octal 123 = decimal 83