Chmod Permissions Calculator
Calculate Unix and Linux file permissions between octal modes (755, 644), symbolic notation, and chmod commands.
Related developer tools
All Developer toolsNumber Base Converter
Convert arbitrarily large integers across binary, octal, decimal, hexadecimal, and custom bases (2–36).
Text to Binary, ASCII, Octal & Unicode
Convert text bidirectionally into binary bits, decimal ASCII codes, octal values, and \uXXXX Unicode escapes.
Base64 Encoder & Decoder
Encode or decode UTF-8 text and convert local files into Base64 data URLs.
URL Encoder & Decoder
Percent-encode or decode URLs and inspect or edit query string parameters.
About Chmod Permissions Calculator
Calculate Unix and Linux chmod file permissions interactively between owner/group/public checkboxes, 3- or 4-digit octal modes, symbolic rwxr-xr-x notation, and ready-to-run shell commands.
How to use Chmod Permissions Calculator
- 1
Toggle Read, Write, and Execute permissions for Owner, Group, and Public, plus optional Setuid, Setgid, or Sticky bits.
- 2
Or type an octal mode such as 644, 755, or 1777 directly—or click a common preset.
- 3
Enter your target file or directory path, toggle -R if needed, and copy the generated chmod command.
Frequently asked questions
What is the difference between chmod 644 and chmod 755?
644 gives the owner read/write and everyone else read-only (standard for regular files), while 755 adds execute permission for all users (standard for scripts and directories).
When should I use chmod 600 or 400?
Use 600 (owner read/write) or 400 (owner read-only) for private SSH keys, TLS certificates, and .env files so other local users cannot read them.
What do Setuid (4), Setgid (2), and Sticky Bit (1) do?
They form an optional 4th leading octal digit: Setuid/Setgid run files or inherit directory group ownership, and Sticky Bit (like 1777 on /tmp) restricts file deletion to owners.
