chmod calculator

Convert file permissions between octal (644) and symbolic (rw-r--r--) forms and build the chmod command.

Permissions
ReadWriteExecute
Owner
Group
Other

Three digits 0–7, e.g. 644 or 755.

Symbolic

rw-r--r--

Nine characters rwxrwxrwx, e.g. rw-r--r--.

Common modes
Command
chmod 644 filename
Symbolic
rw-r--r--
Meaning
Owner: read, write. Group: read. Other: read

Everything is computed in this browser.

How to use

  1. Tick the permission boxes, or type an octal or symbolic value.
  2. Read the equivalent forms and the meaning.
  3. Copy the octal value for your command.

What it supports

Covers the three classic classes (owner, group, other) and r/w/x bits only — special bits such as setuid, setgid, and sticky are not included.

Related tools

Related guides