Chmod Calculator
Convert between chmod numeric and symbolic notation.
Symbolic (toggle permissions)
| User Type | Read | Write | Execute |
|---|---|---|---|
| Owner | |||
| Group | |||
| Others |
Special bits
Options
chmod command
Numeric
chmod 755 path/to/file
Symbolic
chmod u=rwx,g=rx,o=rx path/to/file
How to use
About this tool
Convert between chmod numeric (755/2775) and symbolic (rwxr-xr-x), and copy both numeric and symbolic chmod commands. Change the path in the file name field.
How to use
Enter 755 or 2775 in the numeric field, or change the Read/Write/Execute checkboxes in the table for Owner/Group/Others. Toggle special bits (setuid/setgid/sticky) with switches; Recursive (-R) is in the options column to the right. When all special bits are OFF, a leading 0 is omitted (e.g. 0755 → 755). Edit the file name/path field (default path/to/file) to change the path in the command. Two chmod commands are shown: numeric (e.g. chmod 755 path/to/file) and symbolic (e.g. chmod u=rwx,g=rx,o=rx path/to/file); each can be copied.
Options
Numeric: 3 digits (755) or 4 (2775). When all special bits are OFF, leading 0 is not shown. Symbolic: r/w/x for Owner/Group/Others and setuid/setgid/sticky switches. Option: Recursive (-R). File path: default path/to/file. Output: two chmod commands (numeric and symbolic).
Use cases
• Check file/directory permissions • Look up chmod values for scripts or deployment • Learn symbolic vs numeric notation • Paste either numeric or symbolic command into a terminal to run
How it works
Numeric mode is octal: each digit is the sum of r=4, w=2, x=1 (0–7). Three digits are owner, group, others; with four digits the first is special bits (setuid=4, setgid=2, sticky=1). Symbolic form specifies who and which permissions (e.g. u=rwx,g=rx,o=rx); u+s, g+s, o+t add setuid/setgid/sticky.
Privacy and data
All input, conversion, and command generation are done in the browser; nothing is sent to any server.
