Chmod Calculator
100% PrivateDeveloper ToolsConvert Unix file permissions between checkbox selections, octal numbers and symbolic form.
Runs entirely in your browser. Your input is not uploaded to Ovatly or anywhere else.
Octal: 755
Symbolic: rwxr-xr-x
Use it as: chmod 755 filename
- 1Tick the permission boxes for owner, group and others.
- 2Read the octal value, the symbolic form (like rwxr-xr-x) and the ready-to-use chmod command.
- 3Or type an octal mode in the lower field and press Apply octal to load it into the checkboxes.
Owner read+write, group read-only, others read-only gives octal 644 and symbolic rw-r--r--: the owner can edit the file, everyone else can only read it. The classic executable script setup, owner full access and everyone else read+execute, is 755, symbolic rwxr-xr-x.
- This covers the standard three-digit modes. The optional fourth digit (setuid, setgid, sticky bit) can be typed and is understood, but the checkboxes show the last three digits.
- Directories need the execute bit to be entered at all, which is why directory modes usually pair with file modes one step higher (755 directories, 644 files).
- The calculator cannot see or change any real file; it only converts between representations.
Each class adds up its permissions: read is 4, write is 2, execute is 1. Owner read+write+execute is 7; group read+execute is 5; that is how 755 is built.
About this tool
The Chmod Calculator converts Unix file permissions both ways: tick the read, write and execute boxes for owner, group and others to get the octal mode and symbolic string, or type an octal mode like 644 to see exactly which boxes it represents. It ends the classic "is 754 right?" guesswork.
Related tools
Part of Ovatly's free tools in Developer Tools.