Skip to content

Chmod calculator.

Tick read, write and execute for the owner, the group and others, or type 755 or rwxr-xr-x, and the other forms follow. Special bits, chmod expressions and the command are in the same place.

Chmod calculator.

Loading the tool…

Need the UI around it? With Pro, your AI agent builds the form, the result card and the rest of the page from a prompt.

Get Pro

How it works

3 steps, no account. It runs in your browser and nothing is uploaded.

  1. Set the permissions

    Tick the boxes, type an octal number such as 644, or paste a column from ls -l.

  2. Add special bits or a change

    Setuid, setgid and sticky have their own row, and a chmod expression such as g+w applies to the current mode.

  3. Copy the command

    The chmod command in octal or symbolic form, for one file or a whole directory with -R.

What the digits mean

Each digit is a sum. Owner, group and others get one digit each, adding up read, write and execute: 7 is all three, 6 read and write, 5 read and execute, 4 read only, 0 nothing.

  • Read is 4

    Open the file and see what's in it; on a directory, list the names inside.

  • Write is 2

    Change the file; on a directory, create, rename and delete what's inside.

  • Execute is 1

    Run the file as a program; on a directory, enter it and open what's inside.

  • Special bits lead

    An optional first digit: setuid 4, setgid 2 and sticky 1, so 4755 is setuid on top of 755.

Pricing

Build it with Pro

The tool is free. Pro adds 6,000+ blocks, premium templates and the MCP server, so your AI editor builds the product around it.

4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.

  • Secure checkout via Stripe
  • Code lives in your repo
  • Keep what you've shipped if you cancel
  • License terms

Questions and answers

Before you trust the result: what to know about the format, the limits, your data and the tools next to it.

4.9 out of 5 from 150+ developers

Build the product around it

Every block, template and icon, installed by your AI agent in your theme. The tools stay free.

Get Pro