chmod Calculator
Calculate and convert Unix file permission modes between octal and symbolic.
Reviewed by Aygul Dovletova · Last reviewed
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.
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.
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