Code & web

Chmod calculator

Convert an octal code (755) to readable permissions (rwxr-xr-x) and back.

Embed this calculator on your website

Copy this code and paste it into your page (WordPress, Wix, Webflow, HTML…). It's free: please keep the link to HOD Calc.

How it works

Each digit = owner, group, others. Read (r) = 4, write (w) = 2, execute (x) = 1. 7 = rwx, 5 = r-x, 4 = r--.

Results are for guidance only and do not replace professional advice.

Worked example

With the default values:

  • Octal or symbolic mode754

you get:

  • Permissions754 · rwxr-xr--
  • Ownerread, write, execute
  • Groupread, execute
  • Othersread

Frequently asked questions

How does the “Chmod calculator” tool work?

Each digit = owner, group, others. Read (r) = 4, write (w) = 2, execute (x) = 1. 7 = rwx, 5 = r-x, 4 = r--.

What do I need to enter?

Just fill in: octal or symbolic mode. The result updates as you type.

Can you give an example?

Octal or symbolic mode: 754 → Permissions: 754 · rwxr-xr--; Owner: read, write, execute.

Is this calculator free, and is my data private?

Yes. HOD Calc is completely free with no sign-up. The calculation runs in your browser: nothing you type is sent or stored.