Chmod Calculator
Convert Unix file permissions to octal and symbolic
| Class | Read (4) | Write (2) | Execute (1) | Octal |
|---|---|---|---|---|
| Owner | 6 | |||
| Group | 4 | |||
| Other | 4 |
About the Chmod Calculator
The Chmod Calculator converts read, write, and execute permissions into the octal number used by chmod. Tick the boxes for owner, group, and others, then copy the command.
Permissions are best set as narrowly as the application allows. If a deployment needs broader access, fix the ownership instead of opening the file to everyone.
- ✓Octal and symbolic notation at once
- ✓Presets for common permission sets
- ✓Copy-ready chmod command
How to use the Chmod Calculator
- 1
Tick read, write, and execute for each class.
- 2
Check the octal and symbolic results.
- 3
Copy the chmod command and run it on your server.
Frequently asked questions
What does 777 mean and why avoid it?+
It gives every user read, write, and execute access. On a web server that lets anyone modify files, which is a common way sites get compromised.
Which permissions do folders need?+
Folders need execute to be entered, so 755 is typical for directories and 644 for regular files. Scripts additionally need execute for the user running them.
Save Chmod Calculator to your favorites, or keep browsing developer tools.
Browse all 35 developer tools →