chmod calculator

Octal, symbolic and checkboxes stay in sync — change any one and the other two update immediately. Includes setuid, setgid and sticky bits, and a separate calculator for applying a chmod expression like u+x to a starting mode. Runs entirely in your browser.

Octal 755
Symbolic rwxr-xr-x
Checkboxes
ReadWriteExecuteSpecial
Owner
Group
Other
Apply an expression to a starting mode not applied

Enter a starting mode and an expression.

About this tool

Octal (755), symbolic (rwxr-xr-x) and the checkbox grid are three views of exactly the same permission set — change any one and the other two update immediately, including the three special bits (setuid, setgid, sticky) that a plain three-digit octal number can't represent on its own.

The second calculator answers a different, more common real question: not "what does 755 mean" but "what does chmod u+x actually change", starting from a mode you already have.

How it works

The special bits render exactly the way ls -l and chmod themselves display them: a lower-case s or t in the execute position when the special bit and the execute bit are both set, and an upper-case S or T when the special bit is set but execute is not — the classic "capital letter means something's off" signal experienced users read at a glance. 1777 (the traditional /tmp permission — world-writable with the sticky bit so users can't delete each other's files) renders as rwxrwxrwt, lower-case, because other already has execute.

The expression calculator supports the common subset of chmod's symbolic syntax: u/g/o/a for who, +/-/= for add/remove/set-exactly, and r/w/x/s/t for what, with commas chaining multiple clauses in one expression — u+x,go-w applies both.

Common questions

Why does 4644 show a capital S?

Because setuid is set but the owner has no execute permission — a real, valid, if unusual, combination. The capital letter is the standard way of flagging it, not a bug in this page.

What does a bare +x with no u/g/o do?

This page treats it as applying to all three classes — the same as a+x. Real shell chmod without an explicit class also consults your shell's umask, which this page has no concept of and does not model — see Known limitations.

Does s in an expression always mean setuid?

s sets setuid when the expression's who includes u, and setgid when it includes g — both at once if the expression includes both, e.g. ug+s.

Known limitations

The same job at the command line

More tools

See the whole toolbox — thirty-seven free tools planned, all running in your browser.