# chmod Calculator

Convert between octal and symbolic Unix file permissions.

## URL

https://ilham.dev/tools/chmod-calculator/

## What It Does

Convert between octal permissions and symbolic ones, toggling read, write and execute for owner, group and others. It shows the resulting chmod command and the rwxr-xr-x string side by side, so you can check one against the other before running anything.

## Features

- Runs in the browser
- No login required

## Input

text input.

## Output

text output.

## Privacy

Processing happens locally in the browser.

No input data is uploaded to ilham.dev.

- Requires login: false
- Requires API key: false
- Stores user data: false


## Examples

- What is the difference between 644 and 755?
- What does a leading digit mean?




## Questions

### What is the difference between 644 and 755?

644 gives the owner read and write and everyone else read, which is the normal choice for files. 755 adds execute for everyone, which is what directories and scripts need.

### What does a leading digit mean?

In a full Unix permission number, the leading digit can hold setuid, setgid, and sticky bits. **This calculator does not preserve or report that digit correctly.** Check special bits using system tools before changing permissions.

