Skip to main content

chmod Calculator

Calculate Unix file permissions in symbolic and octal notation.

How it works

  1. 1

    Paste your input

    Paste the code, text, or value you want to process with chmod Calculator.

  2. 2

    Run the conversion

    Use the tool controls to generate, convert, validate, or inspect the result instantly.

  3. 3

    Copy output

    Copy the final output and use it in your app, script, or workflow.

Common use cases

  • Standard file

    Owner: rw-, Group: r--, Other: r--

  • Executable

    Owner: rwx, Group: r-x, Other: r-x

About This Tool

Toggle read, write, and execute permissions for owner, group, and other users. See the resulting permissions in both symbolic (rwxr-xr-x) and octal (755) notation in real time.

Includes common permission presets (644, 755, 777) and bidirectional conversion -- enter an octal number to see the symbolic equivalent or toggle checkboxes to see the octal result.

More examples

Examples

Standard file

Input

Owner: rw-, Group: r--, Other: r--

Output

644 (rw-r--r--)

Executable

Input

Owner: rwx, Group: r-x, Other: r-x

Output

755 (rwxr-xr-x)
Frequently Asked Questions
What does chmod 755 mean?
755 means owner has read+write+execute (7), group has read+execute (5), and others have read+execute (5). It is the standard permission for executable files and directories.
What is the difference between symbolic and octal?
Symbolic notation uses letters (rwx), while octal uses numbers (0-7). Each digit represents 3 permission bits: read (4) + write (2) + execute (1).
What permissions should I use for web files?
Common web permissions: 644 for files (owner read/write, others read-only) and 755 for directories and scripts (owner full, others read/execute).

Related Guides

Discover More Tools

View all Developer Tools →