Chmod Permissions Calculator

Interactive Unix / Linux file permissions calculator. Convert octal numbers, symbolic notation, and special bits in real-time.

Private by architecture: All processing is 100% client-side memory. Your data never leaves this browser tab.
Permissions Matrix
Role Read (4) Write (2) Execute (1)
Owner (u)
Group (g)
Public / Others (o)
Special Bits
Generated Values

About This Tool

Builds Unix file permissions visually: select read, write, and execute permissions per role (owner, group, others), or pick a common preset, and get the octal number, symbolic string, and ready-to-run chmod commands back immediately. Typing directly into the Octal field works too; it re-parses and syncs the checkboxes back.

Binary bit values map to three core permissions: 4 = Read (r), 2 = Write (w), and 1 = Execute (x). Special bits form a leading fourth octal digit: SetUID (4000) runs files with owner privileges, SetGID (2000) inherits group ownership, and the Sticky Bit (1000) prevents deletion of files by non-owners in shared directories like /tmp.

Key Features

  • Interactive RWX Matrix: Nine checkboxes (owner, group, and others by read, write, execute) calculate permissions in real time.
  • Eight Common Presets: Quick presets for 755 executable, 644 standard file, 600 private key, 700 private directory, 777 public, and 1777 sticky.
  • Bidirectional Sync: Type octal numbers directly to update checkboxes or click checkboxes to update octal values.
  • Special Bits Support: SetUID (s/S), SetGID (s/S), and Sticky Bit (t/T) automatically switch output to 4-digit octal notation.
  • Target Filename Customizer: Pre-fill target script or file name into both numeric and symbolic bash command formats.
  • Per-Field Copy: Instant clipboard copy buttons for octal values, symbolic strings, and ready-to-paste chmod CLI commands.

Frequently Asked Questions

What's the difference between the numeric and symbolic Bash commands?
The numeric command uses the three (or four, with special bits) digit octal form, e.g. chmod 755 file. The symbolic command uses u=/g=/o= assignments, e.g. chmod u=rwx,g=rx,o=rx file. Both produce identical resulting permissions.
How do the special bits (SetUID, SetGID, Sticky) show up in octal?
They form a leading fourth digit: SetUID = 4000, SetGID = 2000, Sticky = 1000 (combinable, e.g. 6000). The Octal Notation field automatically switches from 3 digits to 4 digits once any special bit is checked.
Can I type an octal value directly instead of using the checkboxes?
Yes. Typing into the Octal Notation field re-parses the value and updates every checkbox, the symbolic string, and both bash commands to match.
Does the File Type selector change the permission bits?
No. It only changes the leading character of the symbolic notation (- for a regular file, d for a directory, l for a symlink). It is cosmetic and does not affect the octal value.
Is anything sent to a server?
No. All calculations run locally in your browser; nothing is uploaded or transmitted.