Chmod Calculator

Convert Unix file permissions between octal and symbolic notation with interactive controls.

Development & DevOps
Preparing your workspace…
Input
Output
Your result will appear here.

How to use

  1. Enter octal or symbolic permissions.
  2. Adjust owner, group, other and special permission bits.
  3. Copy the mode or example chmod command.

Chmod Calculator

Enter three or four octal digits, or symbolic permissions such as rwxr-xr-x. Owner, group and other permission checkboxes update the numeric and symbolic representations immediately.

Processing stays in your browser. DevToolsy does not receive the pasted data or selected file.

Input and processing

Setuid, setgid and sticky-bit controls are included. Uppercase S or T indicates that a special bit is set while the corresponding execute bit is off.

Worked example
Input
755
Output
{
  "mode": 493,
  "octal": "755",
  "symbolic": "rwxr-xr-x",
  "command": "chmod 755 file"
}

This example uses the default settings.

Result and limitations

The generated command uses file as a placeholder. The tool does not inspect or change filesystem permissions, resolve ownership or determine whether a permission mode suits a particular server.

Using the output

Copy the mode or example chmod command.

Processing limits

Modes from 0000 through 7777. Calculations do not run commands or change files.

?

Frequently asked questions

How do numeric and symbolic modes correspond?

Enter three or four octal digits, or symbolic permissions such as rwxr-xr-x. Owner, group and other permission checkboxes update the numeric and symbolic representations immediately.

What do S, T and the special bits mean?

Setuid, setgid and sticky-bit controls are included. Uppercase S or T indicates that a special bit is set while the corresponding execute bit is off.

Does this tool change permissions on my system?

The generated command uses file as a placeholder. The tool does not inspect or change filesystem permissions, resolve ownership or determine whether a permission mode suits a particular server.

Is the input uploaded?

Processing stays in your browser. DevToolsy does not receive the pasted data or selected file.

Can I keep the result?

Copy the mode or example chmod command.

Find your next tool

Language

Switch language? Your current work will be cleared. Copy or download it first.