About the Octal Converter
This tool converts numbers between octal (base 8), decimal (base 10), binary (base 2) and hexadecimal (base 16). You can use it if you are a developer, sysadmin, student or hobbyist checking file modes or base conversions. Results update as you type; there is no calculate button. The page shows four base results plus a Unix permission string for chmod-style octal numbers. The conversion runs entirely in your browser and nothing is uploaded to a server. You can copy any output or create a share link that reopens the tool with your number. The interface accepts a number and a base selector, and it validates digits for the chosen base. That makes it faster and clearer than tools that require manual steps or external requests.
How to use it
- 1Enter the number in the input field.
- 2Select the number base: Octal, Decimal, Binary or Hexadecimal.
- 3Read the instant results: Octal, Decimal, Binary, Hexadecimal and Unix permissions.
- 4Copy a result or create a share link to reopen the tool with your number.
Worked example
Input: 755 selected as Octal. Results: Octal = 755; Decimal = 493; Binary = 111101101; Hexadecimal = 1ED; Unix permissions = rwxr-xr-x.
How it works
Each octal digit is worth 8 times the one to its right and stands for exactly 3 binary digits755 = 7 x 64 + 5 x 8 + 5 = 493 = 111 101 101 in binary, which is rwxr-xr-x as file permissionsSource: Wikipedia: OctalGNU coreutils: Numeric Modes (chmod). Last checked 7 November 2026.
What it is good for
- Instant, live conversion between four bases as you type.
- Shows Unix permission text for chmod-style octal numbers.
- Runs in your browser with no upload and easy copy and share links.
- Shows integer conversions only; fractional octal digits are not supported.
- Input must match the chosen base; invalid digits are rejected.
Questions people ask
What digits are valid in octal?
Octal uses digits 0 through 7 only. If you type 8 or 9 the tool marks the input invalid because those digits do not exist in base 8.
Why does 755 become 493 in decimal?
Because each octal digit represents powers of 8. 755_8 = 7×8^2 + 5×8^1 + 5×8^0 = 493 in decimal. The tool computes this positional sum automatically.
How do the Unix permission results work?
Each of the three rightmost octal digits maps to rwx bits: r=4, w=2, x=1. The tool converts those bits to a symbolic string like rwxr-xr-x. See the GNU coreutils manual for numeric mode details.
Does the tool send my numbers to a server?
No. The conversion runs in your browser and nothing is uploaded. You can check network activity in your browser to confirm local operation.
Can I paste literals like 0o755 or 0755?
You should enter the number and select its base. Some language-style prefixes like 0o or leading zeros may be accepted by the input parser, but the safe method is to select Octal and enter the digits 0 through 7.
Can I convert very large integers?
The tool handles typical integer sizes in the browser. Extremely large values may be limited by your browser or device. If you need arbitrary precision, use a dedicated big integer tool.
Help keep every tool free
FreeToolr stays free because people help it grow. Share a tool you like, tell us what to build next, or support us on Ko-fi.