Chmod Calculator
Work out the right chmod value for files and folders on Linux servers.
Runs in your browser. Nothing is uploaded Free, no sign-up Works on mobile
| Owner | Group | Others | |
|---|---|---|---|
| Read | |||
| Write | |||
| Execute |
Octal
Symbolic
-rwxr-xr-x
Command
chmod 755 file
Common values: 644 for files (owner can edit, everyone can read), 755 for folders and scripts, 600 for private keys and .env files. Avoid 777.
How to use Chmod Calculator
- Tick read, write and execute for owner, group and others, or type an octal value.
- Read the symbolic notation.
- Copy the chmod command.
Frequently asked questions
What does chmod 755 mean?
The owner can read, write and execute; the group and others can read and execute. It is standard for folders and scripts.
Why is 777 dangerous?
It lets every user modify the file, which attackers can abuse on shared or web servers.
Related tools
All Developer Tools →- .env Formatter Check environment files for mistakes and convert them for Docker, Kubernetes or documentation.
- .htaccess Redirect Generator Create redirect rules for Apache web servers without memorising mod_rewrite syntax.
- Code Diff Checker See exactly what changed between two versions of a file, like a code review.
- JSON Diff Find the real differences between two API responses or config files, regardless of key order or whitespace.
- Mock Data Generator Create sample data for testing apps, demos and databases, with names and places that look right for Indian users.
- JSON Formatter Pretty-print messy JSON, find syntax errors fast, or minify it for production.