How do I convert octal file permissions (like chmod 755) to binary?
Convert each digit separately — every octal digit maps to exactly 3 binary digits (755 → 111 101 101), since 8 = 2³.
Enter an integer to see its binary, octal, decimal, and hexadecimal representations.
| Decimal | Binary | Octal | Hex |
|---|---|---|---|
| 0 | 0 | 0 | 0 |
| 10 | 1010 | 12 | A |
| 15 | 1111 | 17 | F |
| 100 | 1100100 | 144 | 64 |
| 255 | 11111111 | 377 | FF |
Convert each digit separately — every octal digit maps to exactly 3 binary digits (755 → 111 101 101), since 8 = 2³.
Each hex digit represents exactly 4 bits (a nibble), so a byte is always exactly two hex digits — e.g. 0xFF = 11111111.
Any base from 2 to 36 — set a custom input base and digits A–Z stand in for values above 9, the same convention hex uses for A–F.
Hex only uses digits 0-9 and letters A-F — check for a typo or an out-of-range character.
Yes, with Signed interpretation — see above for how negative values are encoded.
No — conversion runs entirely client-side.
Convert binary, octal, decimal, and hexadecimal integers with exact signed or unsigned arithmetic.
All conversion uses exact integer arithmetic locally in your browser. The converter supports signed and unsigned integers; decimal fractions are intentionally not supported.
Enter an integer and choose its base, or keep Auto detect. Open Developer options when you need fixed-width or signed interpretation. Every representation updates as you type, and any row can be copied individually.
With a fixed width and Signed interpretation, negative decimal values are encoded as two’s-complement bit patterns. Non-decimal patterns such as FF at 8 bits are interpreted from their sign bit. Values outside the selected range are rejected rather than wrapped.