Skip to content
Kwikdo

Chmod calculator

Work out Unix file permissions in octal and symbolic form by ticking boxes.

In your browser

ReadWriteExecute
Owner
Group
Everyone else

Symbolic

Command

About this tool

Calculate and understand Linux and Unix file permissions visually. Select read (r), write (w), and execute (x) permissions for Owner (User), Group, and Others (World) to generate standard octal numbers (e.g. 755, 644) and symbolic notation (-rwxr-xr-x), or enter an octal code to decode permissions.

How to use it

  1. 1 Check or uncheck permission boxes for Owner, Group, and Public/Others.
  2. 2 Or type an octal number like 755 or 644 into the input box.
  3. 3 Read the resulting octal representation, symbolic permission string, and terminal chmod command.
  4. 4 Copy the command to apply it in your SSH terminal or shell script.

Questions

What do the numbers in chmod 755 mean?

Each digit represents permissions for Owner (7), Group (5), and Others (5). 7 = Read (4) + Write (2) + Execute (1); 5 = Read (4) + Execute (1). This allows the owner full control while others can only read and run the file.

What permissions should web server files have?

Best security practice on Linux web servers (Nginx/Apache) is chmod 644 for regular files (HTML, PHP, images) and chmod 755 for directories, allowing the server to enter directories and serve files safely.

Why is chmod 777 dangerous?

chmod 777 grants every user on the system permission to read, modify, overwrite, and execute the file. On shared hosting or public servers, this exposes your files to tampering, malicious code injection, and security breaches.

Is my data uploaded?

No. This tool runs in your browser, so your text and files never reach our server.

Is this tool free?

Yes. It’s free to use with no sign-up and no limits for normal use.