Skip to content

Chmod Calculator

Work out Unix file permissions: pick read, write and execute for owner, group and others, or convert numbers like 755.

Pick the permissions

Octal
755
Symbolic
rwxr-xr-x
Command
chmod 755 filename

Or convert a number

Symbolic
rw-r--r--
Owner can
read, write
Group can
read
Others can
read
Command
chmod 644 filename
Check
read=4, write=2, execute=1

What is Chmod Calculator?

On Linux and macOS every file has permissions for three groups: the owner, the group and everyone else. Each group can read, write and execute.

The chmod command sets them, usually with a three digit number such as 755.

What this tool does

The first part builds the number and the letters (like rwxr-xr-x) from your choices. The second part reads a three digit number and explains what each group can do. Both show the ready-to-use chmod command.

How to use it

  1. Pick the permissions for the owner, group and others.
  2. Read the octal number and the command.
  3. Or type a number to see what it means.

Did you know?

  • Read is 4, write is 2 and execute is 1. Add them up: 7 means all three and 5 means read and execute.
  • 755 is common for programs and folders, and 644 for ordinary files.

More tools in this category