Convert between chmod numeric modes (e.g. 755) and symbolic strings (e.g. rwxr-xr-x). Toggle bits or type a value — results update instantly.
Unix permissions split into three entities: owner, group, and others. Each entity has three bits — read (r = 4), write (w = 2), execute (x = 1). The numeric digit for an entity is the sum of its bits (0–7). Concatenating the three digits gives the standard mode like 755. An optional leading digit encodes special bits (setuid = 4, setgid = 2, sticky = 1). The calculator sums the toggled bits per entity and renders both the nine-character symbolic string and the full chmod number.
chmod 755 means the owner has read, write, and execute (rwx = 7), while group and others have read and execute (r-x = 5). It is the standard permission for executable scripts and directories that must be world-traversable.
Assign r = 4, w = 2, x = 1, and “-” = 0. Sum the three letters for each group (owner, group, others). For example, rwxr-xr-x becomes 7, 5, 5 → 755.
These are special mode bits encoded as a leading digit (0–7) before the three permission digits. setuid = 4, setgid = 2, sticky = 1. A common example is 4755, where setuid makes a binary run as its owner instead of the user who launched it.