chmod Calculator

中

Loading...

chmod Calculator — Linux File Permissions Made Visual

Click checkboxes for owner, group, and others to get the chmod command and octal code instantly, or enter an octal like 755 to see exactly which permissions it grants. A visual, bidirectional converter between symbolic notation (rwxr-xr-x) and numeric modes.

Perfect for learning Unix permissions, double-checking a deploy script, or deciding the right mode for a directory vs. a file. The calculator explains what each digit means rather than making you memorize the arithmetic.

How to use the chmod calculator

  1. Toggle read/write/execute for owner, group, and others — the octal updates live.
  2. Or type an octal mode (e.g. 644) to decompose it into permissions.
  3. Read the generated chmod command, ready to copy.
  4. Use the symbolic notation (rwxr-xr-x) for documentation.

Frequently asked questions

What do the digits in chmod 755 mean?

Each digit is a permission set: owner=7 (read+write+execute), group=5 (read+execute), others=5. 644 means the owner reads and writes, everyone else only reads — the standard for files. 755 is the standard for directories and executables.

When do I actually need the execute bit?

Programs and scripts need x to run, and directories need x to be enterable (you cannot cd into a directory without it). Plain data files never need x — and granting it lets any file be executed as a program, so leave it off by default.

What is the difference between chmod 755 and chmod +x?

+x adds execute for all three sets on one file (relative change). 755 sets absolute values for every set at once. Absolute modes are safer in scripts — they cannot accidentally leave broader permissions than intended.

Related tools

PureKit · chmod · Free online tool — files processed locally in your browser, no upload.