Loona Automation logoLoona Developer Tools
Home › Developer Tools › Chmod Calculator

Chmod Calculator - Permissions to Octal and Symbolic, Both Ways

In short: the Chmod Calculator turns the familiar read/write/execute checkboxes for owner, group and others into the octal value (like 755) and the symbolic string (like rwxr-xr-x) - and converts any octal value back into the boxes, with plain-language meanings for the common values.

Everyone remembers that 755 is "the folder one" and 644 is "the file one" - until the day a deploy needs 750 or 640. Tick the boxes below, or type an octal value, and stop guessing.

Read (4)Write (2)Execute (1)
Owner
Group
Others
Octal000
Symbolic---------
Commandchmod 000 file

Private by design: everything in this tool happens 100% in your browser with JavaScript. Your input is never uploaded to a server, never stored and never seen by us - close the tab and everything is gone.

How to use the Chmod Calculator

  1. Tick Read, Write and Execute for Owner, Group and Others - or use a preset.
  2. Read the octal value, the symbolic string and the ready-to-paste chmod command.
  3. Or type any 3-digit octal value (like 750) and click Apply octal to see it as checkboxes.
  4. Copy the command into your terminal.

How it works

Unix permissions are three groups of three bits. Within each group, Read is worth 4, Write is worth 2 and Execute is worth 1, so one group is a single octal digit from 0 (---) to 7 (rwx). The calculator adds the ticked values per group to build the three-digit octal, and renders the same boxes as the symbolic string you see in ls -l output. Applying an octal value runs the math in reverse: each digit is split back into its 4-2-1 parts to set the checkboxes.

Worked example

Owner read+write+execute (4+2+1 = 7), group read+execute (4+1 = 5), others read+execute (5) gives octal 755, symbolic rwxr-xr-x - the classic setting that lets everyone read and run a file or folder while only the owner can change it.

Frequently Asked Questions

Is this chmod calculator free?

Yes - completely free, with no sign-up and no daily cap.

What is the difference between octal and symbolic?

They describe the same permissions. Octal (755) is what you type after chmod; symbolic (rwxr-xr-x) is what ls -l shows you. This tool converts between the two in both directions.

What about setuid, setgid and the sticky bit (4755, 1777)?

Those are a fourth, leading digit for special bits. This calculator covers the main three permission digits, which are what day-to-day chmod work uses; if you type a 4-digit value elsewhere, the last three digits are the ones shown here.

Why do folders need Execute?

On a folder, "execute" means permission to enter it and access the files inside - a folder with read but no execute shows names you cannot actually open. That is why folders are usually 755 while files are 644.

Is anything uploaded to a server?

No. The calculator runs 100% in your browser.

Related Developer Tools

Embed this tool on your website — free

Add this tool to your own website or blog — it is completely free, needs no sign-up, and always shows the latest version. Copy the code below and paste it into your page where you want the tool to appear. Keeping the small “Powered by Loona Automation” credit line under the embed helps keep this tool free — but you are free to style or remove it; the tool works either way.