About the Chmod Calculator
Work out Linux file permissions with checkboxes, or convert between numeric modes like 755 and symbolic ones like rwxr-xr-x. Includes the chmod command to copy.
Key features
- Checkbox grid for owner, group and others
- Numeric (755) and symbolic (rwxr-xr-x) modes
- Convert in either direction
- setuid, setgid and sticky bits
- Ready-to-copy chmod commands
- Common presets like 644, 755 and 600
Work out Linux file permissions
Tick the permissions you want and copy the chmod command, or type a mode like 750 or rwxr-x--- to see exactly what it allows.
Permission values
| Number | Symbolic | Meaning |
|---|---|---|
| 7 | rwx | Read, write and execute |
| 6 | rw- | Read and write |
| 5 | r-x | Read and execute |
| 4 | r-- | Read only |
| 0 | --- | No access |
Common modes
| Mode | Symbolic | Typical use |
|---|---|---|
| 644 | rw-r--r-- | Regular files, web pages |
| 755 | rwxr-xr-x | Directories, scripts, programs |
| 600 | rw------- | Private files, SSH keys |
| 700 | rwx------ | Private directories (e.g. ~/.ssh) |
| 775 | rwxrwxr-x | Shared project directories |
| 2775 | rwxrwsr-x | Shared directory; new files inherit the group |
| 1777 | rwxrwxrwt | Shared temp directory like /tmp |
Special permissions
- setuid (4xxx): a program runs with its owner's permissions (e.g.
passwd). - setgid (2xxx): on a directory, new files inherit the directory's group.
- Sticky bit (1xxx): on a directory, only a file's owner can delete it.
Related tools
Number base converter (octal ↔ binary), cron expression generator, and bcrypt generator.
How to use the Chmod Calculator
- Enter your value in the fields above, or start from one of the examples or presets.
- Results update instantly as you type.
- Read the breakdown to understand each part of the result.
- Copy what you need with the copy buttons. Everything runs in your browser.