Chmod Calculator

Convert Linux file permissions between octal (755) and symbolic (rwxr-xr-x) form.

Runs instantly in your browser — results update as you type.

What does chmod do?

chmod (change mode) is the Linux command that sets file permissions: who can read, write and execute a file. Permissions are written in octal, like 755, or symbolically, like rwxr-xr-x.

How octal permissions work

Each digit is the sum of read (4), write (2) and execute (1) for the owner, the group and everyone else.

ModeSymbolicTypical use
644rw-r--r--Web files: owner edits, everyone reads
755rwxr-xr-xFolders and scripts
600rw-------Private files such as SSH keys and .env
700rwx------Private folders
777rwxrwxrwxEveryone can write — avoid on servers

A fourth leading digit sets special bits: 4 = setuid, 2 = setgid, 1 = sticky (e.g. 1777 for /tmp). Type either form and the calculator shows the other, a breakdown table and the chmod command.

Frequently asked questions

What permissions should WordPress files have?

Usually 644 for files, 755 for folders and 600 or 640 for wp-config.php.

Why is 777 dangerous?

Any user or process on the server can modify the file, which attackers can abuse.

What does the x permission mean on a folder?

It allows entering the folder and accessing files inside it.