Skip to content
hateitall

chmod Calculator

Get the exact chmod number or letters for the permissions you want, and understand what they allow.

Processed locallyIn: Number, TextOut: Text

Loading tool…

How to use chmod calculator

  1. Tick read, write and execute for owner, group and others, or pick a preset.

  2. Or type an octal mode such as 2775, or symbolic text such as rwsr-xr-x.

  3. Copy the chmod command in numeric or symbolic form.

  4. Test a chmod expression like g+w,o-rx, or check what a umask gives new files.

What this tool does

  • Converts both ways between octal and symbolic, including setuid (s or S), setgid and sticky (t or T).
  • Accepts ls -l output with its leading file type character.
  • Applies symbolic chmod expressions, including X and copying from u, g or o.
  • Explains each class's permissions in words and warns about world-writable modes.

How the result is verified

Octal and symbolic forms are computed from the same 12-bit mode, so typing either one updates the other, and the symbolic chmod command sets exactly that mode.

Frequently asked questions

What does chmod 755 mean?

Owner can read, write and execute; group and others can read and execute. It is the usual mode for programs and folders.

What is the difference between s and S?

Lower case s means setuid or setgid is set and the execute bit is too. Capital S means the special bit is set without execute, which usually has no useful effect on a file.

Is my data uploaded to a server?

No. Everything you drop, paste or type is processed by code running in this browser tab. You can check it yourself: open your browser's developer tools, watch the Network panel, and use the tool. No request carries your data.

Explain cron schedules in plain English and preview the next 10 runs

Text→ ReportLight on device

Network, broadcast, host range and masks for any IPv4 CIDR

IP address · CIDR→ ReportLight on device

See key, code, keyCode and modifiers for any keypress, plus shortcut code

Keyboard→ ReportLight on device

Every status code with its meaning, when to use it and its RFC

Number · Text→ ReferenceLight on device