Chmod Calculator Online Free
Calculate chmod permissions online using numeric or symbolic values. Build Linux file permission settings and generate the corresponding chmod command quickly.
Tool Interface
| Who | Read (4) | Write (2) | Execute (1) | Octal |
|---|---|---|---|---|
| Owner | 0 | |||
| Group | 0 | |||
| Other | 0 |
chmod 755 filename
chmod u=rwx,g=rx,o=rx filename
- Owner / Group / Other are the three permission sets every Unix file has — the file's owner, everyone in its group, and everyone else on the system.
- Read (4), Write (2), Execute (1) add up to make each octal digit — e.g. read + execute = 4 + 1 = 5.
- 755 (rwxr-xr-x) is typical for scripts and directories: owner has full control, everyone else can read/use it but not modify it.
- 644 (rw-r--r--) is typical for regular files: owner can edit, everyone else can only read.
- Setuid/setgid make a program run with the permissions of its owner/group rather than the user running it — powerful and rarely needed outside specific system tools.
- Sticky bit on a directory means only a file's owner (or root) can delete or rename it, even if others can write to the directory — used on shared folders like
/tmp.
Rate this tool
About This Tool
Related guide: chmod 755 vs 644 Explained — learn which permission set to use and when.
Chmod Calculator – Calculate Linux File Permissions Online
Linux and Unix systems control who can read, write, and execute files through file permissions — but turning “owner can read and write, group can read” into a number like 644 isn’t always intuitive. The Chmod Calculator from Trencada does the math for you: tick the boxes for Owner, Group, and Other — or type an octal or symbolic value — and instantly see the numeric code, the symbolic string, and a ready-to-run chmod command.
Whether you’re deploying a website, managing a server over SSH, fixing WordPress file permissions, or learning Unix for the first time, this free tool gives you the exact command in seconds — no signup required.
How to Use the Chmod Calculator
- Select the permissions. Tick the Read (4), Write (2), and Execute (1) boxes in the grid for Owner, Group, and Other. You can also enable the special bits: Setuid (4000), Setgid (2000), and Sticky Bit (1000).
- Or type a value directly. Enter an octal number (e.g.
755) in the Octal box, type a symbolic string (e.g.rwxr-xr-x) in the Symbolic box, or click one of the one-click presets (755, 644, 700, 600, 750, 664, 400, 777). - Review the results. The calculator shows the numeric value, the symbolic representation, and a plain-English explanation of who can do what. A security warning appears automatically if you grant write access to “Other”.
- Copy the command. Enter your filename, then copy the generated command in numeric form (
chmod 755 filename) or symbolic form (chmod u=rwx,g=rx,o=rx filename) — and paste it into your terminal or SSH session.
Key Features
Interactive permission grid
Set Read, Write, and Execute for Owner, Group, and Other with a single click per box — no mental math required.
Special permission bits
Add setuid, setgid, and the sticky bit, with automatic 4-digit octal values (e.g. 4755) and correct symbolic output (e.g. rwsr-xr-x).
Two-way octal ⇄ symbolic conversion
Type 644 and get rw-r--r-- — or type a symbolic string and get the number back. Conversion works instantly in both directions.
One-click presets
Jump straight to the most common values: 755, 644, 700, 600, 750, 664, 400, or 777.
Ready-to-run chmod commands
Get the command in both numeric and symbolic notation with one-click copy buttons — just add your filename and run it.
Plain-English explanations
A live summary tells you exactly who can read, write, and execute the file, including notes about any special bits.
Security warnings
The calculator warns you when permissions are risky — for example, giving “Other” write access or using 777 — so you don’t accidentally expose your files.
Built-in permission reference
Expand the “How chmod Permissions Work” panel anytime for a quick refresher on what each value means.
Why Choose Trencada?
Trencada’s Chmod Calculator is 100% client-side: the tool’s code contains no network requests, no external APIs, and no tracking — every calculation happens on your own device, so nothing you type ever leaves your browser. It’s free, needs no signup, and works smoothly on desktop and mobile. From first-time VPS owners to seasoned system administrators, anyone who touches a Linux terminal gets the right command in seconds with Trencada.
Related Developer Tools
If you work with Linux, servers, or development files, these Trencada tools may also help:
- Cron Expression Generator – create and understand recurring cron schedules.
- JSON Formatter – format and validate JSON data.
- YAML to JSON Converter – convert YAML configuration files into JSON.
- JSON to CSV Converter – convert structured JSON into spreadsheet-friendly CSV.
- Base64 Encoder and Decoder – encode or decode Base64 data.
- URL Encoder and Decoder – encode and decode URL components safely.
- Hash Generator – generate MD5, SHA-1, SHA-256, and SHA-512 hashes.
Frequently Asked Questions
A chmod calculator converts selected Linux file permissions into the corresponding chmod number, symbolic representation, and command.
The numbers represent permission combinations. Read is 4, write is 2, and execute is 1. Adding the values for each category produces a digit from 0 to 7.
755 commonly represents rwxr-xr-x. The owner can read, write, and execute, while the group and others can read and execute. It is often used for scripts and directories.
644 commonly represents rw-r--r--. The owner can read and write, while the group and others can only read. It is a common setting for regular files.
777 represents rwxrwxrwx, giving read, write, and execute permissions to everyone. Because this allows any user to modify the file, it is generally unsafe for production use.
600 commonly represents rw-------. The owner can read and write, while no other users have any permissions. It is often used for sensitive files such as SSH private keys.
700 commonly represents rwx------. The owner has full permissions while no one else has any access. It is commonly used for private directories and scripts.
r means read, w means write, and x means execute. These are the three basic permissions that can be assigned to each user category.
Yes. chmod can change permissions on both files and directories. Directory permissions affect the ability to list, create, and access files within them.
Assign values of 4 for read, 2 for write, and 1 for execute. Add the required values for the owner, group, and others separately. The Chmod Calculator performs this calculation automatically.
Chmod is primarily associated with Unix and Unix-like operating systems such as Linux and macOS. Windows uses a different permission model, though similar functionality exists through WSL or Cygwin environments.
You can use it to calculate permission values, but the correct permissions depend on your specific hosting configuration. Always follow your host’s recommendations for WordPress file permissions.
Yes. The Chmod Calculator on Trencada is free to use — calculate as many Linux and Unix file permission values as you need, with no signup required.
No. The Chmod Calculator runs entirely in your browser: the tool’s code makes no network requests and calls no external APIs, so every calculation happens on your device and nothing you enter ever leaves it.
These are special permission bits. Setuid makes a program run with the privileges of its owner, setgid runs it with the privileges of its group, and the sticky bit on a directory means only a file’s owner (or root) can delete or rename it. The calculator supports all three and shows 4-digit octal values such as 4755 when they are enabled.