Ctrl+K
Binary to Octal Converter
🔒 Runs in your browser — nothing is sent to a serverConvert a binary number to octal. Each group of three binary digits maps cleanly to one octal digit, so 111101101 becomes 755 — the binary form of the chmod 755 permission mask. Useful when reading raw permission bits returned by stat() or when working on systems where octal is the conventional shorthand for grouped binary flags. Negative values keep a leading minus sign in both bases.
Binary (2)
Allowed: 0 and 1
Octal (8)
Allowed: 0–7
Binary (2) → Octal (8)
Quick reference table
| Binary (2) | Octal (8) |
|---|---|
| 111 | 7 |
| 1000 | 10 |
| 1000000 | 100 |
| 111111111 | 777 |
| 1000000000 | 1000 |
| 111111111111 | 7777 |
Glossary
Related tools
Octal to Binary
Convert octal (base 8) to binary — every digit expands to 3 bits
Binary to Decimal
Convert binary numbers (base 2) to decimal — with BigInt support
Binary to Hex
Convert binary (base 2) to hexadecimal — 4 bits become 1 hex digit
Number Base Converter
Convert integers between binary, octal, decimal and hexadecimal — with full BigInt support
