Chmod Calculator
Toggle permissions or type an octal value. See the numeric, symbolic, and command output instantly.
Permission Toggles
| Read | Write | Execute | Value | |
|---|---|---|---|---|
| Owner | 7 | |||
| Group | 5 | |||
| Other | 5 |
Common Presets
Related Tools
Build, explain, and test cron expressions with a visual builder.
Build docker-compose.yml files visually with service templates and live YAML preview.
Build and analyze Content-Security-Policy headers visually. Generate directives, detect security issues.
How to Calculate Unix File Permissions
Unix permissions are easier to reason about as rwx bits than as a three-digit octal. This chmod calculator toggles read, write, and execute for owner, group, and other, then shows the octal and symbolic forms you pass to chmod.
It runs in the browser with no filesystem access — it only generates the mode string. Use it when you are writing Dockerfiles, Ansible tasks, or install docs and need 644 vs 755 vs 600 without guessing.
Tips
755is typical for executables and directories;644for files;600for private keys.- The execute bit on directories means “can enter / list depending on read”.
- Sticky and setuid bits are not the focus here — this calculator covers the common nine-bit mask.