Skip to content
XUtilHub

Chmod Calculator – Linux File Permissions (755, 644, 777)

Calculate Linux and Unix file permissions: convert between numeric (755) and symbolic (rwxr-xr-x) modes with checkboxes, including setuid, setgid and sticky bits.

  • Free, no sign-up
  • Runs in your browser, nothing uploaded

About the Chmod Calculator

Work out Linux file permissions with checkboxes, or convert between numeric modes like 755 and symbolic ones like rwxr-xr-x. Includes the chmod command to copy.

Key features

  • Checkbox grid for owner, group and others
  • Numeric (755) and symbolic (rwxr-xr-x) modes
  • Convert in either direction
  • setuid, setgid and sticky bits
  • Ready-to-copy chmod commands
  • Common presets like 644, 755 and 600

Work out Linux file permissions

Tick the permissions you want and copy the chmod command, or type a mode like 750 or rwxr-x--- to see exactly what it allows.

Permission values

NumberSymbolicMeaning
7rwxRead, write and execute
6rw-Read and write
5r-xRead and execute
4r--Read only
0---No access

Common modes

ModeSymbolicTypical use
644rw-r--r--Regular files, web pages
755rwxr-xr-xDirectories, scripts, programs
600rw-------Private files, SSH keys
700rwx------Private directories (e.g. ~/.ssh)
775rwxrwxr-xShared project directories
2775rwxrwsr-xShared directory; new files inherit the group
1777rwxrwxrwtShared temp directory like /tmp

Special permissions

  • setuid (4xxx): a program runs with its owner's permissions (e.g. passwd).
  • setgid (2xxx): on a directory, new files inherit the directory's group.
  • Sticky bit (1xxx): on a directory, only a file's owner can delete it.

Number base converter (octal ↔ binary), cron expression generator, and bcrypt generator.

How to use the Chmod Calculator

  1. Enter your value in the fields above, or start from one of the examples or presets.
  2. Results update instantly as you type.
  3. Read the breakdown to understand each part of the result.
  4. Copy what you need with the copy buttons. Everything runs in your browser.

Frequently asked questions

What does chmod 755 mean?

The owner can read, write and execute (7), while the group and everyone else can read and execute (5). It's the usual setting for directories and scripts.

What does chmod 644 mean?

The owner can read and write (6); the group and others can only read (4). It's the usual setting for regular files such as web pages and images.

Should I use chmod 777?

Almost never. 777 lets every user on the system modify and execute the file, which is a security risk, especially on web servers. Use the most restrictive permissions that work.

How are the numbers calculated?

Each digit adds read (4), write (2) and execute (1). rwx = 4+2+1 = 7, r-x = 4+1 = 5, rw- = 4+2 = 6, r-- = 4.

Is my code uploaded anywhere?

No. Every developer tool runs entirely in your browser, so source code, configuration files and passwords never leave your device.

Which formatter do you use?

HTML, CSS and JavaScript are formatted with Prettier, the most widely used code formatter, so the output matches what most projects use. SQL uses sql-formatter, and minification uses Terser and CSSO.

Is there a size limit?

There's no fixed limit. Very large files (several megabytes) can take a few seconds, depending on your device.

Last updated:

Related Dev tools