Chmod Calculator (Linux Permissions)
Convert Linux file permissions between octal (755) and symbolic (rwxr-xr-x) notation and see exactly who can read, write and execute.
Runs on your device
Result
Results appear here as you type.
What it does
Each digit is the sum of read (4), write (2) and execute (1) for owner, group and others. Type either form to get the other plus a permission table.
How to use it
- Type octal (644) or symbolic (rw-r--r--).
- Read the permissions for each class.
- Copy the chmod command.
Example
The example fills in realistic values and runs the tool. Select Try an example above to see it.
When it helps
- Fixing "permission denied" on servers.
- Setting correct permissions on shared hosting.
- Linux coursework.
Questions
What should web files use?
Typically 644 for files and 755 for folders on shared hosting. Never use 777.
What about the leading digit like 4755?
Special bits (setuid, setgid, sticky) are accepted but only the last three digits are explained.
More developer tools
See all 25- SQL Formatter Beautify messy SQL queries with consistent indentation and keyword case for MySQL, PostgreSQL, SQL Server, SQLite and more.
- CSS & JavaScript Minifier Minify JavaScript with Terser and CSS with a safe whitespace and comment remover, and see how many bytes and percent you save.
- CSS Gradient Generator Build linear and radial CSS gradients from up to five colours, preview them, and copy ready to use CSS for backgrounds and buttons.
- HTTP Status Code Lookup Look up what any HTTP status code means, from 200 OK and 301 redirects to 404, 429 and 503, with practical notes for debugging.
- User Agent Parser Parse a browser user agent string into browser, version, operating system, rendering engine and device type. Shows your own by default.
- XML Formatter & Validator Pretty print and validate XML for sitemaps, RSS feeds, SOAP and config files, with clear well formedness errors. Parsed safely, never executed.
People also use
Browse all 200 tools- Series & Parallel Resistor, Capacitor & Inductor Calculator Find the equivalent series and parallel value of any number of resistors, capacitors or inductors, with SI prefix input and output. Electrical & engineering
- Online Tally Counter A big, simple click counter for counting people, laps, stitches or anything else. Count up and down with keys, run several counters at once. Quick utilities
- Debt Snowball & Avalanche Calculator Plan how to pay off several debts faster using the snowball (smallest balance first) or avalanche (highest interest first) method, with payoff dates. Personal finance
- .htaccess Redirect Generator Generate Apache .htaccess rules for 301 or 302 page redirects, forcing HTTPS and adding or removing www, for cPanel and Hostinger hosting. SEO