PasteZap
🌐 English
Free · No account

FREE · DEVELOPER TOOLS

Chmod Calculator.

Convert Unix file permissions between octal (755) and symbolic (rwxr-xr-x) notation, with setuid, setgid and sticky bits, a who-can-do-what table and ready chmod commands.

Limits & supported formats

Standard Unix permission bits only; ACLs and SELinux labels are not covered. Everything is calculated in your browser; nothing you type is uploaded.

Loading the calculator…

How to use Chmod Calculator

Type a mode in octal or as nine letters (an ls -l line works too) and add a file name for the commands. Use the presets for common cases.

How it works

Each class (owner, group, others) adds read = 4, write = 2 and execute = 1. A fourth leading digit sets setuid (4), setgid (2) and the sticky bit (1), shown as s, s and t in the symbolic form.

Example

755 is rwxr-xr-x: the owner can read, write and run the file; group and others can read and run it. 1777 adds the sticky bit (rwxrwxrwt).

Questions about Chmod Calculator

Is Chmod Calculator free, and do I need an account?

Yes. This tool is free to use in your browser without an account. Processing takes place on your device.

What are the limits and what should I check?

Standard Unix permission bits only; ACLs and SELinux labels are not covered. Everything is calculated in your browser; nothing you type is uploaded. Review the result before using it in your work.

Is my input sent to a server?

Your input is processed in your browser and is not uploaded by this tool. Files and pasted text are cleared when the page is refreshed. Normal website requests are still required to load the page and its libraries. Read the privacy explanation.