Chmod Calculator

Convert between numeric (755) and symbolic (rwxr-xr-x) Unix file permissions.

Numeric (Octal)
Symbolic
Permission Matrix
Command
CHMOD
chmod 755 filename
All examples use BASE_URL — set it to your deployment URL.
POST/api/chmod/calculate
Convert between numeric and symbolic chmod. Pass numeric or symbolic.
const res = await fetch(`${BASE_URL}/api/chmod/calculate`, { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ numeric: "755" }) }); // → { success: true, numeric: "755", symbolic: "rwxr-xr-x", owner: {...}, group: {...}, others: {...} }