Boneyard Tools

Chmod Permissions Calculator

Tick the read, write and execute boxes for owner, group and others to see the octal mode and symbolic string update live. Or type an octal number to fill the grid. Everything runs in your browser.

How to calculate chmod permissions

  1. Check the read, write and execute boxes for owner, group and others.
  2. Read the octal mode (like 755) and symbolic string (like rwxr-xr-x) as they update.
  3. Copy the ready-made chmod command and paste it into your terminal.

Examples

Common web server file (644)

rw-r--r--
644

Executable script or directory (755)

rwxr-xr-x
755

Frequently asked questions

What does chmod 755 mean?

The owner can read, write and execute (7), while the group and others can read and execute but not write (5). It is the usual mode for directories and runnable scripts.

What does chmod 644 mean?

The owner can read and write (6), while the group and others can only read (4). It is the typical mode for regular files like HTML, images and config files.

What is the difference between octal and symbolic permissions?

They describe the same thing two ways. Octal uses three digits (each 0-7) where read is 4, write is 2 and execute is 1. Symbolic spells the bits out as nine characters such as rwxr-xr-x.

What do read, write and execute actually do?

Read lets you view a file or list a directory, write lets you change a file or add and remove files in a directory, and execute lets you run a file or enter a directory.

What is the leading digit in a mode like 4755?

A fourth, leading digit sets the special bits: 4 is setuid, 2 is setgid and 1 is the sticky bit. This calculator focuses on the standard read, write and execute bits and ignores that special digit.

Is my input sent to a server?

No. The conversion is plain arithmetic that runs entirely in your browser, so nothing you type is uploaded anywhere.

Related tools