Home / Developer Tools / Chmod Calculator

πŸ” Chmod Calculator

Convert Unix file permissions between rwx notation and octal numbers. Tick the boxes or type an octal value to get the chmod command instantly.

Read (4)Write (2)Execute (1)
755
-rwxr-xr-x
chmod 755 filename

Understanding Unix file permissions

Every file on Linux and macOS has three permission sets β€” for the owner, the group and everyone else β€” each combining read (4), write (2) and execute (1). Octal notation sums these: 7 means full access, 5 means read and execute, and 644 gives the owner write access while everyone else can only read. Directories also need the execute bit to be entered. The special setuid, setgid and sticky bits add a fourth leading digit and control advanced behaviour such as shared folders.

You might also like