Octal to Binary Converter

An octal to binary converter expands each base-8 digit into the three binary bits it represents.

Example: 17 = 1111

Text tools on this site use UTF-8 (the letter A is the byte 01000001). This page converts a whole number between bases and does not encode characters.

Last updated . Full ASCII table (decimal, hexadecimal, octal, and binary).

OctalBinary
1111

Convert octal 17 to binary

  1. Split the digits. 17 octal is the digit 1 followed by the digit 7.
  2. Write three bits each. 1 is 001 and 7 is 111, so the bits are 001 111.
  3. Drop leading zeros. 001111 is the same value as 1111. Both equal decimal 15. Unix permission digits stay three bits wide on purpose: 7 is 111, not 11.

Octal digits and sample values

Octal3-bit groupBinary value
00000
7111111
10001 0001000
17001 1111111
377011 111 11111111111

Frequently Asked Questions

How do you convert octal to binary?

Replace each octal digit with three bits: 0=000, 1=001, 2=010, 3=011, 4=100, 5=101, 6=110, 7=111. Concatenate the groups.

What is octal 17 in binary?

1 is 001 and 7 is 111, so 17 octal is 001111, or 1111 after dropping the leading zeros. In decimal that is 15.

Why is 8 not an octal digit?

Octal uses only 0–7. The digit 8 belongs to decimal. Unix permission modes such as 755 stay inside 0–7 for that reason.

What is octal 377 in binary?

3 is 011, 7 is 111, and 7 is 111, so 377 octal is 11111111. That is one full byte, decimal 255.

Related tools & guides