Chmod Calculator - Unix File Permissions Calculator

Interactive Unix file permissions calculator. Checkbox grid, numeric and symbolic notation. Common presets included. Free.

100% FreeNumeric and SymbolicPresets
Read (4)
Write (2)
Execute (1)
Owner
Group
Other
640
Numeric
640
Symbolic
rw-r-----
Binary
110 100 000
Linux command: chmod 640 file
Numeric and symbolic notation
Click checkboxes to set permissions

What Is a Chmod Calculator

A chmod calculator translates Linux file permissions between the numeric form (like 755) and the symbolic form (like rwxr-xr-x) so you never have to do the mental math. It is a must-have for anyone managing a server, deploying a website, or learning Unix. Our free calculator also outputs the exact chmod command to copy into your terminal.

How to Use the Chmod Calculator (Step by Step)

1. Tick the permission boxes

For owner, group, and others, check Read (4), Write (2), and Execute (1) as needed. The numeric, symbolic, binary, and command fields update live.

2. Use a preset

Short on time? Click 644, 755, 777, 600, 700, 775, 666, or 400 to apply a common pattern instantly.

3. Copy the command

The "Linux command" line shows chmod 640 file (or your chosen value). Paste it into your shell to apply the permission.

Numeric vs Symbolic Notation

Each level is a sum: Read=4, Write=2, Execute=1. Owner, group, and other each get one digit. Symbolic notation spells it out as rwx per level. Both mean the same thing — the calculator keeps them in sync so you can read either form. Pair it with the Base64 tool or JSON formatter when preparing config snippets.

Security Best Practices

Default to the principle of least privilege: give a file only the access it needs. Use 644 for files and 755 for directories, reserve 600/700 for secrets, and avoid 777 in production. If you manage timestamps alongside permissions, the Unix timestamp converter helps when reading logs.

chmod in Web and DevOps Workflows

When you upload a site, correct permissions keep it both reachable and safe. After setting them, you can compress assets with the SVG compressor or convert artwork with the PNG to SVG converter.

Privacy

The calculator runs entirely in your browser. Nothing you type is sent to a server, so permission planning stays local.

Frequently Asked Questions

What is chmod?

chmod is the Unix and Linux command that changes file and directory permissions, controlling who can read, write, and execute them. Our calculator shows the result before you run anything.

What is the difference between numeric and symbolic permissions?

Numeric notation uses digits (e.g. 755); symbolic notation uses letters like rwxr-xr-x. They describe the same thing — the calculator converts between them instantly.

How do I read a permission like 755?

Read it in three groups: owner (7 = rwx), group (5 = r-x), others (5 = r-x). So 755 means the owner can do everything, while group and others can read and execute.

What do 644, 755, and 777 mean?

644 is a standard file (owner read/write, others read). 755 is a standard directory or executable script (others can also execute). 777 grants full access to everyone and is rarely advisable.

When should I use 644 vs 755?

Use 644 for normal files (HTML, images, configs). Use 755 for directories and scripts that need to be run. This is the safe default for most web projects.

Is 777 ever safe to use?

Almost never. 777 lets any user read, modify, and execute the file, which is a security risk. Prefer 644 for files and 755 for folders; reach for 777 only in a throwaway sandbox.

What are special permissions (setuid, setgid, sticky bit)?

Beyond read/write/execute there are special bits: setuid and setgid run a file with the owner's privileges, and the sticky bit (commonly 1777 on /tmp) restricts file deletion. The basic calculator covers the standard rwx triplet.

How do I apply permissions with the chmod command?

Run chmod 640 file to set numeric permissions, or chmod u+rw,go=r file for symbolic. The tool prints the exact command for whatever you select.

What is the difference between chmod and chown?

chmod changes permission (rwx); chown changes ownership (which user or group owns the file). You usually set ownership once and tune permissions with chmod afterward.

Related SVG Workflows

Base64 Encoder/Decoder Encode & decode Base64 text and images JSON Formatter Online Format, beautify, validate JSON Color Picker Online Convert HEX, RGB, HSL, CMYK SVG Editor Online Draw and edit SVG graphics SVG Code Editor Edit and preview SVG source code SVG Gradient Generator Generate SVG gradient code Unix Timestamp Converter Convert epoch time to date URL Encoder/Decoder Encode and decode URLs SVG Compressor Shrink SVG file size up to 80% Convert PNG to SVG on Mac PNG to SVG on Mac & Windows PNG to SVG Online
Copied!