Chmod Calculator
NEWChmod calculator with a permission grid: convert octal to symbolic modes, set setuid, setgid and sticky bits, and copy the chmod command and ls -l string.
Runs 100% in your browser — your input is never uploaded or stored on our servers.
Presets
| Class | Read | Write | Execute | Digit |
|---|---|---|---|---|
| Owner | 7 | |||
| Group | 5 | |||
| Others | 5 |
Command
chmod 755 file
ls -l preview
-rwxr-xr-x file
- Owner (7): The owner (user) can read, write and execute.
- Group (5): Members of the file’s group can read and execute.
- Others (5): Everyone else can read and execute.
Quick Examples
Typical inputs and the results this tool produces.
Overview
A chmod calculator shows how Unix file permissions fit together. Each of the three classes, owner, group and others, gets read (4), write (2) and execute (1), and the sum of those values is one octal digit. Tick the boxes and the octal and symbolic forms follow; type either form and the boxes follow instead.
Special bits are included: setuid (4) and setgid (2) make a program run with its owner’s or group’s privileges, and the sticky bit (1) stops users deleting each other’s files in a shared directory. Four-digit modes such as 4755 and 1777 are supported.
The result gives a ready chmod command, an ls -l preview and a plain-English line for every class, tuned for files or directories. Everything is calculated in your browser.
Why use this tool?
- Octal, symbolic and checkboxes stay in sync
- Handles setuid, setgid and sticky bits
- Ready-to-paste chmod command, with optional -R
- Explains what each class can do
- Runs locally, nothing is uploaded
Features
Permission grid
Owner, group and others by read, write and execute.
Two-way sync
Edit octal, symbolic or the checkboxes and the others update.
Special bits
setuid, setgid and sticky with s, S, t and T shown correctly.
chmod command
Octal or u=,g=,o= form, with your file name and optional -R.
ls -l preview
See -rwxr-xr-x or drwxrwxrwt exactly as a terminal prints it.
Per-class explanation
Plain sentences that differ for files and directories.
How to Use
Set the permissions
Tick Read, Write and Execute for each class, or press a preset such as 644 or 755.
Or type a mode
Enter an octal value like 4755 or a symbolic one like rwxr-xr-x; the grid updates.
Choose file or directory
Set Item type and a file name to tailor the explanation and command.
Copy the command
Press Copy command and paste it into your terminal.