Developer utility

Chmod Calculator

Convert octal permissions to symbolic rwx format, toggle setuid or sticky bits, and generate a clean chmod command for scripts, files, and directories.

Octal and symbolic Owner/group/others Special bits Command preview

Calculate file permissions

Start with octal, symbolic, or direct checkbox toggles. The calculator keeps all views in sync and generates a ready-to-copy chmod command.

Ready

Enter an octal or symbolic mode, or toggle the permission matrix to update the chmod summary.

Octal755
Symbolicrwxr-xr-x
Commandchmod 755 deploy.sh
Common useExecutable script or directory

Permission matrix

Toggle read, write, and execute access for owner, group, and others.

Scope Read Write Execute
Owner
Group
Others

Special bits and summary

Toggle advanced permission bits and review the generated chmod command.

Owner execute becomes s or S.

Group execute becomes s or S.

Others execute becomes t or T.

About this tool

Why a chmod calculator saves time during file, script, and deployment work

Unix permissions are compact, but the octal-to-symbolic mapping is easy to misread when you switch contexts often. A chmod calculator makes the relationship visible so you can move between 755, 644, or a full symbolic string without pausing to decode the bits by hand.

This is especially handy when preparing deployment scripts, fixing container startup permissions, documenting file access rules, or checking whether a shared directory is too open. It pairs well with YAML Formatter for config-heavy workflows, JSON Formatter for deployment payloads, and Hash Generator when file integrity and permissions are reviewed together.

Common chmod patterns

Modes like 644 and 600 are common for files, while 755 and 775 appear often on scripts and directories that need execute access. A calculator helps you confirm those differences quickly, especially when a ticket or script references only the octal number.

Why special bits matter

Setuid, setgid, and sticky bits are less common, so they are also easier to forget. Seeing them beside the symbolic output helps you confirm whether a mode includes advanced behavior before you apply it on a production-like system.

Example: review a deployment script

Confirm that a script should be executable for the owner and readable for everyone else before adding it to a container image or release process.

Example: decode a support ticket fast

Take an octal mode from a ticket or shell command and turn it into readable rwx permissions so the problem is easier to explain to teammates.

Example: verify special-bit usage

Check whether sticky or setgid behavior is really intended before applying the mode to a shared directory or executable file.

Can I start from octal or symbolic input?

Yes. The calculator supports both octal values like 755 and symbolic strings like rwxr-xr-x, then keeps the views synchronized.

Does it support setuid, setgid, and sticky bits?

Yes. Toggle those special bits directly and the octal and symbolic results update immediately.

Can I copy a ready-to-use chmod command?

Yes. The generated summary includes a command preview with the current filename so it is easy to paste into notes or shell history.