chmod Calculator
Convert between octal and symbolic Unix file permissions.
| Read | Write | Execute | |
|---|---|---|---|
| owner | |||
| group | |||
| other |
Command
chmod 755 <file> # rwxr-xr-x
Runs locally in your browser. Your input is not uploaded or stored. You can verify this in your browser’s network panel.
What does this tool solve?
Unix permissions are three triplets — owner, group, other — each combining read (4), write (2), and execute (1). chmod 755 means owner can do everything, everyone else can read and execute. Toggle the boxes or type octal or symbolic notation; all three stay in sync.
What examples should you start with?
Web server directory
Input
755
Output
rwxr-xr-x — owner full, others read+execute
Private key
Input
600
Output
rw------- — owner read+write only
Shared config
Input
644
Output
rw-r--r-- — owner writes, everyone reads
How does it work?
Each octal digit is the sum of its triplet's bits: read=4, write=2, execute=1. 7 means rwx, 5 means r-x, 0 means ---.
The symbolic form is the same information written out: three triplets of rwx characters, with - where a bit is unset.
What are the edge cases and limits?
- 777 is almost never right — it lets anyone modify the file or directory.
- Directories need the execute bit to be entered; 644 on a directory makes it unusable.
- Special bits (setuid, setgid, sticky) are a fourth, leading octal digit (e.g. 1755) and are not covered by this calculator.
- Permissions compose with ownership; chmod alone cannot fix a file owned by the wrong user.
Technical reference
Related tools
- Cron Expression ParserParse cron expressions into plain language and upcoming run times.
- CIDR / Subnet CalculatorCalculate network range, broadcast, and host counts from CIDR notation.