Chmod calculator

← All tools

Toggle read/write/execute bits, type an octal value, or paste an ls -l string — all three stay in sync.

Permission grid

ReadWriteExecute
Owner
Group
Others

Octal

Symbolic (ls -l)

Result

Octal:  ·  Symbolic:

Common presets

About this tool

chmod sets who can read, write, or execute a file. Octal notation (like 755) is what you type in the shell; symbolic notation (like -rwxr-xr-x) is what ls -l shows. This calculator keeps both in sync so you can start from whichever format you have.

Remember: directories need the execute bit to be entered (cd), even if you only care about listing them. Scripts need execute for the shebang to run.

Read more

Free books, courses, and software

Get my programming books, course editions, and complete software.

Get the download library →