CHMOD · LOCAL CALCULATOR
The calculator that speaks chmod.
Tap the matrix or paste a mode; octal, symbolic and both commands update together. Nothing leaves this tab.
Current mode
File permissions
Octal
Symbolic
Presets
Numeric command
chmod 644 fileSymbolic command
chmod u=rw,g=r,o=r fileLoad an existing mode
Before you copy
No warnings: this mode does not open writes to others or set special bits.
Quick reference
Binary representation
| Class | rwx | Value |
|---|---|---|
| u | 110 | 6 |
| g | 100 | 4 |
| o | 100 | 4 |
Examples
- 644 — readable by everyone, writable only by the owner.
- 755 — executable by everyone, writable only by the owner.
- 4755 — SUID + 755: the binary runs as its owner.
- 1777 — sticky + 777: /tmp, everyone writes but only deletes their own files.
Special symbols
s / Ss with execute, S without it (SUID).s / Ss with execute, S without it (SGID).t / Tt with execute, T without it (sticky).
Calculation and copying happen in the browser. This page never runs chmod or touches your files.