Skip to main content

chmod Calculator

Calculate and convert Unix file permission modes between octal and symbolic.

Reviewed by · Last reviewed

Owner: read, write, execute; Group: read, execute; Other: read, execute

How to Use the chmod Calculator

  1. Enter an octal code (such as 755 or 4755) in the Octal Permission Code field. The symbolic string updates instantly.
  2. Or enter a symbolic string (such as rwxr-xr-x) in the Symbolic Permission String field. The octal code updates instantly.
  3. Read the description below the fields to see a plain-English summary of the permission (Owner, Group, Other).

What This Tool Does

The chmod Calculator converts Unix file permission modes bidirectionally between octal notation (e.g. 755) and symbolic notation (e.g. rwxr-xr-x). It handles all nine rwx bits for owner, group, and other, as well as the three special bits: setuid (4000), setgid (2000), and sticky (1000). Conversion is pure client-side JavaScript with no server calls.

Frequently Asked Questions

What does chmod 755 mean?

chmod 755 sets owner read, write, and execute; group read and execute; other read and execute. In symbolic form this is rwxr-xr-x. It is common for directories and executables that should be world-readable but only owner-writable.

What are the setuid, setgid, and sticky bits?

These are the three high bits (4000, 2000, 1000). Setuid (4000) on an executable runs it as the file owner; setgid (2000) runs it as the group owner; sticky (1000) on a directory prevents users from deleting files they do not own, as used on /tmp. In symbolic notation, setuid replaces the owner execute slot with s (or S when execute is not set), setgid replaces the group execute slot, and sticky replaces the other execute slot with t or T.

Is anything sent to a server?

No. All conversion runs entirely in your browser with no network requests. Your permission strings never leave the tab.

More Developer Tools