About Chmod Calculator
The Chmod Calculator converts Unix file permissions between three representations at once — a checkbox grid, symbolic notation (like `rwxr-xr-x`) and octal notation (like `755`) — so changing any one updates the other two instantly. It's the tool for anyone who can recognize `chmod 755` but doesn't want to mentally re-derive what each digit means every time.
It's used for figuring out the correct chmod command before running it on a server (getting file permissions wrong is a classic way to either lock yourself out or accidentally make something world-writable), understanding what a permissions string like `-rwxr-xr--` from an `ls -l` listing actually grants to the file's owner, group and everyone else, and teaching or learning how Unix permissions work by directly seeing how each checkbox maps to a bit in the octal value.
Unix permissions are organized into three groups — owner, group and others — each with three possible permissions: read, write and execute. Each permission maps to a bit value (read = 4, write = 2, execute = 1), and the three bits for a group sum into a single octal digit 0-7, which is why `755` breaks down as owner=7 (4+2+1, full access), group=5 (4+0+1, read and execute), others=5 (4+0+1, read and execute) — the single most common permission setting for scripts and executable files that need to run but shouldn't be edited by anyone else.
Symbolic notation writes the same information as three characters per group — r, w, x if the permission is granted, a dash if not — read left to right as owner, group, then others, so `rwxr-xr--` is immediately readable as 'owner: full access, group: read and execute, others: read only'. A handful of common presets (644 for a typical file, 755 for a typical script or directory, 600 for a private file only its owner can touch) are one click away for the settings that come up constantly. Everything computes instantly in your browser — there's no file involved, just the permission math.
How to Use the Chmod Calculator
- Toggle the read/write/execute checkboxes for owner, group and others — or click a preset.
- Watch the octal (e.g. 755) and symbolic (e.g. rwxr-xr-x) notations update instantly.
- Or type an octal value directly to set the checkboxes from it.
Features
- Checkboxes, octal and symbolic notation all stay in sync
- Common presets: 644, 755, 600, 700, 777 and more
- Editable octal input in addition to the checkbox grid
- Plain-language summary of what each group can do
Examples
Decoding a common script permission
Input
chmod 755
Output
rwxr-xr-x — owner: read, write, execute; group: read, execute; others: read, execute
Building 754 from checkboxes
Input
Owner: read+write+execute, Group: read+execute, Others: read
Output
chmod 754 — rwxr-xr--
A private, owner-only file
Input
chmod 600
Output
rw------- — owner: read, write; group: no access; others: no access
Frequently Asked Questions
Why does 755 mean 'read, write, execute for owner; read, execute for group and others'?
Each digit is a sum of read=4, write=2, execute=1 for one group (owner, group, others in that order). 7 = 4+2+1 (all three), 5 = 4+0+1 (read and execute, no write) — so 755 grants the owner everything and everyone else read/execute only.
What's a safe default for a new file versus a script?
644 (owner can read/write, everyone else can only read) is typical for regular files like documents or data. 755 (owner has full access, everyone else can read and execute but not modify) is typical for scripts, executables and directories that need to be run or entered by others but not edited by them.
Why should I avoid 777?
777 grants read, write and execute to everyone, including users with no legitimate reason to modify the file — it's rarely the correct permission for anything on a shared or internet-facing system, and is flagged by most security audits as an over-permissive setting even when nothing has gone wrong yet.
Is the chmod calculator free?
Yes, the chmod calculator is completely free with no usage limits. No signup, no account and no installation required.
Is my data safe?
Yes. All processing happens locally in your browser using JavaScript — nothing you type is uploaded or stored on our servers.
Related Tools
Bcrypt Hash Generator / Verifier
Hash a password with bcrypt or verify a password against an existing bcrypt hash. Free online bcrypt tool, computed entirely client-side.
File Size Converter
Convert file sizes between bits, bytes, KB, MB, GB, TB and their binary KiB/MiB/GiB equivalents. Understand why your 1 TB drive shows 931 GiB.
Binary/Hex/Decimal Converter
Convert numbers between binary, octal, decimal and hexadecimal instantly — with support for huge integers and 0x/0b prefixes.
Hash Generator
Generate SHA-256, SHA-384, SHA-512 and SHA-1 hashes from text using the Web Crypto API. Fast, free and fully client-side.
URL Parser / Query String Splitter
Break a URL into its protocol, host, path, hash and individual query parameters. Free online URL parser, runs entirely client-side.
User-Agent Parser
Parse a User-Agent string into browser, engine, OS and device details instantly. Free online User-Agent parser and analyzer.