Chmod Calculator
Tick read, write and execute and get the chmod number and command you need.
- Your data never leaves your device
- 100% free
- No sign-up
- Works offline after first load
How to calculate chmod permissions
- Tick the permissions, or type octal, symbolic or ls -l.
- Read what each group can do and any warnings.
- Copy the chmod command for your file or folder.
About Chmod Calculator
Calculate Linux file permissions.
Everything works in your browser, so it is instant and private, and your settings are remembered on this device.
Good for
- Fixing “Permission denied” errors
- Setting up web servers and deployments
- Securing keys and config files
Tip: Use find with -type d and -type f to give folders 755 and files 644 in one go.
Frequently asked questions
What does chmod 755 mean?
The owner can read, write and execute (7 = 4+2+1); the group and everyone else can read and execute (5 = 4+1). It is the usual setting for folders and scripts.
What permissions should web files have?
Usually 644 for files and 755 for folders. Private files such as .env, SSH keys and configs with passwords should be 600. Avoid 777 — anyone could change them.
What are setuid, setgid and the sticky bit?
setuid (4) runs a program as its owner, setgid (2) runs as the group and makes new files in a folder inherit its group, and the sticky bit (1) on a shared folder like /tmp stops users deleting each other’s files.
Can I convert from ls -l output?
Yes — paste something like -rwxr-xr-x or drwxr-x--- and the numbers are calculated.
Is my data uploaded?
No. Everything is processed by JavaScript in your browser — nothing you paste or open is sent to a server, so it is safe for API responses, tokens, configs and customer data. It also works offline once the page has loaded.