Calculate chmod

Convert Unix rwx permissions between octal and symbolic form.

freeworks offlinenothing uploaded
ToolChmod Calculator
Input
Output
Put this on your own site

The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.

Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.

Preview

How it works

Read, write, and execute bits map by owner, group, and other classes into octal digits; symbolic expressions add, remove, or assign those bits. The display keeps each class separate so 0754 is rwx/r-x/r--.

  • Octal is compact for shell commands.
  • Symbolic rwx form is easier to audit in documentation.

Worked example

chmod 755
The usual permissions for an executable or a directory
Input
											755
										
Output
												Octal: 755
Symbolic: rwxr-xr-x
Owner: read, write, execute
Group: read, execute
Other: read, execute
											

When to use this

Deployment scripts, package archives, and Linux permission reviews convert modes.

Edge cases

  • 0644 grants no execute bit.
  • A leading zero marks octal; treating 644 as decimal is wrong.
  • Setuid, setgid, and sticky bits use additional mode bits.

References