Utilities🌐 YAS server-sideAPI availableintermediate
chmod Calculator
Converts between symbolic and numeric (octal) Unix permission modes.
Processed by YAS · not stored
Ready to runInstant execution
Result
—What does this tool do?
Converts between symbolic and numeric (octal) Unix permission modes.
Why would I use it?
- You are setting file permissions on a server.
- You want to translate chmod 755 into symbolic form.
- You are auditing permission bits.
Real-life example
Input
755
Output
rwxr-xr-x · owner rwx, group r-x, others r-x
Each digit maps to read/write/execute.
Input → Process → Output → Next
- Input
- Enter a numeric or symbolic mode.
- Process
- YAS converts between the two notations.
- Output
- Both forms with an explanation.
- Next action
- Apply the mode with chmod on your server.
Common mistakes
- Using 777 for everything (world-writable).
- Forgetting the sticky bit / setuid semantics.
- Using symbolic modes with wrong ordering (ugoa).
What the result means
The octal digits encode owner/group/other permissions.
Privacy & security
Your input is sent to YAS infrastructure because the tool requires server-side processing or public network queries. Input is not stored.
API
Endpoint
POST https://yas.sh/api/v1/tools/chmod-calculator
Request Header
Content-Type: application/json
cURL
curl -X POST "https://yas.sh/api/v1/tools/chmod-calculator" \
-H "Content-Type: application/json" \
-d '{"input":"755"}'JavaScript
const res = await fetch("https://yas.sh/api/v1/tools/chmod-calculator", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"input": "755"
}),
});
const data = await res.json();Python
import requests
r = requests.post("https://yas.sh/api/v1/tools/chmod-calculator", json={"input":"755"})
data = r.json()| Field | Type | Required | Description |
|---|---|---|---|
| input | string | Yes | e.g. 755, 4755, u=rwx,go=rx, or a+rwx |
Success response
{ "result": { "input": "755", "numeric": "755", "symbolic": "u=rwx,go=rx", "special": "none", "bits": { "owner": "rwx", "group": "r-x", "other": "r-x" } } }Convert between numeric (755) and symbolic (u=rwx,go=rx) permission modes, incl. special bits.
Error responses
400 VALIDATION_ERROR— invalid input or unsupported option.413 PAYLOAD_TOO_LARGE— input exceeds the 64 KB limit.429 RATE_LIMIT_EXCEEDED— rate limit exceeded (60 req/min).
Limits
- Maximum input: 64 KB per request.
- Rate limit: 60 requests/min per IP address.
- Authenticated accounts benefit from higher tier quotas.