Skip to content
FizzKit

chmod Calculator

Toggle read, write and execute for owner, group and others — or type an octal mode, an ls -l string like rwxr-xr-x, or chmod clauses like u=rwx,go=rx and a+x — and see numeric and symbolic forms side by side. Get security warnings for world-writable, setuid and odd combinations, a umask calculator, ready-to-copy chmod and find -exec recipes, and an annotated ls -l sample line.

Runs locally in your browser
Numeric (octal)

3 digits set rwx; a 4th leading digit sets setuid/setgid/sticky.

Symbolic
-rw-r--r--

Paste an ls -l mode or chmod clauses — relative clauses (+/-) apply to the current mode.

WhoRead (4)Write (2)Execute (1)OctalrwxSpecial
Owner (u)6rw-
Group (g)4r--
Others (o)4r--
Path
Apply to this path
chmod 644 deploy.sh
Symbolic equivalent
chmod u=rw,g=r,o=r deploy.sh
Files only, recursively
find . -type f -exec chmod 644 {} +
Directories only, recursively
find . -type d -exec chmod 755 {} +
Recursive, x only where already set / dirs
chmod -R u=rw,g=r,o=r .
Show current mode
stat -c '%a %A %n' deploy.sh # macOS: stat -f '%Lp %Sp %N' deploy.sh
Fix a repo’s typical layout
find . -type d -exec chmod 755 {} + && find . -type f -exec chmod 644 {} +
Numeric
644
Symbolic
-rw-r--r--
Owner
6 / rw-
Group
4 / r--
Others
4 / r--
Special
none
Risk
ok

Setuid runs the program as its owner, setgid as its group (on directories: new files inherit the group). The sticky bit on a directory restricts deletion of files to their owner (e.g. /tmp).

How to use chmod Calculator

  1. 1Tick the permission boxes, type an octal mode (644, 2775) or paste a symbolic mode (rwxr-xr-x, u=rwx,go=rx, a+x).
  2. 2Read the warnings — world-writable, setuid binaries and unusual combinations are flagged.
  3. 3Copy a chmod command or a find -exec recipe from the Commands tab, using your own path.
  4. 4Use the umask tab to see what new files and directories will get, or which umask yields this mode.
  5. 5Check the ls -l tab to learn how the mode appears in a directory listing.

About chmod Calculator

Toggle read, write and execute for owner, group and others — or type an octal mode, an ls -l string like rwxr-xr-x, or chmod clauses like u=rwx,go=rx and a+x — and see numeric and symbolic forms side by side. Get security warnings for world-writable, setuid and odd combinations, a umask calculator, ready-to-copy chmod and find -exec recipes, and an annotated ls -l sample line.

chmod Calculator is part of FizzKit — a collection of focused developer and ad-tech tools. Because everything runs locally, it works offline once loaded and never exposes your data to a remote server.

Frequently asked questions

644 = rw-r--r-- (owner can read/write, others read-only) — common for files. 755 = rwxr-xr-x (owner full access, others read+execute) — common for directories and scripts.