Convert Unix file permissions between checkboxes, octal (like 755) and symbolic notation (like rwxr-xr-x).
How to use the chmod Calculator
Tick the read, write and execute boxes for owner, group and other.
Or type an octal value like 755 to set the boxes automatically.
Copy the ready-to-run chmod command.
Unix file permissions control who can read, write and execute a file or directory, split across three groups: the owner, the group, and everyone else. This calculator converts between interactive checkboxes, the numeric octal form like 755, and the symbolic form like rwxr-xr-x, keeping all three in sync.
Each group gets three bits, read (4), write (2) and execute (1), and you add them up to get one digit. So 7 is read plus write plus execute (rwx), 5 is read plus execute (r-x), and 6 is read plus write (rw-). Three digits, one per group, give you the familiar permission number.
The common values are worth memorizing. 755 suits directories and executables: the owner has full access while group and others can read and execute but not write. 644 suits normal web files: the owner can read and write, everyone else can only read.
For sensitive files, 600 keeps things tight: only the owner can read or write, and nobody else has any access, which is what SSH private keys and similar secrets need.
There is also an optional fourth leading digit for special bits, setuid, setgid and the sticky bit, which change how programs run or how a shared directory behaves. When one is set, the execute position shows as s or t instead of x.
The calculator gives you the ready-to-run chmod command to copy, and runs entirely in your browser. It is a reference and converter, so it does not change any files itself.
Frequently asked questions
755 gives the owner full access and everyone else read and execute, used for directories and scripts. 644 gives the owner read and write and everyone else read only, used for normal files.
777 grants read, write and execute to everyone. It is almost always unsafe on a server because any user can modify the file. Prefer 755 or 644 instead.
Add the execute bit. From 644 you would move to 755 (or chmod +x), which turns on execute for owner, group and others.
Octal (like 755) encodes the permissions as numbers, while symbolic (rwxr-xr-x or u+x) describes them as letters. This tool shows both and keeps them in sync.
They are a fourth leading digit. Setuid and setgid run a program as its owner or group, and the sticky bit on a directory stops users deleting each other's files (as on /tmp).
When setuid, setgid or the sticky bit is set, the execute position is shown as s or t instead of x to signal the special bit is active.
Embed this tool
Add this tool to your own website. Copy the snippet below; it stays up to date automatically.
<iframe src="https://monu.tools/embed/en/chmod-calculator" width="100%" height="640" style="border:1px solid #e5e5e5;border-radius:12px;max-width:680px" loading="lazy" title="Monu Tools"></iframe>Related tools
See your own IP address and look up the location, ISP and network details of any IP.
Generate SEO and social meta tags (title, description, Open Graph, Twitter Cards) with a live search preview.
Check the contrast ratio between two colours against WCAG AA and AAA accessibility levels.
Format and beautify SQL queries with clause line breaks and consistent keyword casing, or minify them to a single line.