Skip to content
M2TOOLKIT

Developer · free tool

Chmod Calculator

Work out Linux file permissions by ticking boxes, or decode a number like 755.

Use it as often as you like — it's free, with no sign-up and no limits.

  • Developer
  • Free
  • No sign-up
  • Runs in your browser
  • Updated
WhoReadWriteExecute
Owner
Group
Others
Numeric (octal)
755
Symbolic
-rwxr-xr-x
Command
chmod 755 filename

Common modes: 644 for files (owner can edit, everyone can read), 755 for folders and scripts, 600 for private keys.

Everything you type is processed in your browser. Nothing you enter is sent to our servers or stored by us.

How to use the Chmod Calculator

  1. Tick read, write and execute for owner, group and others.
  2. Or type a numeric mode such as 644.
  3. Copy the chmod command.

What does this tool do?

Each permission has a value: read = 4, write = 2, execute = 1. Adding them gives one digit per class of user — owner, group, others. So rwx (4+2+1) is 7 and r-x (4+1) is 5, making rwxr-xr-x equal to 755.

Why use it?

  • Set safe permissions on web servers.
  • Understand error messages about permissions.
  • No more mental arithmetic.

Common modes

Typical permissions:

ModeSymbolicTypical use
644rw-r--r--Normal files
755rwxr-xr-xFolders and scripts
600rw-------Private keys, secrets
700rwx------Private folders
777rwxrwxrwxAvoid — anyone can modify

Privacy

Everything you type is processed in your browser. Nothing you enter is sent to our servers or stored by us. There's no account to create and nothing to install.

Frequently asked questions

What's the difference between 644 and 755?

644 (rw-r--r--) lets the owner read and write and everyone else only read — typical for regular files. 755 (rwxr-xr-x) adds execute permission, which directories and scripts need.

Why is chmod 777 a bad idea?

777 lets every user on the system read, change and run the file. On a web server that can let an attacker modify your files. Grant the smallest permissions that work instead.

Last reviewed by the M2Toolkit team.

Other tools people use alongside the chmod calculator.