Chmod Calculator

Convert Unix permissions between numeric and symbolic formats — 755 is rwxr-xr-x. Bit visualization, special bits, and the presets every deploy runs into.

🟢📖 Common Permission Presets

NumericSymbolicUse case
644rw-r--r--Regular files (source, configs, docs)
755rwxr-xr-xExecutables & directories (web roots)
600rw-------Private keys, secrets, .env
700rwx------Private directories
664rw-rw-r--Team-shared files (group writable)
775rwxrwxr-xTeam-shared directories
rwsr-xr-xrwsr-xr-xSetuid executables (passwd, sudo)
rwxrwxrwtrwxrwxrwtWorld-writable + sticky (/tmp)

Click a preset to load it. 777 is a security smell — anyone can modify the file, and CI/CD scanners flag it.

🟢📖 The Bit Math

Each digit is read(4) + write(2) + execute(1). The three digits are owner, group, others. So 755 = owner 7 (rwx), group 5 (r-x), others 5 (r-x). Directories need the execute bit (x) to be traversable — that is why 644 on a directory makes it inaccessible.

See also: Cron Expression Tester · Hash Generator · Password Generator · DevOps Utilities · Security & SRE