CHMOD Calculator
Work out Unix file permissions with checkboxes or octal numbers. Converts between octal and symbolic notation, supports setuid, setgid and the sticky bit, explains file versus directory access and previews the chmod command.
Work out Unix file permissions with checkboxes or octal numbers. Converts between octal and symbolic notation, supports setuid, setgid and the sticky bit, explains file versus directory access and previews the chmod command.
CHMOD Calculator converts Unix permissions between checkboxes, octal numbers such as 755 and symbolic notation such as rwxr-xr-x. Tick read, write and execute for the owner, group and others, or type an octal mode, and the other views update instantly. Setuid, setgid and the sticky bit are supported, giving four-digit modes such as 4755 or 1777, with the familiar s, S, t and T letters in the symbolic view.
Choose file or directory to see what each class of user can actually do — for a directory, read lists names, execute lets you enter it, and write (with execute) allows creating and deleting entries. The page previews both numeric and symbolic chmod commands, and warns about world-writable modes and setuid or setgid programs. It only describes a mode: it cannot read or change permissions on your system, and real access also depends on ownership, ACLs, mount options, umask and the operating system.
Each digit is a sum of read (4), write (2) and execute (1) for owner, group and others. 755 is rwxr-xr-x: the owner can read, write and execute; group and others can read and execute.
They form an optional first octal digit: setuid (4) runs a program with the owner’s privileges, setgid (2) runs it with the group’s privileges or makes new files in a directory inherit its group, and the sticky bit (1) stops users deleting other users’ files in a shared directory.
They show a special bit set without the matching execute bit — for example rwS means setuid is set but the owner cannot execute the file, so it has no effect.
No. It only calculates and explains modes. Run the chmod command yourself on the system, after checking it.
Access also depends on who owns the file, your group membership, ACLs, the permissions of parent directories, mount options such as noexec, security modules and the operating system.
Three octal digits from 000 to 777, or four digits with special bits such as 2775. Digits 8 and 9, letters and other lengths are rejected.
No. Everything is processed in your browser on your device. Nothing is uploaded, no request is sent, and inputs and results are not saved in browser storage. Reset clears them from the page.