← All Tools

Unix Permissions Converter🔒 100% local

Calculate chmod values. Privacy-first, no server uploads, no tracking.

Unix Permissions Converter: related tools

Base ConverterByte Storage ConverterCamel Snake Converter

Translates between the two ways chmod is written. Give it octal digits (three or four) or a nine-character symbolic string such as rwxr-xr-x, and it prints the octal form, the symbolic form, a per-triad breakdown with the permission names spelled out, the state of the setuid/setgid/sticky bits, and a ready chmod command line. The whole calculation is string slicing and bit tests inside the page component, so the permissions you paste stay in the tab.

Unix Permissions: how to use it

  1. Paste an octal permission like 755 or a symbolic one like rwxr-xr-x into the input box.
  2. Press Process to fill the Output panel.
  3. Read the Owner/Group/Others lines for the meaning of each digit, then copy the chmod command at the bottom.

Unix Permissions: worked example

755becomesOctal: 0755 Symbolic: rwxr-xr-x Owner (u): rwx (read, write, execute) Group (g): r-x (read, execute) Others (o): r-x (read, execute) Special bits: (no special bits - 3-digit octal given) Context: Typical for directories and executables (owner rwx, others rx) chmod command: chmod 755 <file>

shown condensed; the real output keeps the blank separator lines

rwxr-xr-xbecomesOctal: 0755 Symbolic: rwxr-xr-x

the symbolic branch produces the same octal, so this input and 755 give identical output

4755becomesOctal: 4755 Setuid (ON) - run with file owner's privileges Setgid (off) - run with file group's privileges Sticky bit (off) - only owner can delete files in directory chmod command: chmod 4755 <file>

a leading fourth digit switches on the special-bit report

Unix Permissions: when to use it

Unix Permissions: what it does not do