Chmod Calculator

Toggle read/write/execute bits and see octal modes like 755, 644 plus symbolic -rwxr-xr-x. Essential for deploy scripts, Dockerfiles, and server debugging.

Privacy: processed locally, never uploaded.

↓ Paste in the input area below to see results instantly

Toggle permission bits, or sync from octal / symbolic input below.

WhoRead (r)Write (w)Execute (x)
Owner (u)
Group (g)
Other (o)

Octal

755

Symbolic

-rwxr-xr-x

Binary

111 101 101

Notes

Common modes

755 = rwxr-xr-x (scripts/executables); 644 = rw-r--r-- (regular files); 600 = rw------- (private configs).

Toggle read/write/execute bits and see octal modes like 755, 644 plus symbolic -rwxr-xr-x. Essential for deploy scripts, Dockerfiles, and server debugging.

Quick start

  1. Toggle bits

    Set owner, group, and other permission triplets.

  2. Enter octal or symbolic

    Blur to sync from values like 755 or -rwxr-xr-x.

Features and use cases

Convert numeric chmod (755) ↔ rwx notation by toggling read/write/execute bits.

Use in deploy scripts, Dockerfile permissions, host troubleshooting, and learning Unix modes.

Common modes

755: executables/dirs; 644: regular files; 600: owner-only read/write.

Typical Workflow

When configuring file permissions for servers, first determine the access requirements. For example, website executable scripts typically need 755 permissions (full owner access, read/execute for others), while config files suit 644 (owner write-only). This tool shows real-time conversion between permission bits and symbolic notation.

In practice, check the permission boxes to auto-generate octal codes. Copy these codes to terminal commands like `chmod 755 script.sh`. For Docker deployments, use the generated numbers in Dockerfile to set initial permissions for COPY operations.

Examples

Script

Input

rwxr-xr-x

Output

755

FAQ

setuid/setgid/sticky?

Standard 9 rwx bits only; no setuid/setgid/sticky.

Why do directories usually need execute(x) permission?

The execute permission for directories means 'access' permission. Without x, users can't list files even with read(r) permission. This security feature makes 755 (not 750) common for directories, ensuring proper content access.