Unix Permission Converter
Convert between symbolic (rwxr-xr-x) and octal (755) permission notation — with a full per-audience breakdown.
Tool input is processed locally in your browser and is not submitted to CodeNimbleTools. Avoid pasting production secrets into any device or website you do not fully trust.
Type either form above — it converts both ways automatically with a full breakdown.
About this tool
ls -l shows rwxr-xr-x; chmod wants 755. This converter translates both directions automatically — type either form and get the other, plus a table explaining exactly what owner, group and others may do.
Special-bit letters (s, S, t, T) are fully supported, so 4-digit octals like 2775 round-trip correctly.
How to use it
- Type a symbolic string (with or without the leading file-type character) or an octal number.
- The converter detects the format and translates instantly.
- Read the per-audience breakdown table.
- Copy the equivalent
chmodcommand.
Useful ways to apply it
- Decoding ls -l output into a chmod-able number.
- Verifying what 2755 or 4755 actually mean before applying them.
- Teaching the relationship between the two notations.
- Auditing permissions listed in deployment docs.
Worked example
Example input
rwxr-xr-x
Expected output
755
Edge cases to check
- Special permission characters s/S/t/T require extra interpretation.
- ACLs can grant access not visible in the basic mode string.
Known limitations
Traditional mode bits are only part of a Unix permission decision; ownership and ACLs still matter.
How this tool was reviewed
Reviewed with symbolic and octal modes plus special-bit warnings.
Standards and technical references
See the site-wide testing methodology for fixture categories, privacy checks and correction policy.
Frequently asked questions
What's the difference between s and S?
Can I paste ls -l output directly?
Why does my 4-digit octal show letters in the symbolic form?
Privacy
Tool input is processed locally in your browser and is not submitted to CodeNimbleTools. Avoid pasting production secrets into any device or website you do not fully trust.