Chmod Calculator
Visually set Linux file permissions and instantly get the matching chmod octal and symbolic notation.
Owner is the file's creator, group is other members of the file's assigned group, and others is everyone else on the system. The octal digit for each (0–7) is read (4) + write (2) + execute (1) added together.
Run directly in the terminal: chmod 644 filename. Add -R to apply recursively to a whole directory, e.g. chmod -R 644 folder/.
Same command as Linux, macOS's Terminal is Unix-based, so chmod 644 filename works identically. You can also set permissions via Finder → Get Info → Sharing & Permissions, though that UI doesn't expose the execute bit.
Windows doesn't use Unix-style permissions natively, so plain chmod isn't available in Command Prompt or PowerShell. Use WSL or Git Bash to run the same command as Linux/macOS, or manage native NTFS permissions instead with icacls filename /grant User:F (full control), note this maps to a different permission model, not a direct octal equivalent.
About the Chmod Calculator
A chmod calculator converts between the visual read, write, and execute permissions you want to set and the numeric or symbolic notation the chmod command expects on Linux and macOS.
Common permission combinations
| Octal | Symbolic | Typical use | |
|---|---|---|---|
| 755 | rwxr-xr-x | Scripts and executable files | |
| 644 | rw-r--r-- | Regular files, readable by everyone | |
| 700 | rwx------ | Private files only the owner can access | |
| 777 | rwxrwxrwx | Full access for everyone, generally unsafe |
How to use
Check the read, write, and execute boxes for Owner, Group, and Others based on the access you want to grant.
Copy the generated octal number, such as 755, or the symbolic string, such as rwxr-xr-x.
Run it as chmod followed by the value and filename in your terminal, or apply it through your hosting control panel.
Frequently asked questions
Explore more tools in the Developer category.