Chmod calculator
Convert Unix file permissions between octal and rwx notation with a full breakdown.
Related tools
Chmod calculator
Unix file permissions look cryptic until you see the arithmetic behind them. Each of the three digits in a chmod value is a simple sum: read is 4, write is 2, execute is 1. So 7 means read plus write plus execute, 5 means read plus execute, and 755 grants the owner full control while the group and everyone else may read and run the file. This calculator translates in both directions — paste octal values like 755 or 0644 and get the rwx notation, or paste a string like rwxr-xr-x (with or without the leading file-type character from ls -l) and get the octal value back.
The breakdown view spells out exactly what the owner, the group and others may do, notes special bits such as setuid, setgid and the sticky bit (4755, 2755, 1777), and prints the ready-to-use chmod command. Switch to conversion only when you just need the equivalent notation, one line per permission. Every line is processed independently, so you can convert a whole list at once — a typo in one line produces a calm message in place and never stops the rest.
A handful of values covers most real work: 644 for ordinary files, 755 for directories and scripts, 600 for private keys and secrets. Avoid 777 — a world-writable file can be modified or replaced by any user on the machine, which is rarely what you want and a classic security-audit finding.
Everything runs locally in your browser. Nothing you paste is uploaded, logged or stored anywhere.