Octal to Decimal Converter

Convert octal numbers to decimal (base 10) instantly.

Unix File Permissions Reference

755

rwxr-xr-x (typical executable)

644

rw-r--r-- (typical file)

777

rwxrwxrwx (full access)

600

rw------- (private file)

Code Examples

const octal = "755";
const decimal = parseInt(octal, 8); // 493
// With 0o prefix:
const permissions = 0o755; // 493

Frequently Asked Questions

What is octal used for?

Octal is primarily used for Unix/Linux file permissions (chmod 755). Each octal digit represents 3 bits, making it convenient for read/write/execute permission groups.

How do I read file permissions in octal?

Each digit represents permissions: 4=read, 2=write, 1=execute. Sum them for each group (owner/group/others). 755 means owner has all (7), group and others can read+execute (5).

Related Tools