Chmod Calculator — Octal & Symbolic Permissions
Build Unix file permissions visually and get the octal, symbolic (rwxr-xr-x), and chmod command — live, in your browser.
Permissions
Not a valid value.
About Unix file permissions
Every file and directory on a Unix-like system (Linux, macOS, BSD) carries permissions for
three classes of user: the owner, the group, and
others. Each class can be granted read,
write, and execute access. The chmod command
sets these permissions, and you can express them two ways.
- Octal is compact: each class is a digit that sums read (4), write (2), and execute (1) — so
755isrwxr-xr-x. - Symbolic spells out the nine slots directly, using
r,w,x, and-for a missing permission. - A leading fourth octal digit carries the special bits — setuid, setgid, and the sticky bit — which is why you sometimes see
0755or4755.
Type a value in either notation above, or tick the boxes, and this tool shows you the octal,
the symbolic string, a plain-English summary, and the exact chmod command to run.
How it works
Three steps. No sign-up, no upload, no wait.
Set the permissions
Tick Read, Write, and Execute for the owner, group, and others — or type an octal like 644.
Read the results
The octal, the symbolic string (rwxr-xr-x), and a ready-to-run chmod command update live.
Copy the command
Grab the full chmod command with one click and paste it into your terminal.
Private by design.Everything happens right here in your browser. Your files are never uploaded — we never see them.
Frequently Asked Questions
What do the read, write, and execute permissions mean? ▼
How does the octal number map to permissions? ▼
7 is read+write+execute (4+2+1), 5 is read+execute (4+1), and 6 is read+write (4+2). The three digits apply to owner, group, and others in that order — 755 means rwxr-xr-x.What is the difference between 755 and 0755? ▼
0 simply means none of those special bits are set, so 0755 and 755 behave identically.What are setuid, setgid, and the sticky bit? ▼
/tmp.