111101101 as octal is 755: chunk the string in threes starting at the least-significant bit (111→7, 101→5, 101→5). Unix chmod writes that same 755 as rwxr-xr-x; this widget prints the digits, not the rwx letters.
Going the other way? Octal to binary unfolds each 0–7 into three bits. The four-base box is still the binary converter hub.
111101101 is already length 9, so nothing is prepended: 111 101 101 → 7 5 5. A whole byte 11111111 needs one leading 0: 011 111 111 → 377. Six bits 101101 become 101 101 → 55.
Thinking in fours is the hex job: 101101 as nibbles is 2D, which binary to hex reports. Triplets never share that map. Spaces, underscores and a 0b prefix are dropped before chunking.
Reveal the working panel to watch each 000–111 → 0–7 line. 777 is 111111111; 700 is 111000000. Nothing is sent anywhere.
How to convert binary to octal
- Drop a 0/1 string. Spaces, underscores and 0b are stripped; any other glyph raises a red banner.
- Read the octal card and the triplet row (three bits per octal glyph).
- Reveal the working panel to confirm a leading 0 was added when the length was not a multiple of 3.
- Copy 755 or 377. Unfold digits back to bits on the reverse page.
Key Features
- Chunks of three from the LSB, then 0–7 glyphs
- chmod samples: 111101101 → 755, byte 11111111 → 377
- Visible triplets plus the 000–111 chart
- 0b / spaces / underscores ignored
- Runs locally in this tab
LSB triplets, then 0–7
- 111101101 already has nine bits: 111 101 101 → 7 5 5. No extra 0.
- Eight-bit 11111111 is short by one: prepend 0 → 011 111 111 → 3 7 7.
- Mnemonic: 000=0 … 111=7. That is the entire octal alphabet.
- 101101 → 55₈ = 45₁₀, matching binary to decimal.
chmod 755 and a full byte
- Unix 755 is owner rwx, group r-x, others r-x. The bits 111 101 101 are exactly that mask.
- A more open 777 is 111111111. A tighter 700 is 111000000. This page does not interpret rwx; it only groups bits.
- One byte 11111111 → 377₈ = 255 decimal = FF hex. The octal walk is three triplets, not two nibbles.
- Chunking from the MSB without a leading 0 on a short string is wrong: 10101 as 101 01 is 5 plus a broken pair, not 25.
- A 10-bit string 1000000000 is 1000₈ after a leading 00 pad (001 000 000 000). That is 512 decimal, which is 2^9, not a Unix mode.
- People mix 755 with 493 (the decimal of 755₈). 7×64 + 5×8 + 5 = 493. If a script compares chmod output to 493 as a number, it is comparing the wrong radix.
Common mistakes
- Using nibble groups of 4. 111101101 as hex is 1ED, not 755. Hex is binary to hex.
- Forgetting the left pad, so 11111111 becomes “77” in your head (111 1111) instead of 377.
- Reading 755 as decimal seven hundred fifty-five. Here 755 is octal; decimal is 493 (7×64+5×8+5).
- Pasting octal digits 8 or 9. Those belong on decimal to binary.
- Expecting UTF-8 text. Letters are the binary translator.
- Reading 377₈ as “three hundred seventy-seven”. Octal 377 is decimal 255, the full 8-bit unsigned range.
Triplet table (000–111 ↔ 0–7)
- Each row is one octal digit. This page maps bits → glyph; the reverse page maps glyph → bits.
| Triplet | Octal |
|---|---|
| 000 | 0 |
| 001 | 1 |
| 010 | 2 |
| 011 | 3 |
| 100 | 4 |
| 101 | 5 |
| 110 | 6 |
| 111 | 7 |
Frequently Asked Questions
What is 111101101 in octal?
755. Three triplets 111, 101, 101. That is the chmod mask rwxr-xr-x.
What is 11111111 in octal?
377. Pad one zero: 011 111 111. Decimal 255, hex FF.
Why pad on the left?
Octal digits are 3-bit groups counted from the least significant bit. Left pad keeps the low triplet aligned.
Is 55 octal the same as 45 decimal?
Yes. 5×8 + 5 = 45, which matches 32+8+4+1 from the bits 101101.
Can I paste bits with spaces?
Yes. Spaces, underscores and 0b are removed before grouping.
Does this convert a Unix mode string such as rwxr-xr-x?
No. Paste the bits or use the reverse page with octal 755. This widget only groups 0/1 into octal digits; it never parses an rwx string.