Chmod Calculator

Calculate Linux file permissions with an interactive chmod calculator. Convert between numeric (755) and symbolic (rwxr-xr-x) notation. Free online tool.

100% Client-Side Your data never leaves your browser Free · No Sign-Up
Read
Write
Execute
Owner
Group
Others
rwxr-xr-x
chmod 755 filename

How to Use

  1. Toggle the Read, Write, and Execute checkboxes for Owner, Group, and Others.
  2. The numeric value, symbolic notation, and chmod command update instantly.
  3. Alternatively, type a numeric value (e.g., 644) into the input field and the checkboxes will update to match.
  4. Click Copy next to any output to copy it to your clipboard.

Common Permissions

NumericSymbolicUse Case
755rwxr-xr-xDirectories, executable scripts, web server root
644rw-r—r—Regular files, HTML/CSS, config files
600rw-------Private files (SSH keys, .env)
700rwx------Private directories, ~/.ssh
777rwxrwxrwxWorld-writable (avoid in production)
444r—r—r—Read-only for everyone
750rwxr-x---Owner full, group read/execute, others none
664rw-rw-r—Shared files where group members can edit

Worked Examples

Setting up a web server file

Your web server serves static HTML. The web server process (running as www-data) only needs to read the files, while you as the owner need to edit them:

chmod 644 index.html   # Owner: read+write, Group/Others: read

This gives you rw-r—r— — you can edit, the server can read, and no one can execute the file.

Making a script executable

You’ve written a deployment script and need to run it. Others on the team should be able to run it too but not modify it:

chmod 755 deploy.sh    # Owner: full, Group/Others: read+execute

This gives you rwxr-xr-x. Now you can run ./deploy.sh directly.

Protecting SSH keys

SSH refuses to use a private key if its permissions are too open. Lock it down to owner-only:

chmod 600 ~/.ssh/id_rsa   # Owner: read+write, no one else

Result: rw-------. SSH requires 600 or stricter for private key files.

FAQ

What is chmod?

chmod (change mode) is a Unix/Linux command that sets file and directory permissions. It controls who can read, write, or execute a file. Permissions are assigned to three classes: the file owner, the group, and all other users.

What do the chmod numbers mean?

Each digit represents a permission class (owner, group, others). The digit is the sum of: 4 (read), 2 (write), and 1 (execute). For example, 7 = 4+2+1 (read+write+execute), 5 = 4+1 (read+execute), 0 = no permissions.

What are common chmod values like 755 and 644?

755 (rwxr-xr-x) is standard for directories and executable scripts — owner has full access, others can read and execute. 644 (rw-r--r--) is standard for regular files — owner can read/write, others can only read. 600 (rw-------) is used for private files like SSH keys.

Is my data sent anywhere?

No. This calculator runs entirely in your browser using JavaScript. No data is transmitted to any server.