Skip to content
BEAD

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
Owner6
Group4
Others4
Octal
644
Symbolic
rw-r--r--
chmod command
chmod 644 file
Parse 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_calculator

Full 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