Skip to content

Chmod Calculator

To calculate a chmod mode, tick Owner, Group, and Others read, write, and execute boxes — or type an octal value such as 755 or 4755. The page shows the octal and symbolic form (rwxr-xr-x), with optional setuid, setgid, and sticky bits. Copy the octal, the symbolic string, or a ready chmod command. Nothing is uploaded or run on a server.

Updated

Convert Unix file permissions between octal and symbolic modes entirely in this browser tab. Toggle owner, group, and others read/write/execute checkboxes — or type an octal value such as 755 — and read the matching symbolic string (rwxr-xr-x) plus a sample chmod command. Optional setuid, setgid, and sticky bits expand the mode to four octal digits. Closing the tab clears the workspace; nothing is uploaded or written to localStorage.

This page is education for people who already have a mode in mind. It does not connect to a server, does not run chmod remotely, and does not modify files on your machine. Copy the command into a shell you control when you are ready to apply permissions.

Chmod workspace

mode 755
Owner, group, and others read, write, and execute permission checkboxes
ClassRead (4)Write (2)Execute (1)
Owner
Group
Others

Special bits are optional. Symbolic letters use s/S for setuid/setgid and t/T for sticky.

Three digits for owner/group/others (e.g. 755). Four digits when setuid/setgid/sticky is set (e.g. 4755). Digits 0–7 only. A 0o prefix (0o755) or a full stat mode with file-type digits (100644, 40755) is read as its permission bits.

Placeholder only — this page never runs chmod on a server. Paths with spaces or shell characters are quoted in the command.

755 · rwxr-xr-x · local only

Octal

755

Symbolic

rwxr-xr-x

chmod command

chmod 755 path

This calculator never uploads modes, never writes localStorage, and never runs chmod on a remote server. Copy the command into a shell you control.

How does the Chmod Calculator work?

  1. 1. Set checkboxes or type octal

    Toggle Owner / Group / Others read-write-execute, or type a 3- or 4-digit octal mode (0o755 and full stat modes like 100644 or 40755 are read as their permission bits). Load example fills 755 / rwxr-xr-x.

  2. 2. Read symbolic and octal

    The page shows the live octal digits and the classic symbolic string (including s/S/t/T when special bits are on). Conversion is local bitmask math — no network.

  3. 3. Copy a chmod command

    Copy the octal value, the symbolic string, or a sample chmod NNN path command. The path field is a placeholder only.

  4. 4. Close the tab

    Closing the tab drops the mode. Nothing was uploaded and nothing was written to localStorage. Apply the mode on a machine you control.

Questions about Chmod Calculator

What does this chmod calculator do?
It converts Unix file permission bits between octal (for example 755) and symbolic (rwxr-xr-x) forms in your browser. Toggle owner, group, and others read/write/execute — or type an octal value — and copy a ready chmod command. Optional setuid, setgid, and sticky bits are supported.
Does it upload my permission modes?
No. Conversion is pure in-page bitmask math. There is no account, no server-side calculator, and no file upload. Modes stay in this tab until you clear them or close the page. We do not write permission bits to localStorage or send them to a remote API.
Does this page run chmod on a server?
No. This chmod calculator never connects to a remote host and never executes a shell command. Copy the sample chmod NNN path line into a terminal you control if you want to change real file permissions on a machine you administer yourself.
What are setuid, setgid, and sticky bits?
They are the optional high-order bits in a four-digit octal mode: setuid (4xxx), setgid (2xxx), and sticky (1xxx). In symbolic form they appear as s/S on owner or group execute, and t/T on others execute. Expand Special bits on this chmod calculator page to toggle them without leaving the tab.
Why is there no /chmod-generator/ or /linux-chmod-calculator/ URL?
One canonical address with a trailing slash: /developer/chmod-calculator/. Queries like "chmod generator" or "linux chmod calculator" can land here. We do not publish stub alias slugs that would split the address people and search engines should share, and we do not leave empty generator URLs that 404.
Can I paste 0o755 or a full stat mode like 100644?
Yes. The octal box accepts a 0o or 0O prefix (Python oct(), JavaScript, Go, and Rust 0o literals), so 0o755 reads as 755. It also accepts a full st_mode with file-type digits in front, as shown by git ls-files -s (100644, 100755), Node stat.mode.toString(8), or Python oct(os.stat(path).st_mode) (0o100644, 0o40755): the file-type part (10 regular file, 4 or 04 directory, 12 symlink, 14 socket) is dropped and only the permission bits are shown, because chmod sets permissions, not file type. 104755 keeps setuid and reads as 4755. Anything else, such as digits 8 or 9, a five-digit typo like 12345, or a device or FIFO prefix, still shows an error.
What do common modes like 644, 755, and 777 mean?
644 is rw-r--r-- (owner read/write; group and others read). 755 is rwxr-xr-x (owner full; group and others read/execute) — typical for executable scripts or directories. 777 is rwxrwxrwx (everyone full access) and is rarely appropriate on shared systems. This page shows the bits honestly; it does not recommend a mode for your server.
How is this different from Cron Expression Generator or UUID Generator?
Cron Expression Generator drafts five-field cron schedules. UUID Generator mints RFC 4122 identifiers. This chmod calculator only converts Unix permission modes between octal and symbolic forms — it does not schedule jobs or mint IDs. They share the same privacy rule (local only) but solve different jobs.
Is anything stored in localStorage?
No. Permission checkboxes, octal input, and the path placeholder live in React state for this tab only. Closing the tab clears them, and we do not mirror modes into localStorage or cookies. Hosting logs may show that you requested the page URL, not the modes you typed.

These tools run in your browser. Page Utils does not store, upload, or write to localStorage the keys, tokens, or text you paste. Results are a convenience aid, not legal, tax, or security advice.