chmod Calculator
Calculate and convert Unix file permission modes between octal and symbolic.
Reviewed by ZeroUtil Editorial Team · Last reviewed
Runs 100% in your browser - your data never leaves your device
How to Use the chmod Calculator
- Enter an octal code (such as 755 or 4755) in the Octal Permission Code field. The symbolic string updates instantly.
- Or enter a symbolic string (such as rwxr-xr-x) in the Symbolic Permission String field. The octal code updates instantly.
- Read the description below the fields to see a plain-English summary of the permission (Owner, Group, Other).
What This Tool Does
The chmod Calculator converts Unix file permission modes bidirectionally between octal notation (e.g. 755) and symbolic notation (e.g. rwxr-xr-x). It handles all nine rwx bits for owner, group, and other, as well as the three special bits: setuid (4000), setgid (2000), and sticky (1000). Conversion is pure client-side JavaScript with no server calls.
Common Permission Modes
- 644 (rw-r--r--) - the default for regular files: owner edits, everyone else reads. Right for web assets, configs, and source files.
- 755 (rwxr-xr-x) - the default for directories and executables: owner has full control, everyone can enter the directory or run the program.
- 600 (rw-------) - private files such as SSH private keys and .env files. OpenSSH refuses keys that are more permissive than this.
- 700 (rwx------) - private directories like ~/.ssh itself.
- 664 / 775 - group-writable variants used on shared deploy directories where a team group needs write access.
Gotchas Worth Knowing
Octal modes are position-sensitive: 4755 and 755 differ by the setuid bit, which makes an executable run as its owner - a security-relevant change you should make deliberately, never by copy-paste. A capital S or T in symbolic output means the special bit is set but the matching execute bit is not, which is usually a mistake. Directories need the execute bit to be entered at all; a directory at 644 is readable in listings but cannot be opened. And chmod -R 777 is almost never the fix - it silences permission errors by making every file world-writable, which most web servers and SSH explicitly flag as insecure.
Frequently Asked Questions
What does chmod 755 mean?
chmod 755 sets owner read, write, and execute; group read and execute; other read and execute. In symbolic form this is rwxr-xr-x. It is common for directories and executables that should be world-readable but only owner-writable.
What are the setuid, setgid, and sticky bits?
These are the three high bits (4000, 2000, 1000). Setuid (4000) on an executable runs it as the file owner; setgid (2000) runs it as the group owner; sticky (1000) on a directory prevents users from deleting files they do not own, as used on /tmp. In symbolic notation, setuid replaces the owner execute slot with s (or S when execute is not set), setgid replaces the group execute slot, and sticky replaces the other execute slot with t or T.
Is anything sent to a server?
No. All conversion runs entirely in your browser with no network requests. Your permission strings never leave the tab.
Related tools
- JWT Decoder
Decode and inspect JWT tokens — header, payload and claims.
- Hash Generator
Generate SHA-1, SHA-256, SHA-384 and SHA-512 hashes from text.
- Base64 Encoder & Decoder
Encode UTF-8 text to Base64 online or decode Base64 back to UTF-8 and plain text. Runs in your browser with no upload.
- Cron Expression Parser
Parse cron expressions into human-readable schedules with next run times.
- Number Base Converter
Convert numbers between binary, octal, decimal and hexadecimal.
More Developer Tools
AI Token Counter
Count tokens for GPT-4o, Claude, and Gemini models instantly.
Open toolBase64 Encoder & Decoder
Encode UTF-8 text to Base64 online or decode Base64 back to UTF-8 and plain text. Runs in your browser with no upload.
Open toolBulk URL Encode / Decode
Encode or decode many URLs at once. Paste a newline-separated list and the tool processes each line in parallel, preserving order and blank lines.
Open toolCode Screenshot
Create beautiful code snippet images with customizable themes.
Open toolColor Converter
Convert colors between HEX, RGB, HSL and CMYK formats.
Open toolCron Expression Parser
Parse cron expressions into human-readable schedules with next run times.
Open tool