Chmod Calculator
Tick the permissions you want, or type 755 or rwxr-xr-x, and get the matching octal, symbolic notation and chmod command. Covers setuid, setgid and the sticky bit.
| Read (4) | Write (2) | Execute (1) | Octal | |
|---|---|---|---|---|
| owner | 7 | |||
| group | 5 | |||
| others | 5 | |||
| Special | 0 |
Common modes
Octal
755
Symbolic
rwxr-xr-x
$
chmod 755 file$
chmod u=rwx,g=rx,o=rx file- Owner: read, write, execute
- Group: read, execute
- Others: read, execute
How the numbers add up
Read is 4, write is 2, execute is 1. Add them for each of owner, group and others: rwx = 7, r-x = 5, r-- = 4. So 755 is rwx for the owner and r-x for everyone else.
Directories are different
On a directory, read lists its contents, write creates or deletes files inside it, and execute lets you cd into it. A directory usually needs x wherever it has r, which is why folders are 755 and files 644.
SSH keys and secrets
SSH refuses keys that others can read. Use chmod 700 ~/.ssh and chmod 600 ~/.ssh/id_ed25519; AWS .pem files need 400 or 600.
Runs locally in your browser. Nothing you paste here is uploaded.
Related tools
All 64 tools →- API TesterTest REST APIs with all HTTP methods, custom headers, authentication, and environment variables. Export as cURL.
- Docker Command GeneratorGenerate Dockerfiles, docker run commands, and docker-compose.yml files with an intuitive interface.
- Cron Expression GeneratorGenerate and validate cron expressions. View human-readable descriptions and next execution times.
- AWS Cost CalculatorEstimate monthly AWS costs for EC2, RDS, S3, Lambda, and other services across different regions.
- CI/CD Pipeline VisualizerDesign and generate CI/CD pipelines for GitHub Actions, GitLab CI, Jenkins, and CircleCI.
- Kubernetes Config ValidatorValidate Kubernetes YAML files, check best practices, and get security recommendations.