Skip to content
Tesserae

Keyboard shortcuts

Focus search
/
This help dialog
?
Run the current tool
Ctrl/⌘ +Enter
Copy the output (when an output is focused)
Ctrl/⌘ +C

Shortcuts are ignored while you are typing in an input, a textarea or a select.

Developer Utilities

chmod Permission Calculator

Paste an octal mode such as 755, 0644 or 4755, or a symbolic string such as rwxr-xr-x or -rwsr-xr-x. The tool shows the 4-digit octal form, the 9-character symbolic form, and a table of read / write / execute plus setuid, setgid and sticky bits for owner, group and other.

On-device No network Offline-ready

🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.

Try:

Options

Your result will appear here

Type or paste your input above, adjust the options, then press Run. Tip: press Ctrl+Enter to run, and ? for every shortcut.

How it works

Two notations, one model

Paste either the octal mode (755, 0644, 4755) or the symbolic string (rwxr-xr-x, -rwsr-xr-x) and the tool builds the same internal model — read, write and execute for owner, group and other, plus the special bits — and shows both the 4-digit octal form and the 9-character symbolic form with a per-class table.

When the special bits matter

The fourth octal digit carries setuid (4), setgid (2) and sticky (1). 4755 means setuid plus rwxr-xr-x. In the symbolic form a lower-case s is the special bit plus execute while an upper-case S is the special bit without it, and t/T do the same for sticky — the usual point of confusion, spelled out per class.

Which input style to pick

Auto-detect reads either notation and picks the direction from the input, which is all most people need. Force a direction when there is doubt. A 10-character symbolic string with a leading file-type character such as d or - is accepted, and that first character is ignored.

The stats give you the mode at a glance

The result reports the octal mode, the 3-digit octal form without the special digit, the symbolic string and the ls-style form with a leading dash, so you can copy exactly the token a command or a script expects.

Nothing leaves the browser

Parsing and rendering are pure local logic in this tab. Even a permission string is never transmitted, and the tool is fully offline.

Questions

What does the fourth octal digit mean?

It is the special-bits digit: setuid = 4, setgid = 2, sticky = 1. 4755 means setuid plus rwxr-xr-x.

What is the difference between s and S in the symbolic form?

Lowercase s means the special bit and the execute bit are both set; uppercase S means the special bit is set but execute is not.

Does it accept a leading file-type character?

Yes. A 10-character symbolic string such as -rwxr-xr-x or drwxr-xr-x is accepted; the first character is ignored.

See category