Chmod Calculator

Calculate Linux/Unix file permissions: tick read, write, execute and get the chmod number (755, 644) and symbolic notation.

50 free uses every 24 hoursUnlimited with Pro →

Private by design — your data stays on your deviceEverything runs right here in your browser. What you type is not sent to our server and is not stored.
  • Runs in your browser
  • Not stored
  • No sign-up

This chmod calculator turns ticked read, write and execute boxes into a chmod number and symbolic notation, and it works the other way too. It is made for anyone who manages Linux or Unix files, from server admins to people using a hosting file manager. Everything runs in your browser, and it is free to use.

How to use the chmod calculator

  1. Tick the permissions you want: read, write and execute for the owner, the group and everyone else. The number updates as you click.
  2. Or go the other direction. Type a number such as 644 and see which boxes it switches on.
  3. Check the symbolic notation, for example rwxr-xr-x. It should match what you expect to see in a directory listing.
  4. Copy the chmod command.
  5. Paste it into your terminal, or enter the number in your hosting file manager's permissions box.
How to use the Chmod Calculator on OneHubTools: 5 steps with a real screenshot of the tool
How to use the Chmod Calculator, step by step.

This tool pairs well with the .htaccess Redirect Generator. If you do this kind of job often, the Border Radius Generator and the PX to REM Converter can save you time too.

If you only need a standard setting, start from one of the common presets and adjust from there.

How do chmod numbers work?

Each permission has a value. Read is 4, write is 2 and execute is 1. You add the values together for each of the three groups: owner, group and others. That gives you three digits.

PermissionLetterValue
Readr4
Writew2
Executex1

Take 755. The owner gets 7 (4+2+1), so read, write and execute. The group gets 5 (4+1), so read and execute. Others also get 5. In symbolic notation that is rwxr-xr-x.

Result from the Chmod Calculator on OneHubTools
What the Chmod Calculator gives you.

Common chmod values at a glance

NumberSymbolicTypical use
644rw-r--r--Regular files such as HTML, CSS and images
755rwxr-xr-xFolders and scripts that need to run
600rw-------Private files only the owner should read or edit
700rwx------Private folders or scripts for the owner alone
777rwxrwxrwxAnyone can read, write and run. Avoid it.

Which permissions should a website use?

Use chmod 644 for files and chmod 755 for folders. That lets the web server read your files and enter your directories, while only you can change them. Most websites run fine with these two settings.

Folders need the execute bit because, on a directory, execute means "allowed to enter". A folder set to 644 often looks empty or throws an error, even though the files inside are fine.

What is this tool good for?

  • Setting up a website. Check the right values before you fix a folder through FTP or a hosting file manager.
  • Reading an unfamiliar number. Someone's guide says 750. Type it in and see who gets what.
  • Translating a listing. You see -rw-r----- in a terminal and want the number for a script.
  • Learning. Tick boxes and watch the digits change. It is a quick way to understand Linux file permissions without memorising tables.
  • Writing documentation. Copy the exact chmod command into a README or a deployment note.

Tips for best results

  • Give the least access that still works. If a file only needs to be read, do not make it writable by the group or others.
  • Think in three digits. The first is you, the second is your group, the third is everyone else.
  • Keep private files private. Config files with passwords are better at 600 than 644.
  • Check the symbolic notation as well as the number. If the letters look wrong, the number is wrong.
  • Test after changing. Reload the page or run the script once to confirm nothing broke.

Common problems and mistakes

Using 777 to fix an error

It is tempting when something says "permission denied". But 777 lets everyone on the system write to that file. Work out what the file actually needs, and set that instead.

Setting every file to 755

Ordinary files rarely need to be executable. Setting 644 on files and 755 on folders is cleaner and safer.

Mixing up the digits

Typing 557 instead of 755 gives others more access than the owner. Look at the symbolic result before you apply a number.

Changing the wrong thing

The chmod command only changes permissions. If a file still cannot be read, the cause may be its owner or group, not its mode.

Is my data safe?

You are not uploading anything. The calculation happens in your browser, so you can try values freely.

Limits and specs

PriceFree
Free use50 uses every 24 hours — shared with 178 other tools in the “Basic tools” group
Where it runsIn your browser
Sign-upNot needed
Muhammad Shahwaiz Gillani
Maintained and reviewed by Muhammad Shahwaiz GillaniSoftware engineer and founder of OneHubTools · Last reviewed

How we checked it: We tested it in Chrome with real code and data, including edge cases such as empty input and very long values.

Sources

According to Wikipedia, a percentage is a number expressed as a fraction of 100, so 50% means half and 25% means a quarter.

Spotted a mistake or the tool did not work for you? Tell us and we will fix it.

Rate this tool

Ratings come only from signed-in users, so every rating is verified.

Only signed-in users can rate tools, so every rating shows a ✔ Verified badge.Sign in to rate

Frequently asked questions

What does chmod 755 mean?

Chmod 755 gives the owner read, write and execute, and gives the group and everyone else read and execute only. In symbolic notation it is rwxr-xr-x. It is a common setting for folders and scripts.

What does chmod 644 mean?

Chmod 644 lets the owner read and write a file, while the group and others can only read it. The symbolic form is rw-r--r--. It is the usual choice for website files.

Which permissions should I use for a website?

Use 644 for files and 755 for folders. This lets the server read your content while only the owner can edit it.

How do I convert a chmod number to symbolic notation?

Type the number into the calculator and it shows the matching letters, such as 640 becoming rw-r-----. By hand, split the number into three digits and turn each into read (4), write (2) and execute (1).

Is chmod 777 safe?

No, chmod 777 is rarely a good idea because it lets anyone write to and run the file. Use a narrower setting like 644, 755 or 600 instead.

Does the chmod calculator upload my files?

No, nothing is uploaded. The calculator works in your browser and is free to use.