Chmod calculator

Tick read, write and execute for owner, group and others to get the chmod number (like 755) and the symbolic form (rwxr-xr-x), or type either one to see what it allows. The ready-to-run chmod command updates as you go.

  • ๐Ÿ”’ Runs on your device
  • โค’ 0 bytes uploaded
  • โœ“ Free, no sign-up, no watermark
Loading the toolโ€ฆ

How to use Chmod Calculator

  1. Tick the permissions for owner, group and others, or type a number like 644.
  2. Or paste a symbolic string such as -rw-r--r-- from ls -l.
  3. Add setuid, setgid or sticky if needed.
  4. Copy the chmod command.

Is it private?

Yes. Chmod Calculator runs entirely in your web browser: what you type into it is never sent to Nolo or anyone else, and the page's security policy only allows it to talk to nolotools.com. The site sends only two small things: the words typed in the optional search box, to find a tool, and, the first time you use a tool on a page, that tool's name for an anonymous daily count of tool use (nothing about you, your files or what you typed). Nothing is stored either: close the page and it is gone. How Nolo works.

Questions and answers

Is my input sent to a server?

No. Everything runs in your browser and your input never leaves your device. The page is not allowed to talk to any other site, so it is safe to use with real data and secrets.

What do the numbers mean?

Each digit is a sum: read = 4, write = 2, execute = 1. The three digits are for the owner, the group and everyone else. So 7 (4+2+1) is read, write and execute, 5 (4+1) is read and execute, and 755 means the owner can do everything while others can read and run.

What does the fourth digit do?

A leading digit sets special bits: 4 is setuid (run as the file's owner), 2 is setgid (run as the group, or new files in a folder inherit its group) and 1 is sticky (in a shared folder, only a file's owner can delete it, as on /tmp with 1777).

Should I use chmod 777?

Almost never. 777 lets every user on the system change or replace the file. For web files use 644 for files and 755 for folders; for private keys use 600 or 400.

What does execute mean for a folder?

For a folder, execute means you can enter it and reach files inside; read means you can list its contents. Folders usually need both, hence 755 or 750.