Chmod Calculator
Convert between symbolic and numeric Unix file permissions with a visual chmod calculator.
Chmod Calculator tool
Example
Input: Numeric 644
Result: Symbolic rw-r--r--, ls -l Output -rw-r--r--, chmod Command: chmod 644 filename
Each octal digit is read (4) + write (2) + execute (1) for owner, group and others: 6 is rw- and 4 is r--.
Common chmod Permissions
| Number | Letters | Meaning |
|---|---|---|
| 777 | rwxrwxrwx | Full access for everyone |
| 755 | rwxr-xr-x | Owner full, others read and execute |
| 750 | rwxr-x--- | Owner full, group read and execute |
| 700 | rwx------ | Owner full, no access for others |
| 644 | rw-r--r-- | Owner read and write, others read only |
| 600 | rw------- | Owner read and write, no access for others |
| 444 | r--r--r-- | Read only for everyone |
| 400 | r-------- | Read only for owner |
| 1777 | rwxrwxrwt | Shared folder with sticky bit, like /tmp |
| 4755 | rwsr-xr-x | Setuid program, runs as its owner |
| 2775 | rwxrwsr-x | Setgid folder, new files inherit its group |
The presets built into this calculator, with the letters it generates.
- Tap the read, write, and execute toggle buttons for each user category: owner, group, and others.
- View the numeric octal notation (e.g., 755) and symbolic notation (e.g., rwxr-xr-x) update in real time.
- Alternatively, type a numeric or symbolic permission value directly and see the toggles update.
- Use the preset buttons (644, 755, 600, etc.) to quickly load common file permission configurations.
- Copy the generated chmod command to paste directly into your terminal.
Linux File Permissions and chmod Numbers
chmod numbers such as 755 and 644 are a shorthand for Unix file permissions. Each digit sets what one group of users can do. This calculator converts between the number, the rwx letters and a ready-to-run chmod command. 755 means rwxr-xr-x: the owner can read, write and run the file, and everyone else can read and run it.
There are three sets of users: the owner, the file's group and everyone else (others). Each set can have read (r, worth 4), write (w, worth 2) and execute (x, worth 1). Add the values to get one digit: 4 + 2 + 1 = 7 for rwx, 4 + 1 = 5 for r-x and 4 + 2 = 6 for rw-. Three digits, one per set, give the full permission.
A fourth digit in front adds special bits. Setuid (4) makes a program run as its owner. Setgid (2) runs it as its group, or makes new files in a folder inherit that group. The sticky bit (1) stops people deleting other users' files in a shared folder such as /tmp. In the letters these show as s or t in the execute spot, or as a capital S or T when execute is off.
Tap the toggles, type a number such as 640, or paste letters straight from ls -l output, such as -rw-r--r--. All the views stay in sync. The tool shows the ls -l form and a chmod command with filename as a placeholder, and presets cover the common cases in the table.
A good rule: 644 for normal files, 755 for folders and scripts, 600 for private keys, and avoid 777. To run a script on a schedule, try the Crontab Generator.
Sources
Frequently Asked Questions
Related Tools
Cron Expression Parser
Parse cron expressions into human-readable descriptions and preview the next scheduled run times.
Developer ToolsHash Generator
Generate MD5, SHA-1, SHA-256, SHA-384, and SHA-512 hashes from text or files right in your browser.
Developer ToolsRegex Tester
Test regular expressions with real-time match highlighting, group capture display, and a pattern library.
Developer ToolsUnix Timestamp Converter
Convert Unix timestamps to human-readable dates and dates back to Unix timestamps instantly.
Developer Tools