Chmod Calculator
Toggle Unix file permission bits and see the matching numeric (755) and symbolic (rwxr-xr-x) values.
| Read (4) | Write (2) | Execute (1) | Value | |
|---|---|---|---|---|
| Owner | 6 | |||
| Group | 4 | |||
| Others | 4 |
Octal
644Symbolic
rw-r--r--chmod command
chmod 644 fileParse from octal
</>Use this tool programmaticallycurl · JavaScript · MCP
Same tool, callable from any HTTP client or from Claude (via MCP). Anonymous: 100 req/day per IP. Sign up for 1,000 req/day.
curl
curl https://api.b-e-a-d.com/tools/chmod-calculator/run \
-H "Content-Type: application/json" \
-d '{
"mode": "from-perms",
"user": {
"r": false,
"w": false,
"x": false
},
"group": {
"r": false,
"w": false,
"x": false
},
"other": {
"r": false,
"w": false,
"x": false
},
"setuid": false,
"setgid": false,
"sticky": false
}'JavaScript (fetch)
const res = await fetch("https://api.b-e-a-d.com/tools/chmod-calculator/run", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"mode": "from-perms",
"user": {
"r": false,
"w": false,
"x": false
},
"group": {
"r": false,
"w": false,
"x": false
},
"other": {
"r": false,
"w": false,
"x": false
},
"setuid": false,
"setgid": false,
"sticky": false
}),
});
const data = await res.json();
console.log(data.result);MCP (Claude Desktop / Claude Code)
# In Claude Desktop / Claude Code, add to your MCP config:
{
"mcpServers": {
"bead": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://mcp.b-e-a-d.com"]
}
}
}
# Then ask Claude to call:
mcp__bead__bead_chmod_calculatorFull reference: developer docs · OpenAPI spec
What the bits mean
- Owner / Group / Others — three classes that get separate permissions.
- r (4) read · w (2) write · x (1) execute.
- The fourth digit handles setuid (4), setgid (2), and the sticky bit (1).
You might also like
- Number Base ConverterConvert numbers between binary, octal, decimal, hex, and arbitrary bases 2–36.
- Timestamp ConverterConvert between Unix timestamps, ISO dates, and local time.
- .env File ParserParse a .env file into JSON, with quoted-value and export support — and warn about anything fishy.
- .gitignore BuilderPick languages, frameworks, build tools, editors and OS — get a deduped .gitignore.