Chmod Calculator
Calculate Unix file permissions with an interactive checkbox grid. Convert between numeric and symbolic notation.
Calculate Unix file permissions with an interactive checkbox grid. Convert between numeric and symbolic notation.
chmod (change mode) is a Unix/Linux command that sets file and directory permissions. Permissions control who can read, write, and execute files. They are represented either as a three-digit octal number (e.g., 755) or as a symbolic string (e.g., rwxr-xr-x). Each digit represents permissions for the file owner, group, and others respectively, where read=4, write=2, and execute=1.
This tool converts between octal and symbolic chmod notation, and lets you interactively set permissions using checkboxes to see the resulting command.
Chmod 755 sets the file owner to have read, write, and execute permissions (7), while the group and others have read and execute permissions (5). This is the most common permission for executable scripts and public directories.
Enter the numeric value (e.g., 644) in the calculator and it will show the symbolic equivalent (e.g., rw-r--r--). Each digit represents permissions for owner, group, and others: 4=read, 2=write, 1=execute.
Chmod 644 (rw-r--r--) is typically used for regular files — the owner can read and write, everyone else can only read. Chmod 755 (rwxr-xr-x) adds execute permission, which is needed for scripts and directories.