Skip to content

Chmod Calculator

Octal ↔ rwx permissions

Convert Unix file permissions between octal (755), symbolic (rwxr-xr-x) and checkboxes, including setuid, setgid and sticky bits.

No uploads
Octal
Symbolic
ReadWriteExecuteValue
Owner7
Group5
Others5
chmod 755 file.sh

Chmod Calculator — Convert Unix file permissions between octal (755), symbolic (rwxr-xr-x) and checkboxes, including setuid, setgid and sticky bits. Free on ToolWand: no sign-up, no watermark, works offline.

How to use Chmod Calculator

  1. 1Open Chmod Calculator. It runs in your browser, no sign-up.
  2. 2Type or paste your input.
  3. 3Copy or download the result.

About Chmod Calculator

Chmod Calculator converts Unix file permissions between octal (755), symbolic (rwxr-xr-x) and checkboxes, including setuid, setgid and the sticky bit, and shows the chmod command.

When to use it

  • Work out the right permissions for scripts, web files or SSH keys.
  • Read a symbolic permission string from ls -l.
  • Check what a permission number means before running chmod.

Tips

  • 755 is common for scripts and directories; 644 for regular files.
  • SSH private keys usually need 600.

Questions

What does 755 mean?

Owner can read, write and execute (7); group and others can read and execute (5). Common for scripts and directories.

What are setuid, setgid and sticky?

Special bits shown as a 4th leading digit. setuid (4) runs a file as its owner, setgid (2) as its group, and sticky (1) on a directory stops users deleting others’ files.

Why not 777?

It lets anyone modify or replace the file — a common security hole.

More tools