CHMOD Calculator
Click permission checkboxes and get the octal chmod value — or type an octal and see the permissions, live both ways.
Tool input is processed locally in your browser and is not submitted to CodeNimbleTools. Avoid pasting production secrets into any device or website you do not fully trust.
About this tool
File permissions are a 9-checkbox grid pretending to be a number. This calculator syncs both representations live in both directions: tick read/write/execute for owner, group and others and watch the octal update, or type 755 and watch the boxes flip.
setuid, setgid and the sticky bit are supported, and common values get plain-language safety notes.
How to use it
- Tick the permissions you want — the octal value updates instantly.
- Or type an octal value (644, 755, 2775…) to set the boxes.
- Read the breakdown table and the safety note.
- Run the shown
chmodcommand on your server.
Useful ways to apply it
- Setting correct permissions on shared hosting (644 files, 755 folders).
- Understanding what a permission number in a tutorial actually grants.
- Configuring setgid on shared project directories.
- Avoiding 777 — the calculator warns you why.
Worked example
Example input
Owner rwx, group r-x, others r-x
Expected output
755
Edge cases to check
- Directories need execute permission to traverse.
- setuid, setgid and sticky bits are separate from ordinary rwx mode.
- Recursive chmod can apply inappropriate modes to files versus directories.
Known limitations
The calculator explains permission bits; it cannot determine the correct ownership, ACLs or security policy for your server.
How this tool was reviewed
Reviewed with common 600/644/755 modes and file-versus-directory caveats.
Standards and technical references
See the site-wide testing methodology for fixture categories, privacy checks and correction policy.
Frequently asked questions
What do 4, 2 and 1 mean?
What are safe permissions for websites?
What is the fourth digit (like 2775)?
Privacy
Tool input is processed locally in your browser and is not submitted to CodeNimbleTools. Avoid pasting production secrets into any device or website you do not fully trust.