Chmod Calculator Online — Octal & Symbolic Permissions

Toggle ugo rwx bits, keep the octal value in sync (644, 755, 1755…), and read the ls-style symbolic notation with setuid, setgid, and sticky. The symbolic string is read-only: it does not parse input such as u+rwx.

Loading…
Chmod calculator
Bidirectional ugo rwx ↔ octal model. ls-style symbolic (with s/S/t/T) and the chmod hint are read-only.

How it works

Toggle read/write/execute for owner, group, and other, plus setuid/setgid/sticky. Octal syncs (3 digits without special bits, 4 otherwise). Symbolic shows s/S/t/T per Unix rules.

Options

ugo bits (rwx)
Primary controls: toggling r/w/x updates octal, symbolic, and the hint.
Octal field
Accepts 644, 0755, 1755…. Invalid octal shows an error without changing bits.
Special bits
setuid / setgid / sticky drive the high octal digit and the exec slot (s/S/t/T).

Examples

Classic executable

Octal

755

Symbolic

rwxr-xr-x

Sticky + 755

Octal

1755

Symbolic

rwxr-xr-t

Related utilities

Back to the utilities hub. To validate a .env file, see validate-env.

Chmod calculator FAQ

Unix permissions

Can I paste u+rwx,g+rx?

No. The symbolic string is for display only. Enter the octal value or use the toggles.

When does the octal value have 3 or 4 digits?

3 digits with no special bits (755). 4 digits whenever a special bit is on (4755, 1755…).

ACL / SELinux?

Not supported. The tool covers classic Unix permissions only.

What is the difference between s and S?

s = special bit + execute; S/T = special bit without execute on that triad.

Why 9 characters instead of -rwxr-xr-x?

We show the permission part only (ugo rwx, 9 characters). The file-type prefix that ls prints (-) is left out, because this is a mode calculator, not a listing of inodes.

Timestamps, UUID, ULID, Nanoid, cron, passwords, regex, slugs, number bases, letter case, text diff, chmod and Lorem Ipsum, all in your browser.