Skip to content
Toolars
Explore

Chmod Calculator

Translate octal and symbolic permissions into readable rwx bits, special-bit explanations, and copy-ready GNU chmod commands.

Task path / input to outcome

Enter the permission value

Report bug

Local processing

Processing details

Tool inputs are processed on your device.

Resources may be downloaded to run this tool. Account services are separate.

Preparing offline use…

Privacy information

Task path / input to outcome

How to calculate chmod permissions

  1. 01

    Enter the permission value

    Use 3–4 octal digits, or explicit u/g/o/a clauses with one +, - or = per clause. Separate clauses with commas. X adds execute only for a directory or when an execute bit is already set at that step. A single u/g/o operand copies that class, for example g=u.

  2. 02

    Start symbolic clauses from the right base

    Symbolic clauses start from these permissions (default 644) and apply from left to right. Octal input sets the complete mask and ignores this context. This is a preview of one target; no file is inspected.

  3. 03

    Add a path and choose recursion

    Type the target path so the generated command includes it, quoted for a POSIX shell. Turn Apply recursively on only when you mean the whole directory tree: it adds -R, and chmod -R can change thousands of files with one paste. Review the path twice — there is no undo in a terminal.

  4. 04

    Calculate and read the summary

    The summary shows the resulting class bits and any special flags. s/S show setuid or setgid; t/T show sticky. Uppercase means execute is absent. Numeric commands use five octal digits so unrequested directory special bits are cleared too; symbolic commands keep your expression and apply it against each real target's own permissions. Ownership, ACLs, and filesystem rules can still affect the outcome on the actual machine.

  5. 05

    Copy the command

    Copy result puts the exact command — numeric or symbolic, with the quoted path — on the clipboard for a terminal or a deployment script. Nothing runs here: the calculator only builds the string, so paste it where you intend and check the target path one last time before pressing Enter.

Tool facts

Processing
In your browser
Input leaves this device
Never
Retention
Nothing is stored
Price
Free

Your input stays in the browser.

Chmod Calculator uses its verified local execution path and does not create a hidden input or output history.

Local execution

Runs inside the current browser tab.

No hidden processing

Active tool data never becomes a Toolars document record.

No account required

Use the core workflow without creating a profile. Favorites sync to your account after you sign in.

Immediate reset

Clear the tab and the active working data is gone.

What Chmod Calculator actually does

A deployment script fails with a permission error and the fix has to be exact — 640 for the config file, 750 for its directory; a security review asks what 1777 actually grants before it goes anywhere near a shared directory — full access for everyone, held in check only by the sticky bit; one teammate thinks in rwx triplets and another in octal, and both need the same answer. Chmod Calculator translates between the notations and spells out every class, entirely in the browser, so the only command that ever runs is the one you copy.

Common questions

What input formats are accepted?
Separate clauses with commas.
How do + and - clauses combine?
Symbolic clauses start from these permissions (default 644) and apply from left to right.
What do the special bits mean?
On directories, GNU symbolic = preserves setuid/setgid unless s is explicitly specified; u-s,g-s removes them.
Does the tool change any file permissions?
Never. The calculator only translates the value you type into readable bits and a command string. Nothing is executed, and no file on your machine or anywhere else is touched.
Why does recursive mode show a warning?
Apply recursively adds -R to the generated command, and chmod -R can modify an entire directory tree when you run it in a terminal. The warning is deliberate: review the target path before pasting the command anywhere.
Is anything I type uploaded or stored?
No. The calculation runs entirely inside the current browser tab, input is never sent or retained, and no account is required.

Related tasks, not a dead end.

Move into another focused workspace without returning to the full index.

URL Workbench

Clean URL lists with signed-link protection and per-line reasons. Compare components and export sitemaps.

Edit

JSON Explorer

Query JSONPath, extract fields and round-trip JSON Pointer records without losing large-number precision.

Inspect

JSON Schema Validator

Validate Draft 7 or 2020-12 locally with exact error paths; infer schemas from multiple observed samples.

Inspect

HTML Publishing

Clean pasted HTML for publishing while preserving lists, links and table semantics; preview changes safely.

Publish