Chmod Calculator

Toggle owner/group/other read, write, execute checkboxes to get the chmod number and symbolic string, or type a number to see the boxes checked.

Each digit of a chmod number adds read (4), write (2) and execute (1), for owner, group and others in that order.

Use the Chmod Calculator

Permission Checkboxes

Read Write Execute

Result

Numeric
000
Symbolic
----------
Command
chmod 000 filename

Quick answer

Each digit of a chmod number adds read (4), write (2) and execute (1), for owner, group and others in that order. So 755 is rwxr-xr-x: the owner can read, write and run the file, everyone else can read and run it. 644 (rw-r--r--) is the usual mode for web files. Tick the boxes or type a number to see both forms.

Examples

ModeSymbolicTypical use
755rwxr-xr-xScripts, folders
644rw-r--r--Web pages, configs
600rw-------SSH private keys
700rwx------The ~/.ssh folder
664rw-rw-r--Files a team edits
777rwxrwxrwxAnyone can change it

Tick the boxes or type a number like 755.

Summary

This calculator converts between the three common ways Unix and Linux systems express file permissions: checkboxes, a three-digit octal number like 755, and a symbolic string like rwxr-xr-x. Toggle any read, write, or execute checkbox for owner, group, or other and the numeric value and symbolic string update instantly. Type a numeric value directly and the matching checkboxes and symbolic string update to match, which is useful when you already know the target mode from a script or a server configuration file.

How it works

  1. Check or uncheck read, write, execute boxes for owner, group, and other.
  2. The numeric chmod value (e.g. 755) and the symbolic string (e.g. rwxr-xr-x) update live.
  3. Or type a numeric value like 644 directly into the number field.
  4. The checkboxes and symbolic string update to match the number you typed.
  5. Click "Copy chmod command" to copy a ready-to-run chmod command.

Use cases

  • Figure out what chmod 755 or chmod 644 actually grants before running the command.
  • Set correct permissions for web server files and directories.
  • Translate a symbolic permission string seen in `ls -l` output back into a number.
  • Teach or learn how Unix file permission bits map to octal digits.
  • Double-check a deployment script or Dockerfile RUN chmod line before shipping.
  • Work out permissions for a cron job or SSH key file that requires a specific mode.

Frequently Asked Questions

Last updated: 2026-09-09 · Reviewed by Nham Vu