Free chmod Calculator
Toggle read/write/execute for owner, group, and others · and get the octal and symbolic chmod notation both ways.
100% client-side · nothing you enter is ever sent to a server or stored.
Preview · sign in with a free account to run it
| Read | Write | Execute | |
|---|---|---|---|
| Owner | |||
| Group | |||
| Others |
chmod 755 path/to/fileHow to use it
- Tick read, write and execute for owner, group and others, or type an octal mode (755) or symbolic mode (rwxr-xr-x).
- All three notations update together.
- Copy the chmod command.
Example
Input
755
Result
Symbolic rwxr-xr-x Owner read, write, execute Group read, execute Others read, execute chmod 755 <file>
Safe defaults
- 644
- rw-r--r--: regular files and web content.
- 755
- rwxr-xr-x: directories and executables. Directories need execute to be entered.
- 600
- rw-------: private keys, .env files and credentials. Only the owner can read them. SSH refuses keys with looser permissions.
- 777
- Anyone on the system can change the file. If something only works with 777, fix its ownership instead.
- Setuid, setgid, sticky (4-digit modes)
- 4755 runs a program as its owner. It's rarely needed and a common privilege-escalation path.
Go deeper
Page updated
Frequently asked questions
What do 755 and 644 mean?
Each digit is owner/group/others, summing read=4, write=2, execute=1. 755 = rwxr-xr-x (directories, executables); 644 = rw-r--r-- (regular files). Directories need execute to be entered · that's why files and dirs differ.
When is 777 a problem?
Almost always · it lets any local user or compromised process modify the file. World-writable web roots turn any minor breach into persistent code execution. If something "only works with 777", fix ownership instead.
What should my .env be on a server?
600, owned by the user that runs the app.
Want the full picture?
This tool covers one narrow check. A full SimplyScan runs 60 checks across 14 categories · exposed keys, RLS, XSS, auth, and speed · in 30 seconds.
Run a full security scanRelated tools
Color Contrast Checker
Pick a text and background color and get the WCAG contrast ratio · with pass/fail for AA and AAA at normal and large text sizes.
MIME Type Lookup
Search by file extension or MIME type · get the correct Content-Type for serving any file, with notes on the security-sensitive ones.
HTTP Status Codes
Every HTTP status code, searchable · what each means, when to use it, and which ones have security implications worth knowing.