Chmod Calculator

Work out Linux file permissions as a number like 755 or as rwx letters.

How to Use Chmod Calculator

  1. Tick Read, Write and Execute for Owner, Group and Others, or type a three-digit number.
  2. Read the octal and symbolic results.
  3. Copy the ready-made chmod command and replace filename with your file.

How the numbers work

Each of the three digits covers one group of people: the file's owner, its group, and everyone else. Read is worth 4, write 2 and execute 1, and you add up what's allowed. 7 is 4+2+1 (everything), 6 is read and write, 5 is read and execute, 4 is read only and 0 is nothing. So 754 means the owner can do everything, the group can read and run it, and others can only read it.

The symbolic form says the same thing with letters: -rwxr-xr-- is 754. The first character shows the type, and - means a regular file.

Common permissions

644 for normal files such as web pages and images. 755 for folders and scripts that need to run. 600 for private files like SSH keys, which ssh refuses to use if others can read them. 700 for private folders. 777 lets anyone change the file and is almost never the right fix, even if it makes an error go away.

The calculator covers the standard nine permission bits. The special setuid, setgid and sticky bits, written as a fourth digit in front (as in 4755), aren't included.

Key Features & Practical Use Cases

  • Working out the right permissions before running chmod on a server.
  • Understanding what 644, 755 or 600 actually allow.
  • Fixing "permission denied" errors on scripts, uploads or SSH keys.
  • Translating between rwxr-xr-x and the number form.

Frequently Asked Questions

What does chmod 755 mean?

The owner can read, write and execute; group and others can read and execute. It's the usual setting for folders and scripts.

What does chmod 644 mean?

The owner can read and write; everyone else can only read. It's the usual setting for regular files.

Why do folders need execute permission?

On a folder, execute means permission to enter it and reach the files inside. Without it, even readable files can't be opened.

How do I apply it to a whole folder?

Use chmod -R, but carefully: files and folders usually need different values, such as 644 and 755.

About OneClickly

OneClickly is a set of 119 free tools for PDFs, images, text, everyday math and code. They run in your browser, so the files and text you work with stay on your device.

Related Tools

  • Cron Expression Generator - Build cron schedule expressions and see what they mean in plain English.
  • Password Generator - Create strong, secure passwords with custom lengths and character inclusion options.
  • UUID / GUID Generator - Generate random UUIDv4 and GUID identifiers in single or batch modes.
  • User Agent Parser - See the browser, OS, engine and device behind any user agent string.
  • Meta Tag Generator - Create SEO, Open Graph and X card meta tags to paste into your page.
  • JWT Generator - Create HS256 signed JSON Web Tokens for testing, with your own payload and secret.