chmod Calculator Online

Calculate Unix file permissions visually. Get octal, symbolic, and chmod command.

Read (r)Write (w)Execute (x)Octal
Owner6
Group4
Others4
Octal

644

Symbolic

rw-r--r--

Command

chmod 644 filename

When a chmod calculator is the right tool

Use this page to turn owner, group, and others read/write/execute boxes into a three-digit octal mode, a nine-character symbolic string, and a sample chmod command. It does not apply permissions to a file and it does not model setuid, setgid, or the sticky bit.

Use cases

A typical file mode (644)

The default is owner read/write and group/others read: octal 644, symbolic rw-r--r--, command chmod 644 filename.

A typical directory or script mode (755)

Type 755 in the octal field, or tick Execute for every class, to get rwxr-xr-x.

How the values are computed

Each class contributes one octal digit from its three bits. The command always uses the literal target name filename.

Example — the default 644 file mode
644
rw-r--r--
chmod 644 filename

What this tool does not do

It does not accept symbolic input such as u+x, recursive flags, or four-digit special modes. Calculation stays in your browser.

How to use chmod Calculator

  1. Toggle Read, Write, and Execute for owner, group, and others, or type a 3-digit octal mode.
  2. Copy the octal, symbolic, or command line you need.
  3. Run the command on your own machine, replacing filename with a real path.

Frequently asked questions

How does chmod Calculator work?

Check Read, Write, and Execute for owner, group, and others. The octal, nine-character symbolic string, and chmod command update as you click. Each class’s digit is read=4, write=2, execute=1. The page starts at 644 (owner read/write, group and others read). Copy buttons sit on the octal, symbolic, and command lines.

Can I type an octal mode instead of clicking boxes?

Yes, in the octal field at the bottom. The boxes update only when the field holds exactly three characters, each 0–7. Anything else, including a four-digit mode such as 0755 or 4755, is ignored. Changing a checkbox clears that field so it does not fight the boxes; the result lines still update.

Does this support setuid, setgid, sticky bits, or recursive chmod?

No. There is no special-bit checkbox and no 4-digit octal input. The symbolic line is nine characters (rwxrwxrwx style) without a leading file-type character such as - or d. The command is always chmod <octal> filename, with the literal word filename and no -R flag. There is no ACL or umask calculator.

Is anything sent to a server?

No. The arithmetic runs in your browser. The page does not change permissions on a file.

Related tools and guides

References

  • The POSIX chmod utility also documents special mode bits this calculator does not cover.