Chmod Calculator
Convert Unix file permissions between checkboxes, octal (like 755), and symbolic (rwxr-xr-x). Includes setuid, setgid, and sticky bits. Instant, client-side.
| Who | Read (4) | Write (2) | Execute (1) |
|---|---|---|---|
| owner | |||
| group | |||
| other |
chmod 755 filenameRead = 4, write = 2, execute = 1; add them per group. Type an octal value above to work backwards. Everything is computed in your browser.
Work out Unix file permissions without memorizing the math. Tick the boxes to get the octal number for chmod (like 755) and the symbolic form (rwxr-xr-x), or type an octal value to see what it means. Includes the special setuid, setgid, and sticky bits.
How to use it
No account, no upload — it all happens on your device.
Reading a permission string
What ls -l is telling you.
A listing like -rwxr-xr-- breaks into four parts: the file type (- for a file, d for a directory), then three triads for owner, group, and everyone else. Each triad is read (r), write (w), and execute (x), or - where the permission is absent.
Common permissions
- 644 (
rw-r--r--) — normal files: owner can edit, everyone can read. - 755 (
rwxr-xr-x) — directories and scripts: owner full control, others can read/run. - 600 (
rw-------) — private files like SSH keys: only the owner can read or write.