Calculate Linux file permission values — click permissions and get chmod numbers.
DeveloperCommon Presets
| Read (r) | Write (w) | Execute (x) | Value | |
|---|---|---|---|---|
| Owner | 3 | |||
| Group | 6 | |||
| Others | 3 |
r = read (4), w = write (2), x = execute (1), - = no permission (0)
Each digit = sum of r+w+x e.g. rwx = 7, rw- = 6, r-x = 5, r-- = 4
Check or uncheck the Read, Write, Execute boxes for Owner, Group, and Others to build your desired permission set.
Or click one of the preset buttons (755, 644, 777, 600, 400) to load a common permission configuration instantly.
You can also type an octal number directly (e.g. 755) in the input field — the checkboxes will update to match.
Copy the octal value, symbolic notation, or full chmod command with the Copy buttons.
Web server files typically need 644 (owner rw, group/others r) and directories 755. Use the calculator to quickly verify and generate the correct commands.
SSH private key files must be 600 (owner read+write only) or SSH will refuse to use them. Generate the exact command here.
The visual checkbox grid makes it easy to understand how r=4, w=2, x=1 map to octal digits — great for students and developers new to Linux.
When writing shell scripts or CI pipelines, use the calculator to determine the right chmod value and paste the generated command directly into your script.
Chmod Calculator lets you click permission checkboxes for Owner, Group, and Others, then instantly shows the octal number, symbolic notation, and ready-to-run chmod command. You can also type an octal directly to auto-check the grid.
Convert JSON arrays to CSV format instantly — paste JSON, download CSV.
Format, validate, and minify JSON instantly with adjustable indentation.
Encode or decode Base64 strings — runs entirely in your browser.
Safely encode or decode URL components for query strings and paths.