chmod
Calculator
Bidirectional Unix/Linux file permission calculator. Toggle rwx checkboxes or type a numeric value like 755 and see both representations instantly.
Presets
| r | w | x | Octal | Symbolic | |
|---|---|---|---|---|---|
| Owner | 7 | rwx | |||
| Group | 5 | r-x | |||
| Others | 5 | r-x |
About chmod Calculator
In Unix/Linux, chmod (change mode) is the command used to change the access permissions of files and directories. Permissions are divided into three categories: Owner (User), Group, and Others — each with three bits: read (r=4), write (w=2), and execute (x=1).
Numeric notation (e.g. 755) represents the sum of the bits for each category. 7 means rwx (4+2+1), 5 means r-x (4+0+1), and 4 means r-- (4+0+0). Symbolic notation (e.g. rwxr-xr-x) is what you see in the output of ls -l and is more human-readable.
This tool provides bidirectional conversion between checkboxes and numeric input, six common presets (755, 644, 600, 777, 700, 444), and a real-time chmod command preview so you can copy and paste it directly into your terminal.
- ▸Setting correct permissions for web server files (644) and directories (755)
- ▸Verifying SSH private key security with restricted permissions (600)
- ▸Granting execute permission to shell scripts and build artifacts (755)
- ▸Checking permissions in CI/CD deployment scripts and workflows
- ▸Debugging file permission issues inside Docker containers